|
xt-sdk 文档 v1.0.3
xt-sdk 嵌入式 SDK API 参考
|
定时器对象 更多...
#include <xt_timer2.h>
成员变量 | |
| struct xt_list_node | node |
| volatile xt_timer2_cb_t | cb_func |
| void * | user_data |
| xt_tick2_t | tick_timeout |
| volatile uint16_t | magic |
| volatile xt_timer2_cb_t xt_timer2::cb_func |
超时回调函数
在文件 xt_timer2.h 第 77 行定义.
| volatile uint16_t xt_timer2::magic |
Magic 校验值,仅 XT_TIMER2_DEBUG==1 时存在
在文件 xt_timer2.h 第 81 行定义.
| struct xt_list_node xt_timer2::node |
双向链表节点(NULL=未初始化,自指向=游离,其他=在工作链表上)
在文件 xt_timer2.h 第 76 行定义.
| xt_tick2_t xt_timer2::tick_timeout |
绝对超时 tick,start 时设置
在文件 xt_timer2.h 第 79 行定义.
| void* xt_timer2::user_data |
回调透传数据
在文件 xt_timer2.h 第 78 行定义.