1234567891011121314151617 |
- #ifndef __tick_h__
- #define __tick_h__
- #include <stdbool.h>
- #include <stdint.h>
- #include <string.h>
- #include "sdk_common.h"
- #include "SEGGER_RTT.h"
- #include "usr_config.h"
- typedef void (*Tick_callback)(void*);
- void Tick_Init(void);
- uint32_t Tick_GetTicks(void);
- int Tick_Regist(Tick_callback cb);
- int Tick_UnRegist(Tick_callback cb);
- #endif
|