Expand description
FDCAN error counter register
Structs§
- ECRrs
- FDCAN error counter register
Type Aliases§
- CEL_R
- Field
CEL
reader - CAN error logging The counter is incremented each time when a CAN protocol error causes the transmit error counter or the receive error counter to be incremented. It is reset by read access to CEL. The counter stops at 0xFF; the next increment of TEC or REC sets interrupt flag IR[ELO]. Access type is RX: reset on read. - CEL_W
- Field
CEL
writer - CAN error logging The counter is incremented each time when a CAN protocol error causes the transmit error counter or the receive error counter to be incremented. It is reset by read access to CEL. The counter stops at 0xFF; the next increment of TEC or REC sets interrupt flag IR[ELO]. Access type is RX: reset on read. - R
- Register
ECR
reader - REC_R
- Field
REC
reader - Receive error counter Actual state of the receive error counter, values between 0 and 127. - RP_R
- Field
RP
reader - Receive error passive - TEC_R
- Field
TEC
reader - Transmit error counter Actual state of the transmit error counter, values between 0 and 255. When CCCR.ASM is set, the CAN protocol controller does not increment TEC and REC when a CAN protocol error is detected, but CEL is still incremented. - W
- Register
ECR
writer