191
CHAPTER 13 SERIAL INTERFACE (UART0)
Preliminary User’s Manual U13420EJ2V0UM00
(2) Asynchronous serial interface status register (ASIS0)
When a receive error occurs during UART mode, this register indicates the type of error.
ASIS0 can be read by an 8-bit memory manipulation instruction.
RESET input sets ASIS0 to 00H.
Figure 13-3. Format of Asynchronous Serial Interface Status Register (ASIS0)
Address: FFA1H After reset: 00H R
Symbol
7
6
5
4
3
2
1
0
ASIS0
0
0
0
0
0
PE0
FE0
OVE0
PE0
Parity error flag
0
No parity error
0
Parity error
(Incorrect parity bit detected)
FE0
Framing error flag
0
No framing error
1
Framing error
Note 1
(Stop bit not detected)
OVE0
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 a stop bit length is set to two bits by setting bit 2 (SL0) in the asynchronous serial interface
mode register (ASIM0), 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 the receive buffer register (RXB0) when an overrun error has occurred.
Until the contents of RXB0 are read, further overrun errors will occur when receiving data.
(3) Baud rate generator control register (BRGC0)
This register sets the serial clock for serial interface.
BRGC0 can be set by an 8-bit memory manipulation instruction.
RESET input sets BRGC0 to 00H.
Figure 13-4 shows the format of BRGC0.
Содержание mPD780065 Series
Страница 2: ...Preliminary User s Manual U13420EJ2V0UM00 2 MEMO ...
Страница 10: ...10 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 22: ...22 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 134: ...134 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 154: ...154 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 160: ...160 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 186: ...186 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 326: ...326 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 342: ...342 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 350: ...350 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...