eUSCI_A UART Registers
787
SLAU367P – October 2012 – Revised April 2020
Copyright © 2012–2020, Texas Instruments Incorporated
Enhanced Universal Serial Communication Interface (eUSCI) – UART Mode
30.4.1 UCAxCTLW0 Register
eUSCI_Ax Control Word Register 0
Figure 30-12. UCAxCTLW0 Register
15
14
13
12
11
10
9
8
UCPEN
UCPAR
UCMSB
UC7BIT
UCSPB
UCMODEx
UCSYNC
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
7
6
5
4
3
2
1
0
UCSSELx
UCRXEIE
UCBRKIE
UCDORM
UCTXADDR
UCTXBRK
UCSWRST
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-1
Can be modified only when UCSWRST = 1.
Table 30-8. UCAxCTLW0 Register Description
Bit
Field
Type
Reset
Description
15
UCPEN
RW
0h
Parity enable
0b = Parity disabled
1b = Parity enabled. Parity bit is generated (UCAxTXD) and expected
(UCAxRXD). In address-bit multiprocessor mode, the address bit is included in
the parity calculation.
14
UCPAR
RW
0h
Parity select. UCPAR is not used when parity is disabled.
0b = Odd parity
1b = Even parity
13
UCMSB
RW
0h
MSB first select. Controls the direction of the receive and transmit shift register.
0b = LSB first
1b = MSB first
12
UC7BIT
RW
0h
Character length. Selects 7-bit or 8-bit character length.
0b = 8-bit data
1b = 7-bit data
11
UCSPB
RW
0h
Stop bit select. Number of stop bits.
0b = One stop bit
1b = Two stop bits
10-9
UCMODEx
RW
0h
eUSCI_A mode. The UCMODEx bits select the asynchronous mode when
UCSYNC = 0.
00b = UART mode
01b = Idle-line multiprocessor mode
10b = Address-bit multiprocessor mode
11b = UART mode with automatic baud-rate detection
8
UCSYNC
RW
0h
Synchronous mode enable
0b = Asynchronous mode
1b = Synchronous mode
7-6
UCSSELx
RW
0h
eUSCI_A clock source select. These bits select the BRCLK source clock.
00b = UCLK
01b = ACLK
10b = SMCLK
11b = SMCLK
5
UCRXEIE
RW
0h
Receive erroneous-character interrupt enable
0b = Erroneous characters rejected and UCRXIFG is not set.
1b = Erroneous characters received set UCRXIFG.
4
UCBRKIE
RW
0h
Receive break character interrupt enable
0b = Received break characters do not set UCRXIFG.
1b = Received break characters set UCRXIFG.