Timer2.h 266 B

1234567891011
  1. #ifndef TIMER2_H
  2. #define TIMER2_H
  3. #include "stm32f2xx_hal.h"
  4. #include "sys.h"
  5. extern TIM_HandleTypeDef TIM2_Handler; //定时器句柄
  6. extern u32 lwip_localtime; //lwip本地时间计数器,单位:ms
  7. void Timer2_Init(u16 arr,u16 psc);
  8. #endif /* BSP_TIMBASE_H */