OS_Timer ()
Use with all timers.
This service must be used if:
This service should be called from a regularly-called place in the program (e.g. a timer interrupt routine).
At every execution of OS_Timer() all active timers are increased by 1 (except 24-bit old style static timers which are increased by 1 every 256 calls).
Everywhere
None
nothing
void interrupt isr (void) { if (TMR2IF) { TMR2IF = 0; OS_Timer (); /*...*/ } }