h6. [[OS SWI Calls]] h6(. » OS_CallAfter h2. OS_CallAfter h5. (SWI &3B) |_<^{width:3em}. Entry | | |<^. R0 |<^. Delay in centi-seconds | |<^. R1 |<^. Address to call | |<^. R2 |<^. Value of R12 to call code with | |_<^{width:3em}. Exit | | |<^. R0 |<^. Preserved | |<^. R1 |<^. Preserved | |<^. R2 |<^. Preserved | h4. Use The purpose of this call is to call a specified memory address after a delay, in centi-seconds. h4. Notes The routine will be called on the (R0+1)th clock tick to be seen once the routine has been registered. E.g. if R0 is 10 then it's guaranteed that a full 10 centiseconds will have passed before the routine is called. The minimum supported R0 value is 1. A routine called by this mechanism is called in SVC mode with interrupts disabled, must preserve ALL registers and return by <code>MOV PC, R14</code>. The routine can enable interrupts, but must take care to restore the previous state on exit. To cancel the settings of this call, use [[OS_RemoveTickerEvent]]. h4. See also * [[OS_AddCallBack]] * [[OS_CallEvery]] * [[OS_RemoveTickerEvent]]