AGHAF
4.5.1
Annecy electronique Generic Hardware Access Framework
|
Go to the source code of this file.
Macros | |
AGHAF_CAN_PERIODIC_FLAGS | |
#define | AGHAF_CAN_PERIODIC_NO_RESTART (1<<0) |
Don't restart period. | |
AGHAF_CAN_MSG_FLAGS | |
#define | AGHAF_CAN_MSG_BRS (1<<3) |
Bit Rate Switch (Only evaluated if FD format is enabled) | |
#define | AGHAF_CAN_MSG_ESI (1<<4) |
Error State Indicator (Only evaluated if FD format is enabled) | |
#define | AGHAF_CAN_MSG_EVENT_DATA (1<<5) |
Report Tx data in CanEventMessage / Event CanEventMessage has valid data according to dataLen. | |
#define | AGHAF_CAN_MSG_FDF (1<<2) |
FD format. | |
#define | AGHAF_CAN_MSG_RTR (1<<1) |
Remote Transmission request (Message is transmitted according to ISO11898-1 even if FD format is set) | |
#define | AGHAF_CAN_MSG_XTD (1<<0) |
Extended identifier (29-bit CAN ID) | |
Enumerations | |
enum | AGHAF_CAN_Error { AGHAF_CAN_ERROR_NONE = 0 , AGHAF_CAN_ERROR_STUFF , AGHAF_CAN_ERROR_FORM , AGHAF_CAN_ERROR_ACK , AGHAF_CAN_ERROR_BIT1 , AGHAF_CAN_ERROR_BIT0 , AGHAF_CAN_ERROR_CRC } |
Enumerator to describe the error on the bus. More... | |
enum | AGHAF_CAN_Mode { AGHAF_CAN_MODE_FD = 0x00 , AGHAF_CAN_MODE_HS = 0x01 , AGHAF_CAN_MODE_LS = 0x02 } |
Possible modes for CAN. More... | |
enum | AGHAF_CAN_Param { CAN_PARAM_MODE , CAN_PARAM_BAUDRATE , CAN_PARAM_BAUDRATE_FD , CAN_PARAM_SAMPLEPOINT , CAN_PARAM_SAMPLEPOINT_FD , CAN_PARAM_SYNCJUMP_WIDTH , CAN_PARAM_SYNCJUMP_WIDTH_FD , CAN_PARAM_LISTEN_ONLY , CAN_PARAM_TERMINATION , CAN_PARAM_TERMINATION_LS , CAN_PARAM_NO_EVENT } |
List of parameters used to configure a CAN bus. More... | |
enum AGHAF_CAN_Error |
Enumerator to describe the error on the bus.
enum AGHAF_CAN_Mode |
Possible modes for CAN.
enum AGHAF_CAN_Param |
List of parameters used to configure a CAN bus.
Enumerator | |
---|---|
CAN_PARAM_MODE | CAN mode settings. |
CAN_PARAM_BAUDRATE | Nominal CAN baudrate in bps |
CAN_PARAM_BAUDRATE_FD | Baudrate to be used during the high bitrate phase of CAN FD frame |
CAN_PARAM_SAMPLEPOINT | Desired bit sample point as a percentage of the bit time |
CAN_PARAM_SAMPLEPOINT_FD | Desired bit sample point as a percentage of the bit time |
CAN_PARAM_SYNCJUMP_WIDTH | Desired synchronization jump bit has a percentage of bit time |
CAN_PARAM_SYNCJUMP_WIDTH_FD | Desired synchronization jump bit has a percentage of bit time |
CAN_PARAM_LISTEN_ONLY | Enable listen only mode. |
CAN_PARAM_TERMINATION | CAN High Speed and FD termination settings. |
CAN_PARAM_TERMINATION_LS | CAN Low Speed termination settings. |
CAN_PARAM_NO_EVENT | Disable CAN events reporting. |