====== OSA : OS_Oldtimer_Wait ====== **OS_Oldtimer_Wait (timer_id)**\\ === === {{osa:ref:attr_call_task.png|Allowed only in task}}{{osa:ref:attr_call_ct_sw.png|Switches context}} **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.** Wait until old style static timer overflows. === Call allowed: === Only in task === Parameters: === {| class = "fpl" |- |//''timer_id''// |##[[en:osa:ref:appendix:old style static timers|old style static timer's]]## identifier. |} === Returns: === nothing === Example: === void Task (void) { for (;;) { /*...*/ OS_Oldtimer_Run8(1, 100); OS_Oldtimer_Wait(1); /*...*/ } } === Old style name === **OS_WaitTimer**\\ === 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_Run32|OS_Oldtimer_Run32]] * [[en:osa:ref:allservices:OS_Oldtimer_Stop|OS_Oldtimer_Stop]] * [[en:osa:ref:allservices:OS_Oldtimer_Check|OS_Oldtimer_Check]] ---- * [[en:osa:ref:services:alphabetical|Alphabetical]] * [[en:osa:ref:services:brieflist|All services]] ~~UP~~