# OS_InitAlarm

## Syntax

      #include <nitro/os.h>

      void OS_InitAlarm( void );

## Arguments

None.

## Return Values

None.

## Description

Allocates a timer to the alarm system and initializes the alarm system.

The alarm system uses ticks. Therefore, `OS_InitTick()` must be called and a timer allocated before this function is called.

Call `OS_EndAlarm()` to terminate the alarm system and release the allocated timer.

## See Also

`OS_EndAlarm, OS_CreateAlarm, OS_SetAlarm, OS_InitTick`

## Revision History

2004/02/25 Changed `systemClock` to `tick`.
2004/02/04 Initial version.

CONFIDENTIAL