nn::os::Alarm::SetPeriodic Member Function#include <nn/os.h>
void SetPeriodic(
nn::fnd::TimeSpan interval,
AlarmHandler handler,
void * param
);
| Name | Description | |
|---|---|---|
| in | interval | Interval at which to call the handler. |
| in | handler | Alarm handler. |
| in | param | Parameters to pass to the handler. |
Sets a periodic alarm. Calls the handler, and continues calling it, at the specified interval.
In the Debug/Development builds, if this function is called while an alarm is set it will fail on an assertion inside the library. In the Release build, processing with continue without applying the setting.
CONFIDENTIAL