OS_Oldtimer_Run24 (timer24_id, time)
Using old style static timers is not recommended. Use static timers instead.
Start counting 24-bit static timer.
Number of 24-bit static timers OS_TIMERS24 (1..32) must be specified in OSAcfg.h.
Everywhere
timer24_id |
old style static timer's identifier. Number of 24-bit static timers is set by OS_TIMERS24 constant (0 to 31) in OSAcfg.h |
time |
Value to set timer's counter. Sets in system ticks - call OS_Timer periods. Size of time value must be less than size of timer |
nothing
void Task (void) { for (;;) { /*...*/ OS_Oldtimer_Run24(5, 1000000); /*...*/ } }
OS_RunTimer24