# OS_InitVAlarm

## Syntax

      #include <nitro/os.h>

      void OS_InitVAlarm( void );

## Arguments

None.

## Return Values

None.

## Description

This function initializes a V-Count alarm system. Unlike `OS_InitAlarm()`, this system does not use ticks.

This function, `OS_InitVAlarm`, must be called before you use any of the V-Count alarm functions. It is called internally by the `OS_Init` function, so there is no need for the application to call it again. Subsequent calls of this function do nothing.

Call `OS_EndVAlarm()` when ending V-Count alarm systems. Perform initialization when using V-Count alarms again after that function ends.

## See Also

`OS_EndVAlarm
OS_CreateVAlarm
OS_SetVAlarm
OS_InitAlarm`

## Revision History

2009/06/03 Revised the text to reflect that calling `OS_Init` is now required.
2009/05/19 Mentioned that this function is called internally by `OS_Init`.
2004/10/25 Spun off details relating to VAlarm into a separate file.
2004/10/22 Documented details of VAlarm in an illustration.
2004/02/24 Initial version.

CONFIDENTIAL