
NUC126
Aug. 08, 2018
Page
912
of 943
Rev 1.03
NUC12
6 S
E
RI
E
S
T
E
CH
NI
CA
L R
E
F
E
RE
NCE
MA
NUA
L
UART LIN Status Register (UART_LINSTS)
Register
Offset
R/W
Description
Reset Value
UART_LINSTS
U0x38
R/W
UART LIN Status Register (Only for UART0 and UART1)
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
Reserved
BITEF
BRKDETF
7
6
5
4
3
2
1
0
Reserved
SLVSYNCF
SLVIDPEF
SLVHEF
SLVHDETF
Bits
Description
[31:10]
Reserved
Reserved.
[9]
BITEF
Bit Error Detect Status Flag
At TX transfer state, hardware will monitor the bus state, if the input pin (UART_RXD)
state not equals to the output pin (UART_TXD) state, BITEF (UART_LINSTS[9]) will be
set.
When occur bit error, if the LINIEN (UART_INTEN[8]) = 1, an interrupt will be generated.
0 = Bit error not detected.
1 = Bit error detected.
Note1:
This bit can be cleared by writing 1 to it.
Note2:
This bit is only valid when enable bit error detection function (BITERREN
(UART_LINCTL [12]) = 1).
[8]
BRKDETF
LIN Break Detection Flag
This bit is set by hardware when a break is detected and be cleared by writing 1 to it
through software.
0 = LIN break not detected.
1 = LIN break detected.
Note1:
This bit can be cleared by writing 1 to it.
Note2:
This bit is only valid when LIN break detection function is enabled (BRKDETEN
(UART_LINCTL[10]) =1).
[7:4]
Reserved
Reserved.
[3]
SLVSYNCF
LIN Slave Sync Field
This bit indicates that the LIN sync field is being analyzed in Automatic Resynchronization
mode. When the receiver header have some error been detect, user must reset the
internal circuit to re-search new frame header by writing 1 to this bit.
0 = The current character is not at LIN sync state.
1 = The current character is at LIN sync state.
Note1:
This bit is only valid when in LIN Slave mode (SLVEN(UART_LINCTL[0]) = 1).
Note2:
This bit can be cleared by writing 1 to it.
Note3:
When writing 1 to it, hardware will reload the initial baud rate and re-search a new