EasyManua.ls Logo

APPOTECH CW6632B - Page 78

Default Icon
133 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
72 8.1 UART0
CW6632B Bluetooth 3.0 Audio Player SOC Version 1.0.0
Copyright ©2015, www.appotech.com. All Rights Reserved.
UTRXINV: Receive Invert Selection Bit
0 = Receiver input without inverted
1 = Receiver input inverted
TXIE: Transmit Interrupt Enable
0 = Transmit interrupt disable
1 = Transmit interrupt enable
RXIE: Receive Interrupt Enable
0 = Receiver interrupt disable
1 = Receiver interrupt enable
Register 8-2 UARTSTA UART0 status
Position
7
6
5
4
3
2
1
0
Name
UTRXNB
FEF
RXIF
TXIF
-
-
-
PSEL
Default
x
x
0
1
-
-
-
0
Access
R/W
R/W
R/W
RO
-
-
-
R/W
UTRXNB: The ninth bit data of receiver buffer
FEF: Frame Error Flag
0 = the stop bit is „1‟ in the last received frame
1 = the stop bit is „0‟ in the last received frame
RXIF: RX Interrupt Flag
0 = RX not done
1 = RX done
TXIF: TX Interrupt Flag
0 = TX not done
1 = TX done
Writing data to UTBUF will clear this flag.
PSEL: UART0 Port Select
0 = Select UART0RX0 and UART0TX0
UART0RX0: P34
UART0TX0: P16
1 = Select UART0RX1 and UART0TX1
UART0RX1: P00
UART0TX1: P01
Register 8-3 UARTBAUDL UART0 Baud Rate Low Byte
Position
7
6
5
4
3
2
1
0
Name
UARTBAUDL
Default
x
x
x
x
x
x
x
x
Access
WO
WO
WO
WO
WO
WO
WO
WO

Table of Contents