Available Languages?:

OSA : OS_Oldtimer_Run32

OS_Oldtimer_Run32 (timer32_id, time)

Using old style static timers is not recommended. Use static timers instead.

Start counting 32-bit static timer.

Number of 32-bit static timers OS_TIMERS32 (1..32) must be specified in OSAcfg.h.

Call allowed:

Everywhere

Parameters:

timer32_id old style static timer's identifier. Number of 32-bit static timers is set by OS_TIMERS32 constant (0 to 31) in OSAcfg.h
time Value to set timer's counter. Sets in system ticks - call OS_Timer periods. Size of time value must be less than size of timer

Returns:

nothing

Example:

void Task (void)
{
    for (;;) {
        /*...*/
        OS_Oldtimer_Run32(8, 0xF000000);
        /*...*/
    }
}

Old style name

OS_RunTimer32

See also

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