UPD78F0138 NEC, UPD78F0138 Datasheet - Page 303

no-image

UPD78F0138

Manufacturer Part Number
UPD78F0138
Description
(UPD78xxxx) 8-Bit Single-Chip Microcontrollers
Manufacturer
NEC
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD78F0138M1GK-9ET
Manufacturer:
NEC
Quantity:
115
Part Number:
UPD78F0138M5GB
Manufacturer:
NEC
Quantity:
20 000
(3) Asynchronous serial interface transmission status register 6 (ASIF6)
Address: FF55H After reset: 00H R
Cautions 1. To transmit data continuously, write the first transmit data (first byte) to the TXB6 register.
Symbol
ASIF6
This register indicates the status of transmission by serial interface UART6. It includes two status flag bits
(TXBF6 and TXSF6).
Transmission can be continued without disruption even during an interrupt period, by writing the next data to the
TXB6 register after data has been transferred from the TXB6 register to the TXS6 register.
This register is read-only by an 8-bit memory manipulation instruction.
RESET input clears this register to 00H if bit 7 (POWER6) and bit 6 (TXE6) of ASIM6 = 0.
Figure 14-7. Format of Asynchronous Serial Interface Transmission Status Register 6 (ASIF6)
2. To initialize the transmission unit upon completion of continuous transmission, be sure to
TXBF6
TXSF6
Be sure to check that the TXBF6 flag is “0”. If so, write the next transmit data (second byte)
to the TXB6 register. If data is written to the TXB6 register while the TXBF6 flag is “1”, the
transmit data cannot be guaranteed.
check that the TXSF6 flag is “0” after generation of the transmission completion interrupt,
and then execute initialization. If initialization is executed while the TXSF6 flag is “1”, the
transmit data cannot be guaranteed.
7
0
0
1
0
1
If POWER6 = 0 or TXE6 = 0, or if data is transferred to transmit shift register 6 (TXS6)
If data is written to transmit buffer register 6 (TXB6) (if data exists in TXB6)
If POWER6 = 0 or TXE6 = 0, or if the next data is not transferred from transmit buffer register 6
(TXB6) after completion of transfer
If data is transferred from transmit buffer register 6 (TXB6) (if data transmission is in progress)
6
0
CHAPTER 14 SERIAL INTERFACE UART6
5
0
User’s Manual U16228EJ2V0UD
Transmit shift register data flag
4
0
Transmit buffer data flag
3
0
2
0
TXBF6
1
TXSF6
0
303

Related parts for UPD78F0138