12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- #ifndef __MAIN_H
- #define __MAIN_H
- #ifdef __cplusplus
- extern "C" {
- #endif
- #include "stm32f4xx.h"
- #include "stm32f4x7_eth_bsp.h"
- #include "common_config.h"
-
- #ifdef USART_DEBUG_ENABLE
- #define PRINT_USART(x) printf(x)
- #else
- #define PRINT_USART(x)
- #endif
-
- #define RMII_MODE
- typedef void (*pFunction)(void);
-
-
- void Time_Update(void);
- void Delay(uint32_t nCount);
- void Error_Handler(void);
- #ifdef __cplusplus
- }
- #endif
- #endif
|