#include <otScheduler.h>
Public Member Functions | |
otScheduler () | |
bool | init (U32 process, U8 timerId) |
void | close () |
void | run (bool ena) |
void | enable (U32 idx, bool ena) |
bool | enable (U32 idx) |
void | changeTaskInterval (U32 idx, U32 intTime) |
void | kill (U32 idx) |
U32 | interval (U32 idx) |
U32 | speed (U32 idx) |
U32 | size () |
bool | function (U32 idx) |
const char * | text (U32 idx) |
U32 | addTask (U32 interval, SchedulerFunction Func, const char *text, bool enable=true) |
void | process (bool forever=true) |
|
|
|
Add a task to the scheduler list
|
|
Change the task interval time
|
|
|
|
Check specified task if enabled or not
|
|
Enable/disable specified task
|
|
Check if at the specified index a task has been set
|
|
Init the scheduler
|
|
Return the real interval time (ms) of the last execution
|
|
Remove a specified task from the scheduling
|
|
Start scheduler processing. To stop the process the only way is to call run function.
|
|
Enable/disable the scheduler activity
|
|
Return the number of allowed task
|
|
Return the execution time (ms) of the specified task
|
|
Read related text to specified task
|