libxr 1.0
Want to be the best embedded framework
|
控制块类,存储任务信息 Control block class for storing task information More...
#include <timer.hpp>
Public Member Functions | |
void | Run () |
运行定时任务 Runs the scheduled task | |
Data Fields | |
void(* | fun_ )(void *) |
任务执行函数 Function pointer to the task | |
void * | handle |
任务句柄 Handle to the task | |
uint32_t | cycle_ |
任务周期(单位:毫秒) Task cycle (unit: milliseconds) | |
uint32_t | count_ |
计数器 Counter | |
bool | enable_ |
任务是否启用 Flag indicating whether the task is enabled | |
控制块类,存储任务信息 Control block class for storing task information
|
inline |
运行定时任务 Runs the scheduled task
Definition at line 40 of file timer.hpp.
uint32_t LibXR::Timer::ControlBlock::cycle_ |
bool LibXR::Timer::ControlBlock::enable_ |
void* LibXR::Timer::ControlBlock::handle |