BSPACM  20150113
Board Support Package for ARM Cortex-M Microcontrollers
Data Fields
sBSPACMuptimeAlarm Struct Reference

#include </prj/arm/bspacm/device/nrf51/include/bspacm/utility/uptime.h>

Data Fields

vBSPACMuptimeAlarmCallback_flih callback_flih
 
unsigned int interval_utt
 

Detailed Description

State for an alarm driven by the uptime clock.

Field Documentation

vBSPACMuptimeAlarmCallback_flih sBSPACMuptimeAlarm::callback_flih

An optional callback, invoked from the handler after applying interval_utt.

unsigned int sBSPACMuptimeAlarm::interval_utt

An optional interval between repeated alarms.

If the value is zero the alarm is removed from the set of alarms. If the value is not zero, a new alarm is scheduled for interval_utt ticks after the previous alarm. Both operations are applied before the callback is invoked, so the callback may override that behavior.


The documentation for this struct was generated from the following file: