5 #ifndef AGHAF_CAN_ENUMS_H
6 #define AGHAF_CAN_ENUMS_H
18 #define AGHAF_CAN_PERIODIC_NO_RESTART (1<<0)
24 #define AGHAF_CAN_MSG_XTD (1<<0)
25 #define AGHAF_CAN_MSG_RTR (1<<1)
26 #define AGHAF_CAN_MSG_FDF (1<<2)
27 #define AGHAF_CAN_MSG_BRS (1<<3)
28 #define AGHAF_CAN_MSG_ESI (1<<4)
29 #define AGHAF_CAN_MSG_EVENT_DATA (1<<5)
AGHAF_CAN_Param
List of parameters used to configure a CAN bus.
Definition: aghaf_can_enums.h:62
@ CAN_PARAM_TERMINATION_LS
Definition: aghaf_can_enums.h:116
@ CAN_PARAM_TERMINATION
Definition: aghaf_can_enums.h:110
@ CAN_PARAM_LISTEN_ONLY
Definition: aghaf_can_enums.h:104
@ CAN_PARAM_MODE
Definition: aghaf_can_enums.h:66
@ CAN_PARAM_BAUDRATE_FD
Definition: aghaf_can_enums.h:76
@ CAN_PARAM_NO_EVENT
Definition: aghaf_can_enums.h:123
@ CAN_PARAM_SAMPLEPOINT_FD
Definition: aghaf_can_enums.h:87
@ CAN_PARAM_BAUDRATE
Definition: aghaf_can_enums.h:71
@ CAN_PARAM_SYNCJUMP_WIDTH_FD
Definition: aghaf_can_enums.h:98
@ CAN_PARAM_SAMPLEPOINT
Definition: aghaf_can_enums.h:81
@ CAN_PARAM_SYNCJUMP_WIDTH
Definition: aghaf_can_enums.h:92
AGHAF_CAN_Mode
Possible modes for CAN.
Definition: aghaf_can_enums.h:44
@ AGHAF_CAN_MODE_LS
Definition: aghaf_can_enums.h:58
@ AGHAF_CAN_MODE_FD
Definition: aghaf_can_enums.h:48
@ AGHAF_CAN_MODE_HS
Definition: aghaf_can_enums.h:53
AGHAF_CAN_Error
Enumerator to describe the error on the bus.
Definition: aghaf_can_enums.h:33
@ AGHAF_CAN_ERROR_NONE
No error.
Definition: aghaf_can_enums.h:34
@ AGHAF_CAN_ERROR_STUFF
More than 5 equal bits in a sequence have occurred in a part of a received message where this is not ...
Definition: aghaf_can_enums.h:35
@ AGHAF_CAN_ERROR_BIT1
Device tried to send a recessive level but the monitored bus value was dominant.
Definition: aghaf_can_enums.h:38
@ AGHAF_CAN_ERROR_FORM
A fixed format part of a received frame has the wrong format.
Definition: aghaf_can_enums.h:36
@ AGHAF_CAN_ERROR_ACK
The message transmitted by the device was not acknowledged by another node.
Definition: aghaf_can_enums.h:37
@ AGHAF_CAN_ERROR_CRC
The CRC check sum of a received message was incorrect.
Definition: aghaf_can_enums.h:40
@ AGHAF_CAN_ERROR_BIT0
Device tried to send a dominant level but the monitored bus value was recessive.
Definition: aghaf_can_enums.h:39