# OS_InitAlarm

## C Specification

      #include <nitro/os.h>

      void OS_InitAlarm( void );

## 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.

## Arguments

None

## Return Values

None

## See Also

`OS_EndAlarm`, `OS_CreateAlarm`, `OS_SetAlarm`, `OS_InitTick`

## Revision History

02/25/2004 Changed `systemClock` to `tick`
02/04/2004 Initial Version