Expand description

FDCAN protocol status register

Structs

FDCAN protocol status register

Register PSR reader

Register PSR writer

Type Definitions

Field ACT reader - Activity Monitors the module’s CAN communication state.

Field BO reader - Bus_Off status

Field DLEC reader - Data last error code Type of last error that occurred in the data phase of a FDCAN format frame with its BRS flag set. Coding is the same as for LEC. This field is cleared to 0 when a FDCAN format frame with its BRS flag set has been transferred (reception or transmission) without error. Access type is RS: set on read.

Field DLEC writer - Data last error code Type of last error that occurred in the data phase of a FDCAN format frame with its BRS flag set. Coding is the same as for LEC. This field is cleared to 0 when a FDCAN format frame with its BRS flag set has been transferred (reception or transmission) without error. Access type is RS: set on read.

Field EP reader - Error passive

Field EW reader - Warning Sstatus

Field LEC reader - Last error code The LEC indicates the type of the last error to occur on the CAN bus. This field is cleared to 0 when a message has been transferred (reception or transmission) without error. Access type is RS: set on read.

Field LEC writer - Last error code The LEC indicates the type of the last error to occur on the CAN bus. This field is cleared to 0 when a message has been transferred (reception or transmission) without error. Access type is RS: set on read.

Field PXE reader - Protocol exception event

Field PXE writer - Protocol exception event

Field RBRS reader - BRS flag of last received FDCAN message This bit is set together with REDL, independent of acceptance filtering. Access type is RX: reset on read.

Field RBRS writer - BRS flag of last received FDCAN message This bit is set together with REDL, independent of acceptance filtering. Access type is RX: reset on read.

Field REDL reader - Received FDCAN message This bit is set independent of acceptance filtering. Access type is RX: reset on read.

Field REDL writer - Received FDCAN message This bit is set independent of acceptance filtering. Access type is RX: reset on read.

Field RESI reader - ESI flag of last received FDCAN message This bit is set together with REDL, independent of acceptance filtering. Access type is RX: reset on read.

Field RESI writer - ESI flag of last received FDCAN message This bit is set together with REDL, independent of acceptance filtering. Access type is RX: reset on read.

Field TDCV reader - Transmitter delay compensation value Position of the secondary sample point, defined by the sum of the measured delay from FDCAN_TX to FDCAN_RX and TDCR.TDCO. The SSP position is, in the data phase, the number of minimum time quanta (mtq) between the start of the transmitted bit and the secondary sample point. Valid values are 0 to 127 mtq.