OS_InitAlarm

C Specification

#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

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