dRonin
adbada4
dRonin firmware
|
Library for setting and clearing system alarms. More...
Go to the source code of this file.
Macros | |
#define | LONGEST_MESSAGE 17 |
Functions | |
static int32_t | hasSeverity (SystemAlarmsAlarmOptions severity) |
int32_t | AlarmsInitialize (void) |
int32_t | AlarmsSet (SystemAlarmsAlarmElem alarm, SystemAlarmsAlarmOptions severity) |
SystemAlarmsAlarmOptions | AlarmsGet (SystemAlarmsAlarmElem alarm) |
int32_t | AlarmsDefault (SystemAlarmsAlarmElem alarm) |
void | AlarmsDefaultAll () |
int32_t | AlarmsClear (SystemAlarmsAlarmElem alarm) |
void | AlarmsClearAll () |
int32_t | AlarmsHasWarnings () |
int32_t | AlarmsHasErrors () |
int32_t | AlarmsHasCritical () |
DONT_BUILD_IF (NELEMENTS(alarm_names)!=SYSTEMALARMS_ALARM_NUMELEM, AlarmArrayMismatch) | |
Variables | |
static struct pios_mutex * | lock |
static const char | alarm_names [][10] |
static const char | config_error_names [][15] |
static const char | manual_control_names [][13] |
static const char | boot_reason_names [][16] |
Library for setting and clearing system alarms.
Definition in file alarms.c.