517
Asynchronous Serial Interface (UARTA)
Chapter 16
Preliminary User’s Manual U17566EE1V2UM00
(6)
UAnRX - UARTAn receive data register
The UAnRX register is an 8-bit buffer register that stores parallel data
converted by the receive shift register.
The data stored in the receive shift register is transferred to the UAnRX
register upon completion of reception of 1 byte of data.
During LSB-first reception when the data length has been specified as 7 bits,
the receive data is transferred to bits 6 to 0 of the UAnRX register and the MSB
always becomes 0. During MSB-first reception, the receive data is transferred
to bits 7 to 1 of the UAnRX register and the LSB always becomes 0.
When an overrun error (UAnOVE) occurs, the receive data at this time is not
transferred to the UAnRX register and is discarded.
Access
This register can be read only in 8-bit units.
Address
<base> + 6
H
Initial Value
FF
H
. This register is cleared by any reset.
In addition to reset input, the UAnRX register can be set to FF
H
by clearing the
UAnCTL0.UAnPWR bit to 0.
(7)
UAnTX - UARTAn transmit data register
The UAnTX register is an 8-bit register used to set transmit data.
Access
This register can be read or written in 8-bit units.
Address
<base> + 7
H
Initial Value
FF
H
. This register is cleared by any reset.
7
6
5
4
3
2
1
0
Receive data
R
7
6
5
4
3
2
1
0
Transmit data
R/W
electronic components distributor