# OS_GetTick

## C Specification

      #include <nitro/os.h>

      OSTick OS_GetTick( void );

## Description

This function acquires the tick value. Tick must be initialized with `OS_InitTick()` before calling this function. The `OSTick` tick type is `u64`. Internally, this functioncreates a tick value from the 16-bit timer counter value and the timer's interrupt count counter.

## Arguments

None

## Return Values

The tick value.

## See Also

`OS_InitTick, OS_SetTick, OS_GetTickLo`

## Revision History

02/25/2004 Changed systemClock -> tick
02/23/2004 Changed the system clock value to a full 64 bit
02/04/2004 Initial Version