
408
Chapter 12
Asynchronous Serial Interface A (UARTA)
User’s Manual U16702EE3V2UD00
Figure 12-2:
UARTAn Control Register 0 (UAnCTL0) Format (2/2)
Remark:
For details of the parity, refer to
12.5.9 Types and operation of parity
.
UAnDIR
Selection of transfer direction mode (MSB/LSB)
0
MSB first
1
LSB first
This bit can be rewritten only when the UAnPWR bit = 0 or when UAnTXE bit = UAnRXE bit = 0.
UAnPS1
UAnPS0
Selection of parity for transmission
Selection of parity for reception
0
0
No parity output
Reception without parity
0
1
Output 0 parity
Reception with 0 parity
1
0
Output odd parity
Identified as odd parity
1
1
Output even parity
Identified as even parity
•
This bit can be rewritten only when the UAnPWR bit = 0 or when the UAnTXE bit = UAnRXE bit = 0.
•
If “Reception with 0 parity” is selected for reception, the parity is not identified.
•
Consequently, the UAnPE bit of the UAnSTR register is not set, and an error interrupt is not generated even if
a parity error occurs.
UAnCL
Specification of data character length of one frame of transmit/receive data.
0
7 bits
1
8 bits
This bit can be rewritten only when the UAnPWR bit = 0 or when the UAnTXE bit = UAnRXE bit = 0.
UAnSL
Specification of stop bit length of transmit data.
0
1 bit
1
2 bits
This bit can be rewritten only when the UAnPWR bit = 0 or when the UAnTXE bit = UAnRXE bit = 0.
electronic components distributor