
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
TwinCAN Module
User’s Manual
21-54
V2.2, 2004-01
TwinCAN_X1, V2.1
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
Reset Value: 0060
H
AECNTL
Node A Error Counter Register Low
Reset Value: 0000
H
BECNTH
Node B Error Counter Register High
Reset Value: 0060
H
BECNTL
Node B Error Counter Register Low
Reset Value: 0000
H
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
LE
INC
LE
TD
EWRNLVL
r
rh
rh
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
TEC
REC
rwh
rwh
Field
Bits
Type Description
REC
[7:0]
Low
rwh
Receive Error Counter
Bitfield REC contains the value of the receive error
counter for the corresponding node.
TEC
[15:8]
Low
rwh
Transmit Error Counter
Bitfield TEC contains the value of the transmit error
counter for the corresponding node.
EWRNLVL
[7:0]
Low
rw
Error Warning Level
Bitfield EWRNLVL defines the threshold value
(warning level, default 60
H
= 96
D
) to be reached in
order to set the corresponding error warning bit
EWRN.