OSA : OS_Ttimer_Pause

OS_Ttimer_Pause ()

Service uses system timerAllowed only in task and functions called by task

Stop current task's timer. Timeout flag is set.

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

Call allowed:

Allowed only in task and functions called by task (any depth)

Parameters:

no

Returns:

nothing

Example:

void Task (void)
{
    for (;;) {
        /*...*/
        OS_Ttimer_Pause ();
        /*...*/
    }
}

See also