#include <nitro/os.h>
void OS_SetTick( OSTick count );
count | The tick value to be set |
None.
Sets a tick value Ticks must be initialized with OS_InitTick()
before calling this function.
This function sets the lower 16 bits as the timer count value portion of the tick; it sets the upper 48 bits as the timer's interrupt count counter value (u64
).
The alarm system uses the tick value to calculate the timing at which to call the alarm handler. Therefore, the alarms may not function properly if proper consideration is not given when changing the tick value.
02/25/2004 Changed systemClock to tick
02/23/2004 System clock counter from u32 to u64
02/04/2004 Initial Version