NEC V850E/Dx3 Preliminary User's Manual page 515

32-bit single-chip microcontroller
Table of Contents

Advertisement

Asynchronous Serial Interface (UARTA)
Bit position
7
Downloaded from
Elcodis.com
electronic components distributor
(5)
UAnSTR - UARTAn status register
The UAnSTR register is an 8-bit register that displays the UARTAn transfer
status and reception error contents.
Access
This register can be read or written in 8-bit or 1-bit units.
Address
<base> + 4
H
Initial Value
00
. This register is cleared by any reset.
H
The initialization conditions are shown below.
Register/Bit
UAnSTR register
UAnTSF bit
UAnPE, UAnFE, UAnOVE bits
7
UAnTSF
R
R/W
a)
These bits can only be cleared by writing, They cannot be set by writing 1 (even if
1 is written, the value is retained).
Table 16-5
UAnSTR register contents (1/2)
Bit name
Function
UAnTSF
Transfer status flag:
0: – When the UAnPWR bit = 0 or the UAnTXE bit = 0 has been set.
– When, following transfer completion, there was no next data transfer from
UAnTX register
1: Write to UAnTXB bit
The UAnTSF bit is always 1 when performing continuous transmission. When
initializing the transmission unit, check that the UAnTSF bit = 0 before performing
initialization. The transmit data is not guaranteed when initialization is performed
while the UAnTSF bit = 1.
Preliminary User's Manual U17566EE1V2UM00
Initialization conditions
• Reset
• UAnCTL0.UAnPWR = 0
• UAnCTL0.UAnTXE = 0
• 0 write
• UAnCTL0.UAnRXE = 0
6
5
4
0
0
0
R/W
R/W
Chapter 16
3
2
1
0
UAnPE
UAnFE
UAnOVE
a
a
R/W
R/W
R/W
0
a
R/W
515

Advertisement

Table of Contents
loading

Table of Contents