STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
app_ethernet.h
Go to the documentation of this file.
1 
48 /* Define to prevent recursive inclusion -------------------------------------*/
49 #ifndef __APP_ETHERNET_H
50 #define __APP_ETHERNET_H
51 
52 #ifdef __cplusplus
53  extern "C" {
54 #endif
55 
56 /* Includes ------------------------------------------------------------------*/
57 #include "lwip/netif.h"
58 
59 /* Exported types ------------------------------------------------------------*/
60 /* Exported constants --------------------------------------------------------*/
61 /* DHCP process states */
62 #define DHCP_START (uint8_t) 1
63 #define DHCP_WAIT_ADDRESS (uint8_t) 2
64 #define DHCP_ADDRESS_ASSIGNED (uint8_t) 3
65 #define DHCP_TIMEOUT (uint8_t) 4
66 #define DHCP_LINK_DOWN (uint8_t) 5
67 
68 /* Exported macro ------------------------------------------------------------*/
69 /* Exported functions ------------------------------------------------------- */
70 void User_notification(struct netif *netif);
71 #ifdef USE_DHCP
72 void DHCP_thread(void const * argument);
73 #endif
74 
75 #ifdef __cplusplus
76 }
77 #endif
78 
79 #endif /* __APP_ETHERNET_H */
80 
81 
82 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
83 
Definition: netif.h:182
void User_notification(struct netif *netif)
Notify the User about the network interface config status.
Definition: app_ethernet.c:72