1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- #ifndef __NETCONF_H
- #define __NETCONF_H
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- #include "stm32f4xx.h"
- #include <stdbool.h>
-
- typedef enum
- {
- DHCP_START=0,
- DHCP_WAIT_ADDRESS,
- DHCP_ADDRESS_ASSIGNED,
- DHCP_TIMEOUT
- }
- DHCP_State_TypeDef;
- void LwIP_Init(void);
- void LwIP_DHCP_task(void * pvParameters);
- void init_get_ip_address_controller(void);
- #ifdef __cplusplus
- }
- #endif
- #endif
|