
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
Serial Data Link Module SDLM
User’s Manual
22-34
V2.2, 2004-01
SDLM_X, V2.0
Register ERRSTAT contains error bits. The bits in this register have to be reset by SW.
ERRSTAT
Error Status Register
Reset Value: 0000
H
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
CR
CER
COL
SHO
RTH
SHO
RTL
FOR
MAT
r
rh
rh
rh
rh
rh
Field
Bits
Type Description
FORMAT
0
rh
Format Error
Bit is set if a frame length error, byte length error,
symbol timing error or bit timing error occurred.
SHORTL
1
rh
Bus Shorted Low
This bit is set if the device tries to sent data, but
permanently reads a ‘0’ on the bus.
SHORTH
2
rh
Bus Shorted High
This bit is set if a ‘1’ is detected on the bus for more
than one second.
COL
3
rh
Collision Detected
This bit is set if a collision has been detected on the
bus.
CRCER
4
rh
CRC Error
This bit is set if the calculated CRC differs from the
received one.
0
[15:5]
–
Reserved; returns ‘0’ if read.