NEC mPD78F0730 Preliminary User's Manual page 229

8-bit single-chip microcontroller
Table of Contents

Advertisement

(2) Asynchronous serial interface reception error status register 6 (ASIS6)
This register indicates an error status on completion of reception by serial interface UART6. It includes three
error flag bits (PE6, FE6, OVE6).
This register is read-only by an 8-bit memory manipulation instruction.
Reset signal generation sets this register to 00H if bit 7 (POWER6) and bit 5 (RXE6) of ASIM6 = 0. 00H is read
when this register is read. If a reception error occurs, read ASIS6 and then read receive buffer register 6 (RXB6)
to clear the error flag.
Figure 10-3. Format of Asynchronous Serial Interface Reception Error Status Register 6 (ASIS6)
Address: FF53H After reset: 00H R
Symbol
ASIS6
Cautions 1. The operation of the PE6 bit differs depending on the set values of the PS61 and PS60 bits of
Downloaded from
Elcodis.com
electronic components distributor
CHAPTER 10 SERIAL INTERFACE UART6
7
6
0
0
PE6
0
If POWER6 = 0 and RXE6 = 0, or if ASIS6 register is read
1
If the parity of transmit data does not match the parity bit on completion of reception
FE6
0
If POWER6 = 0 and RXE6 = 0, or if ASIS6 register is read
1
If the stop bit is not detected on completion of reception
OVE6
0
If POWER6 = 0 and RXE6 = 0, or if ASIS6 register is read
1
If receive data is set to the RXB6 register and the next reception operation is completed before the
data is read.
asynchronous serial interface operation mode register 6 (ASIM6).
2. The first bit of the receive data is checked as the stop bit, regardless of the number of stop
bits.
3. If an overrun error occurs, the next receive data is not written to receive buffer register 6
(RXB6) but discarded.
4. If data is read from ASIS6, a wait cycle is generated.
CAUTIONS FOR WAIT.
Preliminary User's Manual U19014EJ1V0UD
5
4
3
0
0
0
Status flag indicating parity error
Status flag indicating framing error
Status flag indicating overrun error
2
1
0
PE6
FE6
OVE6
For details, see CHAPTER 24
229

Advertisement

Table of Contents
loading

Table of Contents