libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
CAN Error Code Capture Register

CAN Error Code Capture Register bit definitions. More...

Collaboration diagram for CAN Error Code Capture Register:

Macros

#define CAN_ECC_BER   BIT0
 BER: Bit error ocurred. More...
 
#define CAN_ECC_STFER   BIT1
 STFER: Stuff error occurred. More...
 
#define CAN_ECC_CRCER   BIT2
 CRCER: CRC error occurred. More...
 
#define CAN_ECC_FRMER   BIT3
 FRMER: Form error occurred. More...
 
#define CAN_ECC_ACKER   BIT4
 ACKER: ACK error occurred. More...
 
#define CAN_ECC_EDIR   BIT5
 EDIR: Direction of transfer 0:TX, 1:RX. More...
 
#define CAN_ECC_TXWRN   BIT6
 TXWRN: set when CAN_TXERR >= 96. More...
 
#define CAN_ECC_RXWRN   BIT7
 RXWRN: set when CAN_RXERR >= 96. More...
 

Detailed Description

CAN Error Code Capture Register bit definitions.

Macro Definition Documentation

◆ CAN_ECC_ACKER

#define CAN_ECC_ACKER   BIT4

ACKER: ACK error occurred.

Definition at line 222 of file can.h.

◆ CAN_ECC_BER

#define CAN_ECC_BER   BIT0

BER: Bit error ocurred.

Definition at line 214 of file can.h.

◆ CAN_ECC_CRCER

#define CAN_ECC_CRCER   BIT2

CRCER: CRC error occurred.

Definition at line 218 of file can.h.

◆ CAN_ECC_EDIR

#define CAN_ECC_EDIR   BIT5

EDIR: Direction of transfer 0:TX, 1:RX.

Definition at line 224 of file can.h.

◆ CAN_ECC_FRMER

#define CAN_ECC_FRMER   BIT3

FRMER: Form error occurred.

Definition at line 220 of file can.h.

◆ CAN_ECC_RXWRN

#define CAN_ECC_RXWRN   BIT7

RXWRN: set when CAN_RXERR >= 96.

Definition at line 228 of file can.h.

◆ CAN_ECC_STFER

#define CAN_ECC_STFER   BIT1

STFER: Stuff error occurred.

Definition at line 216 of file can.h.

◆ CAN_ECC_TXWRN

#define CAN_ECC_TXWRN   BIT6

TXWRN: set when CAN_TXERR >= 96.

Definition at line 226 of file can.h.