EasyManua.ls Logo

APPOTECH CW6632B - Page 81

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...
8 Universal Asynchronous Receiver/Transmitter (UART) 75
CW6632B Bluetooth 3.0 Audio Player SOC Version 1.0.0
Copyright ©2015, www.appotech.com. All Rights Reserved.
In normal mode , ,it become “1” every byte, but in DMA mode ,it become “1” every word.
TXIF: UART TX Interrupt Flag
0 = UART transmit not done
1 = UART transmit done
Writing data to UTBUF or Writing UARTDMATXCNT will clear this flag.
OVERFLOWIF: UART overflow Interrupt Flag
0 = UART overflow not done
1 = UART overflow done
RXKICK: UART DMA receive KICK start
0 = not KICK start
1 = KICK start
Register 8-9 UART1DIV UART1 divide register
Position
7
6
5
4
3
2
1
0
Name
UART1DIV
Default
0
0
0
0
0
0
0
0
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Register 8-10 UART1BAUD UART1 Baud Rate register
Position
7
6
5
4
3
2
1
0
Name
UART1BAUD
Default
x
x
x
x
x
x
x
x
Access
WO
WO
WO
WO
WO
WO
WO
WO
Baud Rate =Fsys clock / [(UARTDIV+1) ( UART1BAUD + 1)]
Register 8-11 UART1DATA UART1 Data
Position
7
6
5
4
3
2
1
0
Name
UART1DATA
Default
x
x
x
x
x
x
x
x
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Write this location will load the data to transmitter buffer. And read this location will read the data from the receiver
buffer.
Register 8-12 UARTDMATXCNT UART1 DMA Transmit counter
Portion
7
6
5
4
3
2
1
0
Name
UARTDMATXCNT
Default
x
x
x
x
x
x
X
x
Access
WO
WO
WO
WO
WO
WO
WO
WO
Nbyte = UARTDMATXCNT + 1

Table of Contents