# OS_IsAlarmAvailable

## C Specification

      #include <nitro/os.h>

      BOOL OS_IsAlarmAvailable( void );

## Description

This function checks whether a timer has been allocated to the alarm system and whether it has been initialized.

Returns `TRUE` if the alarm system has been initialized with `OS_InitAlarm()` and a timer has been allocated.

## Arguments

None

## Return Values

Returns `TRUE` if a timer has been allocated to the alarm system and the system has been initialized.

## See Also

`OS_InitAlarm, OS_EndAlarm`

## Revision History

02/04/2004 Initial Version