C8051F52x-53x
SFR Definition 17.14. LINERR: LIN ERROR Register
R
R
R
R
R
R
R
R
Reset Value
SYNCH
Bit4
PRTY
Bit3
TOUT
Bit2
CHK
Bit1
BITERR 00000000
Bit7
Bit6
Bit5
Bit0
0x0A
SFR Address:
(indirect)
Bit7–5: UNUSED. Read = 000b. Write = don’t care.
Bit4:
Bit3:
Bit2:
SYNCH: Synchronization Error bit.(slave mode only)
The peripheral detected edges of the SYNCH FIELD outside the maximum tolerance.
PRTY: Parity Error bit.(slave mode only)
This bit is set when a parity error is detected.
TOUT: Timeout Error Bit.
This bit is set whenever one of the following conditions is met:
1- The master detects a timeout error if it is expecting data from the bus but no slave does
respond.
2- If the slave responds to late and the frame is not finished within the maximum frame
length T
.
FRAME_MAX
3- The slave detects a timeout error if it is expecting data from the master or another slave
but no data is transmitted on the bus.
FRAME_MAX
4- If the frame is not finished within the maximum frame length T
is reached.
5- The slave detects a timeout error if it is requesting a data acknowledge to the application
(for selecting receive or transmit, data length and loading data) and the application does not
set the DTACK bit (LINCTRL) or STOP bit (LINCTRL) until the end of the reception of the
first byte after the identifier.
6- The slave detects a timeout error if it has transmitted a wakeup signal and it detects no
sync field (from the master) within 150 ms.
Bit1:
Bit0:
CHK: Checksum Error Bit.
The bit is set when the peripheral detects a checksum error.
BITERR: Bit Error bit.
This error bit is set when the bit value monitored by the peripheral is different from the one
sent.
Rev. 0.3
159