![NEC V850/SC1 Скачать руководство пользователя страница 440](http://html.mh-extra.com/html/nec/v850-sc1/v850-sc1_user-manual_248178440.webp)
CHAPTER 11 SERIAL INTERFACE FUNCTION
User’s Manual U15109EJ3V0UD
438
(2) Asynchronous serial interface status registers 0 to 3 (ASIS0 to ASIS3)
When a receive error occurs in asynchronous serial interface mode, these registers indicate the type of error.
ASISn can be read using an 8-bit or 1-bit memory manipulation instruction.
RESET input sets these registers to 00H.
After reset:
00H
R
Address: ASIS0:
FFFFF302H
ASIS1:
FFFFF312H
ASIS2:
FFFFF232H
ASIS3:
FFFFF2B2H
7
6
5
4
3
<2>
<1>
<0>
ASISn
0
0
0
0
0
PEn
FEn
OVEn
(n = 0 to 3)
PEn
Parity error flag
0
No parity error
1
Parity error
(Transmit data parity does not match)
FEn
Framing error flag
0
No framing error
1
Framing error
Note 1
(Stop bit not detected)
OVEn
Overrun error flag
0
No overrun error
1
Overrun error
Note 2
(Next receive operation was completed before data was read from receive buffer register)
Notes 1.
Even if the stop bit length has been set as two bits by setting bit 2 (SLn) of asynchronous serial
interface mode register n (ASIMn), stop bit detection during a receive operation only applies to a stop
bit length of 1 bit.
2.
Be sure to read the contents of receive buffer register n (RXBn) when an overrun error has occurred.
Until the contents of RXBn are read, further overrun errors will occur when receiving data.