INtime SDK Help
Note:   This call is deprecated. You should consider using ResetRtAlarm instead.

Resets a one-shot alarm after it has triggered.

VOID knResetRtAlarmEvent(
    KNHANDLE hAlarm    // handle for alarm event


Handle for an alarm object.


This operation is equivalent to invoking knDeleteRtAlarmEvent.html, then invoking knCreateRtAlarmEvent.

Because knResetRtAlarmEvent may be invoked on single-shot alarms even if the alarm has gone off, it is not necessary to synchronize between an alarm reset and the expiration of the alarm time interval. Although this call is non-scheduling, it is not recommended for use by interrupt handlers.


Versions Defined in Include Link to
INtime 3.0 intime/rt/include/rtbase.h rt.h rt.lib

See Also

Time management system calls, knDeleteRtAlarmEvent.html, knCreateRtAlarmEvent