Available Languages?:

OSA : OS_Ttimer_Continue

OS_Ttimer_Continue ()

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

Continue current task's timer's counting after pause.

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();
        /*...*/
        OS_Ttimer_Continue();
        /*...*/
    }
}

See also

 
en/osa/ref/allservices/os_ttimer_continue.txt · Last modified: 07.10.2010 13:58 (external edit)
 
Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki