
NUC126
Aug. 08, 2018
Page
582
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
SC UART Mode Control Register (SC_UARTCTL)
Register
Offset
R/W
Description
Reset Value
SC_UARTCTL
0x34
R/W
SC UART Mode Control Register
0x0000_0000
Bits
Description
[31:8]
Reserved
Reserved.
[7]
OPE
Odd Parity Enable Bit
This is used for odd/even parity selection.
0 = Even number of logic 1’s are transmitted or check the data word and parity bits in
receiving mode.
1 = Odd number of logic 1
’s are transmitted or check the data word and parity bits in
receiving mode.
Note:
This bit has effect only when PBOFF bit is 0.
[6]
PBOFF
Parity Bit Disable Control
This bit is used to disable parity check function.
0 = Parity bit is generated or checked
between the “last data word bit” and “stop bit” of the
serial data.
1 = Parity bit is not generated (transmitting data) or checked (receiving data) during
transfer.
Note:
In smart card mode, this bit must be 0 (default setting is with parity bit).
[5:4]
WLS
Word Length Selection
This field is used to select UART data transfer length.
00 = Word length is 8 bits.
01 = Word length is 7 bits.
10 = Word length is 6 bits.
11 = Word length is 5 bits.
Note:
In smart card mode, this field must be 00.
[3:1]
Reserved
Reserved.
[0]
UARTEN
UART Mode Enable Bit
Set this bit to enable UART mode function.
0 = Smart Card mode.
1 = UART mode.
Note1:
When operating in UART mode, user must set CONSEL (SC_CTL[5:4]) = 00 and
AUTOCEN (SC_CTL[3]) = 0.
Note2:
When operating in Smart Card mode, user must set UARTEN (SC_UARTCTL[0])
= 0.
Note3:
When UART mode is enabled, hardware will generate a reset SC event to reset
FIFO and internal state machine.