OS_SetTick

Syntax

#include <nitro/os.h>
void OS_SetTick( OSTick count );
  

Arguments

count The tick value to be set

Return Values

None.

Description

Sets a tick value.

Ticks must be initialized with the OS_InitTick function 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 alarm handlers. Alarms you are using may not function properly if you change the tick value without considering them.

See Also

OS_InitTick, OS_GetTick

Revision History

2004/02/25 Changed systemClock to tick.
2004/02/23 System clock counter from u32 to u64.
2004/02/04 Initial version.


CONFIDENTIAL