====== OSA : OS_Oldtimer_Run32 ======
**OS_Oldtimer_Run32 (timer32_id, time)**\\
=== ===
**Using ##[[en:osa:ref:appendix:old style static timers|old style static timers]]## is not recommended. Use ##[[en:osa:ref:services:timers#static timers|static timers]]## instead.**
Start counting 32-bit static timer.
##Number of 32-bit static timers [[en:osa:ref:appendix:configuration#System constants|OS_TIMERS32]]## (1..32) must be specified in ##[[en:osa:ref:appendix:configuration|OSAcfg.h.]]##
=== Call allowed: ===
Everywhere
=== Parameters: ===
{| class = "fpl"
|-
|//''timer32_id''//
|##[[en:osa:ref:appendix:old style static timers|old style static timer's]]## identifier. Number of 32-bit static timers is set by ##[[en:osa:ref:appendix:configuration#Data consist|OS_TIMERS32]]## constant (0 to 31) in ##[[en:osa:ref:appendix:configuration|OSAcfg.h]]##
|-
|//''time''//
|Value to set timer's counter. Sets in system ticks - call ##[[en:osa:ref:allservices:OS_Timer|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_Run8|OS_Oldtimer_Run8]]
* [[en:osa:ref:allservices:OS_Oldtimer_Run16|OS_Oldtimer_Run16]]
* [[en:osa:ref:allservices:OS_Oldtimer_Run24|OS_Oldtimer_Run24]]
* [[en:osa:ref:allservices:OS_Oldtimer_Stop|OS_Oldtimer_Stop]]
* [[en:osa:ref:allservices:OS_Oldtimer_Check|OS_Oldtimer_Check]]
* [[en:osa:ref:allservices:OS_Oldtimer_Wait|OS_Oldtimer_Wait]]
----
* [[en:osa:ref:services:alphabetical|Alphabetical]]
* [[en:osa:ref:services:brieflist|All services]]
~~UP~~