EasyManua.ls Logo

APPOTECH CW6632B - Page 80

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...
74 8.2 UART1
CW6632B Bluetooth 3.0 Audio Player SOC Version 1.0.0
Copyright ©2015, www.appotech.com. All Rights Reserved.
Access
R/W
R/W
R/W
R/W
R/W
R/W
-
R/W
UTSBS: Stop Bit Select
0 = 1 bit as Stop Bit
1 = 2 bits as Stop Bit
UTTXNB: The ninth bit data of transmitter buffer. Write the ninth bit into this location that you want to transmit
NBITEN: Nine-BIT mode Enable Bit
0 = Eight-bit mode
1 = Nine-bit mode
UTEN: UART Enable Bit
0 = Disable UART module
1 = Enable UART module
TXIE: Transmit Interrupt Enable
0 = Transmit interrupt disable
1 = Transmit interrupt enable
RXIE: Receive Interrupt Enable
0 = Normal Receive interrupt disable or AUTO DMA mode Receive one word Interrupt disable
1 = Normal Receive interrupt enable or AUTO DMA mode Receive one word Interrupt enable
OVERFLOWIE: Receive DMA overflow interrupt enable
0 = overflow Interrupt disable
1 = overflow Interrupt enable
DMASEL:AUTO DMA choose
0 = AUTO DMA mode off
1= AUTO DMA mode on
Register 8-8 UART1STA UART1 status
Position
7
6
5
4
3
2
1
0
Name
UART_GIIE
-
UTRXNB
RX_BYTE_HIGH
RXIF
TXIF
OVERFLOWIF
RXKICK
Default
0
-
x
0
0
1
0
0
Access
R/W
-
R/W
RO
R/W
R/W
R/W
WO
UART_GIE:UART Global Interrupt 15 Enable
0 = UART Global I Interrupt disable
1 = UART Global I Interrupt enable
UTRXNB: The ninth bit data of receiver buffer
RX_BYTE_HIGH : receive data high byte(only for DMA)
0 = waiting receive data low byte
1 = waiting receive data high byte
RXIF: UART RX Interrupt Flag
0 = Normal Receive or AUTO DMA mode Receive one word not done
1 = Normal Receive or AUTO DMA mode Receive one word done

Table of Contents