![]() |
CI130X SDK API手册
2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
|
宏定义 | |
#define | DEBUG_TIMER_INIT() init_timer0() |
#define | DEBUG_TIMER_START() timer0_start_count() |
#define | DEBUG_TIMER_END(x) timer0_end_count(x) |
函数 | |
void | init_timer0 (void) |
初始化调试timer0 更多... | |
void | timer0_start_count (void) |
调试timer0开始计时 更多... | |
void | timer0_end_count (uint8_t *flag) |
停止timer0计时,并计算平均时间 更多... | |
void | timer0_end_count_only_print_time_us (void) |
停止timer0计时,仅输出单次从start开始的计时 更多... | |
void | timer0_start_debug_time (bool is) |
调试挂起任务,timer0开始计时 更多... | |
uint32_t | timer0_end_debug_time (bool is, uint32_t *old_val) |
恢复任务,停止timer0计时 更多... | |
void | init_timer1 (void) |
初始化调试timer1 更多... | |
void | timer1_start_count (void) |
调试timer1开始计时 更多... | |
void | timer1_end_count_only_print_time_us (void) |
停止timer1计时,仅输出单次从start开始的计时 更多... | |
uint32_t | timer1_end_count_only_print_time_us_and_return (void) |
停止timer1计时,仅输出单次从start开始的计时,并返回计时时间 更多... | |
int | ci_timer_val (void) |
Get the value of TIMER0 更多... | |
#define DEBUG_TIMER_END | ( | x | ) | timer0_end_count(x) |
#define DEBUG_TIMER_INIT | ( | ) | init_timer0() |
#define DEBUG_TIMER_START | ( | ) | timer0_start_count() |
int ci_timer_val | ( | void | ) |
Get the value of TIMER0