OS_Ttimer_Wait ()
Wait until current task's timer overflows.
To use task timers you need to define OS_ENABLE_TTIMERS in OSAcfg.h. Size of current task's timers is set by OS_TTIMER_SIZE constant
Allowed only in task
no
nothing
void Task (void) { for (;;) { /*...*/ OS_Ttimer_Run(200); OS_Ttimer_Wait(); // Wait 200 ticks /*...*/ } }