NEC mPD780344 Series User Manual page 291

8-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) Asynchronous serial interface status register 0 (ASIS0)
When a receive error occurs in UART mode, this register indicates the type of error.
ASIS0 can be read by an 8-bit memory manipulation instruction.
RESET input sets the value of this register to 00H.
Figure 16-4. Format of Asynchronous Serial Interface Status Register 0 (ASIS0)
Address: FFA1H After reset: 00H
Symbol
7
ASIS0
0
PE0
0
1
FE0
0
1
OVE0
0
1
Notes 1. Even if the stop bit length is set to 2 bits by setting bit 2 (SL0) in asynchronous serial interface mode
register 0 (ASIM0), stop bit detection during a receive operation only applies to a stop bit length of
1 bit.
2. Once an overrun error has occurred, further overrun errors will occur until the contents of RXB0 are
read.
(3) Baud rate generator control register 0 (BRGC0)
This register sets the serial clock for the serial interface.
BRGC0 is set by an 8-bit memory manipulation instruction.
RESET input sets the value of this register to 00H.
Figure 16-5 shows the format of BRGC0.
CHAPTER 16 SERIAL INTERFACE UART0
R
6
5
0
0
No parity error
Parity error
(Transmit data parity did not match)
No framing error
Note 1
Framing error
(Stop bit not detected)
No overrun error
Note 2
Overrun error
(Next receive operation was completed before data was read from receive buffer register
0 (RXB0))
User's Manual U15798EJ2V0UD
4
3
2
0
0
PE0
Parity error flag
Framing error flag
Overrun error flag
1
0
FE0
OVE0
291

Advertisement

Table of Contents
loading

Table of Contents