12345678910111213141516171819 |
- #ifndef __bsp_time_h__
- #define __bsp_time_h__
- #include <stdbool.h>
- #include <stdint.h>
- #include <string.h>
- #include "sdk_common.h"
- #include "SEGGER_RTT.h"
- #include "usr_config.h"
- extern volatile uint32_t time_10ms_flag;
- typedef void (*TIME_callback)(void*);
- void TIME_Init(void);
- uint32_t TIME_GetTicks(void);
- int TIME_Regist(TIME_callback cb);
- uint32_t rtc_sleep(void);
- #endif
|