OSA : OS_Stimer_Continue

OS_Stimer_Continue (stimer_id)

Continue static timer's counting after pause.

Number of static timers OS_STIMERS (1..32) must be specified in OSAcfg.h. Size of static timers is set by OS_STIMER_SIZE constant

Call allowed:

Everywhere

Parameters:

stimer_id Static timer identifier. Number and size of static timers are set in OSAcfg.h with OS_STIMERS and OS_STIMER_SIZE constants

Returns:

nothing

Example:

void Task (void)
{
    for (;;) {
        /*...*/
        OS_Stimer_Pause(4);
        /*...*/
        OS_Stimer_Continue(4);
        /*...*/
    }
}

Old style name

OS_ContinueSTimer

See also