English
Language : 

XC161 Datasheet, PDF (294/419 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core Volume 2 (of 2): Peripheral Units
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
TwinCAN Module
Register AECNT/BECNT contains the values of the receive error counter and the
transmit error counter. Some additional status/control bits allow for easier error analysis.
AECNTH
Node A Error Counter Register High
AECNTL
Node A Error Counter Register Low
BECNTH
Node B Error Counter Register High
BECNTL
Node B Error Counter Register Low
Reset Value: 0060H
Reset Value: 0000H
Reset Value: 0060H
Reset Value: 0000H
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0
LE LE
INC TD
r
rh rh
EWRNLVL
rw
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TEC
rwh
REC
rwh
Field
REC
TEC
EWRNLVL
Bits
[7:0]
Low
[15:8]
Low
[7:0]
Low
Type Description
rwh Receive Error Counter
Bitfield REC contains the value of the receive error
counter for the corresponding node.
rwh Transmit Error Counter
Bitfield TEC contains the value of the transmit error
counter for the corresponding node.
rw Error Warning Level
Bitfield EWRNLVL defines the threshold value
(warning level, default 60H = 96D) to be reached in
order to set the corresponding error warning bit
EWRN.
User’s Manual
TwinCAN_X1, V2.1
21-54
V2.2, 2004-01