struct alarm_details alarm_details_t
const char * alarms_get_description(alarm_code_t id)
Definition: alarms.c:70
void alarms_register(alarm_details_t *details)
Definition: alarms.c:59
alarm_code_t
Definition: alarms.h:28
@ Alarm_LimitsEngaged
12
Definition: alarms.h:41
@ Alarm_HardLimit
1
Definition: alarms.h:30
@ Alarm_ProbeFailContact
5
Definition: alarms.h:34
@ Alarm_SoftLimit
2
Definition: alarms.h:31
@ Alarm_SelftestFailed
16
Definition: alarms.h:45
@ Alarm_HomingFailDoor
7
Definition: alarms.h:36
@ Alarm_ProbeProtect
13
Definition: alarms.h:42
@ Alarm_AlarmMax
Definition: alarms.h:48
@ Alarm_None
0
Definition: alarms.h:29
@ Alarm_AbortCycle
3
Definition: alarms.h:32
@ Alarm_Spindle
14
Definition: alarms.h:43
@ Alarm_FailPulloff
8
Definition: alarms.h:37
@ Alarm_EStop
10
Definition: alarms.h:39
@ Alarm_HomingFailApproach
9
Definition: alarms.h:38
@ Alarm_ProbeFailInitial
4
Definition: alarms.h:33
@ Alarm_HomingRequired
11
Definition: alarms.h:40
@ Alarm_HomingFailAutoSquaringApproach
15
Definition: alarms.h:44
@ Alarm_HomingFail
18
Definition: alarms.h:47
@ Alarm_HomingFailReset
6
Definition: alarms.h:35
@ Alarm_MotorFault
17
Definition: alarms.h:46
alarm_details_t * alarms_get_details(void)
Definition: alarms.c:65
const char * description
Definition: alarms.h:53
alarm_code_t id
Definition: alarms.h:52
const uint16_t n_alarms
Definition: alarms.h:57
const alarm_detail_t * alarms
Definition: alarms.h:58
struct alarm_details * next
Definition: alarms.h:59