1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- #ifndef __BSP_H__
- #define __BSP_H__
- #include "stm32f10x.h"
- #include "TIM1_CAP.h"
- #include "UART_ARM.h"
- #include "TIM6_1MS.h"
- #include "GPIO_LED.h"
- #include "WDG.h"
- #include "GPIO_SYS.h"
- #include "GPIO_FM1288.h"
- #include "GPIO_KEY.h"
- #include "app_def.h"
- #define OS_TICKS_PER_SEC (1000)
- #define OS_TIMER_5MS (5)
- #define OS_TIMER_10MS (10)
- #define OS_TIMER_15MS (15)
- #define OS_TIMER_20MS (20)
- #define OS_TIMER_30MS (30)
- #define OS_TIMER_35MS (35)
- #define OS_TIMER_50MS (50)
- #define OS_TIMER_80MS (80)
- #define OS_TIMER_100MS (100)
- #define OS_TIMER_200MS (200)
- #define OS_TIMER_300MS (300)
- #define OS_TIMER_350MS (350)
- #define OS_TIMER_500MS (500)
- #define OS_TIMER_800MS (800)
- #define OS_TIMER_1S (1000)
- #define OS_TIMER_2S (2000)
- #define OS_TIMER_3S (3000)
- #define OS_TIMER_5S (5000)
- #define OS_TIMER_10S (10000)
- #define OS_TIMER_12S (12000)
- #define OS_TIMER_15S (15000)
- extern int BSP_init(void);
- extern void BSP_Tick(void);
- extern unsigned int LocalTime;
- extern U16 BufSentTime;
-
-
- #endif
|