sys_timer.h 342 B

1234567891011121314151617181920
  1. #ifndef _SYS_TIMER_H_
  2. #define _SYS_TIMER_H_
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #include "stdint.h"
  7. typedef void (*HAL_TimerCB_fp) (void);
  8. void HAL_TimerTickCheck(void);
  9. int HAL_TimerUnregister(uint8_t *handle);
  10. uint8_t HAL_TimerRegister(HAL_TimerCB_fp callback, int timerReload);
  11. #ifdef __cplusplus
  12. }
  13. #endif
  14. #endif //_SYS_TIMER_H_