516
Chapter 16
Asynchronous Serial Interface (UARTA)
Preliminary User’s Manual U17566EE1V2UM00
2
UAnPE
Parity error flag:
0: – When the UAnPWR bit = 0 or the UAnRXE bit = 0 has been set.
– When 0 has been written
1: When parity of data and parity bit do not match during reception.
•
The operation of the UAnPE bit is controlled by the settings of the
UAnCTL0.UAnPS1 and UAnCTL0.UAnPS0 bits.
•
The UAnPE bit can be read and written, but it can only be cleared by writing 0
to it, and it cannot be set by writing 1 to it. When 1 is written to this bit, the
value is retained.
1
UAnFE
Framing error flag
0: – When the UAnPWR bit = 0 or the UAnRXE bit = 0 has been set
– When 0 has been written
1: When no stop bit is detected during reception
•
Only the first bit of the receive data stop bits is checked, regardless of the
value of the UAnCTL0.UAnSL bit.
•
The UAnFE bit can be both read and written, but it can only be cleared by
writing 0 to it, and it cannot be set by writing 1 to it. When 1 is written to this
bit, the value is retained.
0
UAnOVE
Overrun error flag
0: – When the UAnPWR bit = 0 or the UAnRXE bit = 0 has been set.
– When 0 has been written
1: When receive data has been set to the UAnRXB register and the next receive
operation is completed before that receive data has been read
•
When an overrun error occurs, the data is discarded without the next receive
data being written to the receive buffer.
•
The UAnOVE bit can be both read and written, but it can only be cleared by
writing 0 to it. When 1 is written to this bit, the value is retained.
Table 16-5
UAnSTR register contents (2/2)
Bit position
Bit name
Function
electronic components distributor