Command disabled: backlink
Available Languages?:

OSA : OS_Delay

OS_Delay (delaytime)

Allowed only in taskSwitches contextUses timer

Delay current task using internal task timer.

Constant OS_ENABLE_TTIMERS must be defined in OSAcfg.h.

Call allowed:

Only in task


delaytime Time of delay. Set in system ticks - call OS_Timer periods




void Task (void)
    for (;;) {
        OS_Delay(100);   // Delay task for 100 system ticks

See also

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