dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
alarms.h File Reference

Include file of the alarm library. More...

#include "systemalarms.h"

Go to the source code of this file.

Macros

#define SYSTEMALARMS_ALARM_DEFAULT   SYSTEMALARMS_ALARM_UNINITIALISED
 

Functions

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 ()
 
int32_t AlarmString (SystemAlarmsData *alarm, char *buf, size_t buflen, bool blink, uint8_t *state)
 
const char * AlarmBootReason (uint8_t reason)
 

Detailed Description

Include file of the alarm library.

Author
The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
dRonin, http://dronin.org Copyright (C) 2015
See Also
The GNU Public License (GPL) Version 3

Definition in file alarms.h.