#ifndef __SYS_TIMER_H__ #define __SYS_TIMER_H__ #ifdef __cplusplus extern "C" { #endif #include "stdint.h" typedef void (*HAL_TimerCB_fp) (void); void timer_tick_check(void); int timer_unregister(uint8_t *handle); uint8_t timer_register(HAL_TimerCB_fp callback, int timerReload); uint32_t timer_get_os_tick(void); #ifdef __cplusplus } #endif #endif //__SYS_TIMER_H__