SN8P2977
8-Bit Micro-Controller with Regulator, PGIA, 24-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 90
Version 1.7
9.6 UART RECEIVER CONTROL REGISTER
0E3H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
URRX
URXEN
URXPEN
URXPS
URXPC
UFMER
URS2
URS1
URS0
Read/Write
R/W
R/W
R/W
R
R
R/W
R/W
R/W
After reset
0
0
0
0
0
0
0
0
Bit [2:0]
URS[2:0]:
UART per-scalar select bit.
000 = Fhosc/1, 001 = Fhosc/2, 010 = Fhosc/4, 011 = Fhosc/8, 100 = Fhosc/16, 101 = Fhosc/32,
110 = Fhosc/64, 111 = Fhosc/128.
Bit 3
UFMER:
UART RX stream frame error flag bit.
0 = Collect UART frame.
1 = UART frame is error including start/stop bit, stream length.
Bit 4
URXPC:
UART RX parity bit checking flag.
0 = Parity bit is correct or no parity function.
1 = Parity bit is error.
Bit 5
UTXPS:
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 6
URXPEN:
UART RX parity bit control bit.
0 = Disable UART RX parity bit function. The data st
ream doesn’t include parity bit.
1 = Enable UART RX parity bit function. The data stream includes parity bit.
Bit 7
URXEN:
UART RX control bit.
0 = Disable UART RX. URX pin is GPIO mode or returns to GPIO status.
1 = Enable UART RX. URX pin exchanges from GPIO mode to UART RX mode.
9.7 UART TRANSMITTER CONTROL REGISTER
0E2H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
URTX
UTXEN
UTXPEN
UTXPS
-
URXBZ
UTXBZ
-
-
Read/Write
R/W
R/W
R/W
-
R
R
-
-
After reset
0
0
0
-
0
0
-
-
Bit 2
UTXBZ:
UART TX operating status flag.
0 = UART TX is idle or the end of processing.
1 = UART TX is busy and processing.
Bit 3
URXBZ:
UART RX operating status flag.
0 = UART RX is idle or the end of processing.
1 = UART RX is busy and processing.
Bit 5
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 6
UTXPEN:
UART TX parity bit control bit.
0 = Disable UART TX parity bit function. The data stream doesn’t include parity bit.
1 = Enable UART TX parity bit function. The data stream includes parity bit.
Bit 7
UTXEN:
UART TX control bit.
0 = Disable UART TX. UTX pin is GPIO mode or returns to GPIO status.
1 = Enable UART TX. UTX pin exchanges from GPIO mode to UART TX mode and idle high status.