AutosarOS
|
Data structure for alarm. More...
#include <AlarmTypes.h>
Data Fields | |
const AlarmBaseRefType | alarmBase |
Reference to counter used as alarm base. More... | |
const EventMaskType | event |
Event to set if type is ALARM_ACTION_EVENT. More... | |
enum alarmActionType_e | actionType |
Type of the alarm. More... | |
union { | |
const void * action | |
Untyped value to be used during configuration. More... | |
const TaskType task | |
Task to activate if type is ALARM_ACTION_TASK or to set event for if type is ALARM_ACTION_EVENT. More... | |
const pAlarmCallback callback | |
Callback to execute if type is ALARM_ACTION_CALLBACK. More... | |
const CounterType counter | |
Counter to increment if type is ALARM_ACTION_COUNTER. More... | |
} | action |
bool | running |
Whether or not the alarm is currently running. More... | |
TickType | expiration |
Absolute expiration value. More... | |
TickType | cycle |
Relative value used for cyclic alarm (zero for oneshot alarm) More... | |
Data structure for alarm.
Definition at line 64 of file AlarmTypes.h.
const void* action |
Untyped value to be used during configuration.
Definition at line 69 of file AlarmTypes.h.
union { ... } action |
enum alarmActionType_e actionType |
Type of the alarm.
Definition at line 66 of file AlarmTypes.h.
const AlarmBaseRefType alarmBase |
Reference to counter used as alarm base.
Definition at line 65 of file AlarmTypes.h.
const pAlarmCallback callback |
Callback to execute if type is ALARM_ACTION_CALLBACK.
Definition at line 72 of file AlarmTypes.h.
const CounterType counter |
Counter to increment if type is ALARM_ACTION_COUNTER.
Definition at line 73 of file AlarmTypes.h.
TickType cycle |
Relative value used for cyclic alarm (zero for oneshot alarm)
Definition at line 78 of file AlarmTypes.h.
const EventMaskType event |
Event to set if type is ALARM_ACTION_EVENT.
Definition at line 66 of file AlarmTypes.h.
TickType expiration |
Absolute expiration value.
Will be compared against alarmBase->value
Definition at line 76 of file AlarmTypes.h.
bool running |
Whether or not the alarm is currently running.
Definition at line 75 of file AlarmTypes.h.
const TaskType task |
Task to activate if type is ALARM_ACTION_TASK or to set event for if type is ALARM_ACTION_EVENT.
Definition at line 70 of file AlarmTypes.h.