Prusa MINI Firmware overview
dlg_result.h
Go to the documentation of this file.
1 // dlg_result.h
2 
3 #ifndef _DLG_RESULT_H
4 #define _DLG_RESULT_H
5 
6 #pragma pack(push)
7 #pragma pack(1)
8 
9 typedef enum {
12  //DLG_ERROR
13 } dlg_result_t;
14 
15 #pragma pack(pop)
16 
17 #endif //_DLG_RESULT_H
PBUF_POOL
Definition: pbuf.h:123
fatfs.h
Header for fatfs applications.
OTP_MAC_ADDRESS_ADDR
#define OTP_MAC_ADDRESS_ADDR
Definition: otp.h:18
PHY_ISFR_INT4
#define PHY_ISFR_INT4
Definition: stm32f4xx_hal_conf.h:230
GPIO_MODE_AF_PP
#define GPIO_MODE_AF_PP
Definition: stm32f4xx_hal_gpio.h:138
FIL
Definition: ff.h:155
fs_file::pextension
void * pextension
Definition: fs.h:60
opt.h
TCHAR
char TCHAR
Definition: ff.h:62
pbuf::len
u16_t len
Definition: pbuf.h:159
fs_file::len
int len
Definition: fs.h:58
task.h
PHY_BCR
#define PHY_BCR
Definition: stm32f4xx_hal_conf.h:205
auto_build.error
bool error
Definition: auto_build.py:637
osThreadDef
#define osThreadDef(name, thread, priority, instances, stacksz)
Definition: cmsis_os.h:468
HAL_OK
Definition: stm32f4xx_hal_def.h:57
ipaddr
ip4_addr_t ipaddr
Definition: lwip.c:73
ethernetif_update_config
void ethernetif_update_config(struct netif *netif)
LWIP_ASSERT
#define LWIP_ASSERT(message, assertion)
Definition: debug.h:116
fs.h
PHY_SR
#define PHY_SR
Definition: stm32f4xx_hal_conf.h:224
PBUF_RAW
Definition: pbuf.h:94
RESET
#define RESET
Definition: dac_mcp4728.h:34
osSemaphore
#define osSemaphore(name)
Definition: cmsis_os.h:709
osSemaphoreWait
int32_t osSemaphoreWait(osSemaphoreId semaphore_id, uint32_t millisec)
Wait until a Semaphore token becomes available.
Definition: cmsis_os.c:822
GPIO_InitTypeDef::Mode
uint32_t Mode
Definition: stm32f4xx_hal_gpio.h:68
FATFS_LinkDriver
uint8_t FATFS_LinkDriver(const Diskio_drvTypeDef *drv, char *path)
Links a compatible diskio driver and increments the number of active linked drivers.
Definition: ff_gen_drv.c:98
FS_READ_EOF
#define FS_READ_EOF
Definition: fs.h:42
GPIO_PIN_13
#define GPIO_PIN_13
Definition: stm32f4xx_hal_gpio.h:115
GPIO_PIN_7
#define GPIO_PIN_7
Definition: stm32f4xx_hal_gpio.h:109
netifapi.h
ethernetif_notify_conn_changed
void ethernetif_notify_conn_changed(struct netif *netif)
netif::input
netif_input_fn input
Definition: netif.h:244
GPIO_PIN_2
#define GPIO_PIN_2
Definition: stm32f4xx_hal_gpio.h:104
ethernetif_init
err_t ethernetif_init(struct netif *netif)
Definition: ethernetif.c:560
f_open
FRESULT f_open(FIL *fp, const TCHAR *path, BYTE mode)
Definition: ff.c:3296
NETIF_FLAG_ETHARP
#define NETIF_FLAG_ETHARP
Definition: netif.h:91
fs_close_custom
void fs_close_custom(struct fs_file *file)
Definition: fs_custom.c:32
netif::hwaddr
u8_t hwaddr[NETIF_MAX_HWADDR_LEN]
Definition: netif.h:303
GPIO_InitTypeDef::Alternate
uint32_t Alternate
Definition: stm32f4xx_hal_gpio.h:77
u32_t
uint32_t u32_t
Definition: arch.h:123
i
uint8_t i
Definition: screen_test_graph.c:72
pbuf::next
struct pbuf * next
Definition: pbuf.h:144
fs_file
Definition: fs.h:56
HAL_ETH_MspDeInit
void HAL_ETH_MspDeInit(ETH_HandleTypeDef *ethHandle)
Definition: ethernetif.c:166
GPIO_InitTypeDef::Pull
uint32_t Pull
Definition: stm32f4xx_hal_gpio.h:71
pbuf_free
u8_t pbuf_free(struct pbuf *p)
Definition: pbuf.c:715
webFile
static FIL webFile
Definition: fs_custom.c:10
netif::mtu
u16_t mtu
Definition: netif.h:299
FSIZE_t
DWORD FSIZE_t
Definition: ff.h:78
HAL_GPIO_DeInit
void HAL_GPIO_DeInit(GPIO_TypeDef *GPIOx, uint32_t GPIO_Pin)
USED
#define USED
Definition: freertos_openocd.c:17
__ALIGN_END
__ALIGN_BEGIN ETH_DMADescTypeDef DMARxDscrTab[ETH_RXBUFNB] __ALIGN_END
Definition: ethernetif.c:84
netif::flags
u8_t flags
Definition: netif.h:305
heth
ETH_HandleTypeDef heth
Definition: ethernetif.c:108
TIME_WAITING_FOR_INPUT
#define TIME_WAITING_FOR_INPUT
Definition: ethernetif.c:69
NULL
#define NULL
Definition: usbd_def.h:53
netif::linkoutput
netif_linkoutput_fn linkoutput
Definition: netif.h:255
ETH_TX_BUF_SIZE
#define ETH_TX_BUF_SIZE
Definition: stm32f4xx_hal_conf.h:187
PHY_LINKED_STATUS
#define PHY_LINKED_STATUS
Definition: stm32f4xx_hal_conf.h:220
osDelay
osStatus osDelay(uint32_t millisec)
Wait for Timeout (Time Delay)
Definition: cmsis_os.c:365
HAL_GetTick
uint32_t HAL_GetTick(void)
Provides a tick value in millisecond.
Definition: stm32f4xx_hal.c:339
HAL_StatusTypeDef
HAL_StatusTypeDef
HAL Status structures definition.
Definition: stm32f4xx_hal_def.h:55
osSemaphoreId
SemaphoreHandle_t osSemaphoreId
Definition: cmsis_os.h:295
INTERFACE_THREAD_STACK_SIZE
#define INTERFACE_THREAD_STACK_SIZE
Definition: ethernetif.c:71
sys_now
u32_t sys_now(void)
Returns the current time in milliseconds when LWIP_TIMERS == 1 and NO_SYS == 1.
Definition: ethernetif.c:616
osSemaphoreCreate
osSemaphoreId osSemaphoreCreate(const osSemaphoreDef_t *semaphore_def, int32_t count)
Create and Initialize a Semaphore object used for managing resources.
Definition: cmsis_os.c:755
osSemaphoreDef
#define osSemaphoreDef(name)
Definition: cmsis_os.h:700
PHY_DUPLEX_STATUS
#define PHY_DUPLEX_STATUS
Definition: stm32f4xx_hal_conf.h:227
etharp.h
netif_is_link_up
#define netif_is_link_up(netif)
Definition: netif.h:413
pbuf_alloc
struct pbuf * pbuf_alloc(pbuf_layer layer, u16_t length, pbuf_type type)
Definition: pbuf.c:248
assert_param
#define assert_param(expr)
Include module's header file.
Definition: stm32f4xx_hal_conf.h:444
FATFS
Definition: ff.h:85
FA_READ
#define FA_READ
Definition: ff.h:326
fs_open_custom
int fs_open_custom(struct fs_file *file, const char *name)
Definition: fs_custom.c:13
DLG_ABORTED
Definition: dlg_result.h:11
GPIO_PIN_12
#define GPIO_PIN_12
Definition: stm32f4xx_hal_gpio.h:114
PHY_AUTONEGO_COMPLETE
#define PHY_AUTONEGO_COMPLETE
Definition: stm32f4xx_hal_conf.h:219
osOK
function completed; no error or event occurred.
Definition: cmsis_os.h:235
ETH_TXBUFNB
#define ETH_TXBUFNB
Definition: stm32f4xx_hal_conf.h:189
low_level_output_arp_off
static err_t low_level_output_arp_off(struct netif *netif, struct pbuf *q, const ip4_addr_t *ipaddr)
Definition: ethernetif.c:536
f_size
#define f_size(fp)
Definition: ff.h:280
USBHFatFS
FATFS USBHFatFS
Definition: fatfs.c:53
configMAX_PRIORITIES
#define configMAX_PRIORITIES
Definition: FreeRTOSConfig.h:110
ETH_RXBUFNB
#define ETH_RXBUFNB
Definition: stm32f4xx_hal_conf.h:188
netif
Definition: netif.h:225
netif::hwaddr_len
u8_t hwaddr_len
Definition: netif.h:301
USBHFile
FIL USBHFile
Definition: fatfs.c:54
HAL_GPIO_Init
void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init)
fs_file::index
int index
Definition: fs.h:59
GPIO_PIN_1
#define GPIO_PIN_1
Definition: stm32f4xx_hal_gpio.h:103
HAL_NVIC_SetPriority
void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority)
netif::name
char name[2]
Definition: netif.h:307
GPIO_NOPULL
#define GPIO_NOPULL
Definition: stm32f4xx_hal_gpio.h:170
IFNAME1
#define IFNAME1
Definition: ethernetif.c:74
fs_file::data
const char * data
Definition: fs.h:57
ff.h
if
if(size<=((png_alloc_size_t) -1) - ob)
Definition: pngwrite.c:2176
GPIO_SPEED_FREQ_VERY_HIGH
#define GPIO_SPEED_FREQ_VERY_HIGH
Definition: stm32f4xx_hal_gpio.h:161
ethernetif_input
void ethernetif_input(void const *argument)
Definition: ethernetif.c:511
ethip6.h
s_xSemaphore
osSemaphoreId s_xSemaphore
Definition: ethernetif.c:106
LAN8742A_PHY_ADDRESS
#define LAN8742A_PHY_ADDRESS
Definition: stm32f4xx_hal_conf.h:194
HAL_ETH_MspInit
void HAL_ETH_MspInit(ETH_HandleTypeDef *ethHandle)
Definition: ethernetif.c:116
low_level_init
static void low_level_init(struct netif *netif)
Definition: ethernetif.c:243
FreeRTOS.h
dlg_result_t
dlg_result_t
Definition: dlg_result.h:9
uint8_t
const uint8_t[]
Definition: 404_html.c:3
osPriorityRealtime
priority: realtime (highest)
Definition: cmsis_os.h:224
DLG_OK
Definition: dlg_result.h:10
low_level_input
static struct pbuf * low_level_input(struct netif *netif)
Definition: ethernetif.c:430
f_eof
#define f_eof(fp)
Definition: ff.h:277
ERR_OK
Definition: err.h:63
HAL_NVIC_EnableIRQ
void HAL_NVIC_EnableIRQ(IRQn_Type IRQn)
err_t
s8_t err_t
Definition: err.h:57
ethernetif.h
IFNAME0
#define IFNAME0
Definition: ethernetif.c:73
DWORD
unsigned long DWORD
Definition: onboard_sd.h:15
FRESULT
FRESULT
Definition: ff.h:214
otp.h
GPIO_PIN_5
#define GPIO_PIN_5
Definition: stm32f4xx_hal_gpio.h:107
PHY_SPEED_STATUS
#define PHY_SPEED_STATUS
Definition: stm32f4xx_hal_conf.h:226
osPriorityLow
priority: low
Definition: cmsis_os.h:219
retUSBH
uint8_t retUSBH
Definition: fatfs.c:51
PHY_ISFR
#define PHY_ISFR
Definition: stm32f4xx_hal_conf.h:229
main.h
: Header for main.c file. This file contains the common defines of the application.
ethernet.h
FR_OK
Definition: ff.h:215
GPIO_InitTypeDef::Pin
uint32_t Pin
Definition: stm32f4xx_hal_gpio.h:65
GPIO_InitTypeDef::Speed
uint32_t Speed
Definition: stm32f4xx_hal_gpio.h:74
HAL_NVIC_DisableIRQ
void HAL_NVIC_DisableIRQ(IRQn_Type IRQn)
NETIF_FLAG_LINK_UP
#define NETIF_FLAG_LINK_UP
Definition: netif.h:87
fs_read_custom
int fs_read_custom(struct fs_file *file, char *buffer, int count)
Definition: fs_custom.c:37
PHY_BSR
#define PHY_BSR
Definition: stm32f4xx_hal_conf.h:206
MX_FATFS_Init
void MX_FATFS_Init(void)
Definition: fatfs.c:60
uxTopUsedPriority
const int USED uxTopUsedPriority
Definition: freertos_openocd.c:20
ERR_USE
Definition: err.h:79
timeouts.h
ETH_HWADDR_LEN
#define ETH_HWADDR_LEN
Definition: ethernet.h:50
GPIO_PIN_11
#define GPIO_PIN_11
Definition: stm32f4xx_hal_gpio.h:113
ethernetif_link
void ethernetif_link(const void *arg)
Definition: ethernetif.c:210
PHY_AUTONEGOTIATION
#define PHY_AUTONEGOTIATION
Definition: stm32f4xx_hal_conf.h:214
pbuf
Definition: pbuf.h:142
cmsis_os.h
Header of cmsis_os.c A new set of APIs are added in addition to existing ones, these APIs are specifi...
HAL_ETH_RxCpltCallback
void HAL_ETH_RxCpltCallback(ETH_HandleTypeDef *heth)
Ethernet Rx Transfer completed callback.
Definition: ethernetif.c:205
ETH_RX_BUF_SIZE
#define ETH_RX_BUF_SIZE
Definition: stm32f4xx_hal_conf.h:186
low_level_output
static err_t low_level_output(struct netif *netif, struct pbuf *p)
Definition: ethernetif.c:352
f_read
FRESULT f_read(FIL *fp, void *buff, UINT btr, UINT *br)
Definition: ff.c:3499
f_close
FRESULT f_close(FIL *fp)
Definition: ff.c:3801
osThreadCreate
osThreadId osThreadCreate(const osThreadDef_t *thread_def, void *argument)
Create a thread and add it to Active Threads and set it to state READY.
Definition: cmsis_os.c:245
USBH_Driver
const Diskio_drvTypeDef USBH_Driver
Definition: usbh_diskio.c:77
GPIO_InitTypeDef
GPIO Init structure definition.
Definition: stm32f4xx_hal_gpio.h:63
USBHPath
char USBHPath[4]
Definition: fatfs.c:52
get_fattime
DWORD get_fattime(void)
Gets Time from RTC.
Definition: fatfs.c:74
pbuf::payload
void * payload
Definition: pbuf.h:147
osSemaphoreRelease
osStatus osSemaphoreRelease(osSemaphoreId semaphore_id)
Release a Semaphore token.
Definition: cmsis_os.c:862
osThread
#define osThread(name)
Definition: cmsis_os.h:478
sys_jiffies
u32_t sys_jiffies(void)
Returns the current time in milliseconds when LWIP_TIMERS == 1 and NO_SYS == 1.
Definition: ethernetif.c:606
NETIF_FLAG_BROADCAST
#define NETIF_FLAG_BROADCAST
Definition: netif.h:81
GPIO_PIN_4
#define GPIO_PIN_4
Definition: stm32f4xx_hal_gpio.h:106