CHAPTER 10 SERIAL INTERFACE FUNCTION
User’s Manual U13850EJ6V0UD
403
(2) Asynchronous serial interface status registers 0, 1 (ASIS0, ASIS1)
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 clears these registers to 00H.
After reset:
00H
R
Address: FFFFF302H, FFFFF312H
7
6
5
4
3
<2>
<1>
<0>
ASISn
0
0
0
0
0
PEn
FEn
OVEn
(n = 0, 1)
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 to 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.
Содержание V850/SB1
Страница 2: ...User s Manual U13850EJ6V0UD 2 MEMO ...