#include <nitro/os.h>
void OS_CreateAlarm( OSAlarm* alarm );
alarm | Pointer to the alarm structure to initialize |
None.
Initializes the alarm structure.
One alarm can be set per alarm structure. Initialize the alarm structure with this function before using it for the first time.
Example:
OSAlarm alarm; OS_CreateAlarm( &alarm ); OS_SetAlarm( &alarm, count, callback, arg );
Before calling OS_CreateAlarm()
, the alarm library must be initialized with OS_InitAlarm()
.
2004/02/04 Initial version.
CONFIDENTIAL