Go to the documentation of this file.
29 #define ALARMCALLBACK(Name) extern void Name(void)
bool running
Whether or not the alarm is currently running.
enum tasks_e TaskType
Type for task reference.
@ ALARM_ACTION_COUNTER
Alarm increments counter on expiration.
uint8_t EventMaskType
Data type of the event mask.
volatile struct counter_s AlarmBaseType
Type for alarm base.
TickType cycle
Relative value used for cyclic alarm (zero for oneshot alarm)
const CounterType counter
Counter to increment if type is ALARM_ACTION_COUNTER.
const AlarmBaseRefType alarmBase
Reference to counter used as alarm base.
const TaskType task
Task to activate if type is ALARM_ACTION_TASK or to set event for if type is ALARM_ACTION_EVENT.
uint64_t TickType
Data type of counter values.
enum alarm_e AlarmType
Type for alarm reference.
TickType expiration
Absolute expiration value.
enum counters_e CounterType
Type for counter reference.
const EventMaskType event
Event to set if type is ALARM_ACTION_EVENT.
@ ALARM_ACTION_CALLBACK
Alarm calls callback on expiration.
const pAlarmCallback callback
Callback to execute if type is ALARM_ACTION_CALLBACK.
@ ALARM_ACTION_TASK
Alarm activates task on expiration.
Data structure for counter.
alarmActionType_e
Alarm action type.
Data structure for alarm.
enum alarmActionType_e actionType
Type of the alarm.
const void * action
Untyped value to be used during configuration.
AlarmBaseType * AlarmBaseRefType
Reference for alarm base.
@ ALARM_ACTION_EVENT
Alarm sets event on expiration.
Operating System Control Block.
void(* pAlarmCallback)(void)
Alarm callback type.