#ifndef _SYS_TIMER_H_ #define _SYS_TIMER_H_ #ifdef __cplusplus extern "C" { #endif #include "stdint.h" typedef void (*HAL_TimerCB_fp) (void); void HAL_TimerTickCheck(void); int HAL_TimerUnregister(uint8_t *handle); uint8_t HAL_TimerRegister(HAL_TimerCB_fp callback, int timerReload); #ifdef __cplusplus } #endif #endif //_SYS_TIMER_H_