OS_Oldtimer_Wait (timer_id)
Using old style static timers is not recommended. Use static timers instead.
Wait until old style static timer overflows.
Only in task
timer_id |
old style static timer's identifier. |
nothing
void Task (void) { for (;;) { /*...*/ OS_Oldtimer_Run8(1, 100); OS_Oldtimer_Wait(1); /*...*/ } }
OS_WaitTimer