TSK_tick
2-508
C Interface
Syntax
TSK_tick();
Parameters
Void
Return Value
Void
Description
TSK_tick increments the system clock, and readies any tasks blocked on
TSK_sleep or SEM_pend whose timeout intervals have expired.
TSK_tick can be invoked by an HWI or by the currently executing task.
The latter is particularly useful for testing timeouts in a controlled
environment.
A task switch occurs when calling TSK_tick if the priority of any of the
readied tasks is greater than the priority of the currently executing task.
Constraints and
Calling Context
❏
When called within an HWI, the code sequence calling TSK_tick
must be either wrapped within an HWI_enter/HWI_exit pair or
invoked by the HWI dispatcher.
See Also
CLK Module
SEM_pend
TSK_itick
TSK_sleep
TSK_tick
Advance the system alarm clock