SN8P26L38
8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 123
Version 1.5
12.3
UART RECEIVER CONTROL REGISTER
URRX initial value = xxx0000x
0A5H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
URRX
URXEN
URXS1
URXS0
URXPEN
URXPS
URXPC
URXM
-
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
-
After reset
0
0
0
0
0
0
0
-
Bit 7
URXEN:
UART RX control bit.
0 = Disable UART RX. URX pin keeps and returns to GPIO function.
1 = Enable UART RX. URX pin receives UART data.
Bit[6:5]
URXS1, URXS0:
UART RX status indicator.
00 = No data received.
01 = Data received, but parity checking error occurrence.
10, 11 = Data received successfully.
Bit 4
URXPEN:
UART RX parity bit check function control bit.
0 = Disable UART RX parity bit check function. The data stream doesn’t include parity bit.
1 = Enable UART RX parity bit check function. The data stream includes parity bit.
Bit 3
URXPS:
UART RX parity bit format control bit.
0 = UART RX parity bit format is even parity.
1= UART RX parity bit format is odd parity.
Bit 2
URXPC:
UART RX parity bit checking status bit.
0 = UART RX parity bit checking is error.
1 = UART RX parity bit checking is correct.
Bit 1
URXM:
UART RX data buffer length control bit.
0 = 1-byte.
1 = 2-byte.
12.4
UART TRANSMITTER CONTROL REGISTER
URTX initial value = xxx0000x
0A4H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
URTX
-
-
-
UTXEN
UTXPEN
UTXPS
UTXM
-
Read/Write
-
-
-
R/W
R/W
R/W
R/W
-
After reset
-
-
-
0
0
0
0
-
Bit 4
UTXEN:
UART TX control bit.
0 = Disable UART TX. UTX pin keeps and returns to GPIO function.
1 = Enable UART TX. UTX pin transmits UART data.
Bit 3
UTXPEN:
UART TX parity bit check function control bit.
0 = Disable UART TX parity bit check function. The data stream doesn’t include parity bit.
1 = Enable UART TX parity bit check function. The data stream includes parity bit.
Bit 2
UTXPS:
UART TX parity bit format control bit.
0 = UART TX parity bit format is even parity.
1= UART TX parity bit format is odd parity.
Bit 1
UTXM:
UART TX data buffer length control bit.
0 = 1-byte.
1 = 2-byte.