Table 16.11 Ssr Status Flags And Receive Data Handling - Renesas H8S/2158 User Manual

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

Section 16 Serial Communication Interface (SCI, IrDA, and CRC)
Table 16.11 shows the states of the SSR status flags and receive data handling when a receive
error is detected. If a receive error is detected, the RDRF flag retains its state before receiving
data. Reception cannot be resumed while a receive error flag is set to 1. Accordingly, clear the
ORER, FER, PER, and RDRF bits to 0 before resuming reception. Figure 16.12 shows a sample
flow chart for serial data reception.

Table 16.11 SSR Status Flags and Receive Data Handling

SSR Status Flag
RDRF *
ORER
1
1
0
0
0
0
1
1
1
1
0
0
1
1
Note: * The RDRF flag retains the state it had before data reception.
Rev. 3.00 Jan 25, 2006 page 428 of 872
REJ09B0286-0300
FER
PER
0
0
1
0
0
1
1
0
0
1
1
1
1
1
Receive Data
Lost
Transferred to RDR
Transferred to RDR
Lost
Lost
Transferred to RDR
Lost
Receive Error Type
Overrun error
Framing error
Parity error
Overrun error + framing error
Overrun error + parity error
Framing error + parity error
Overrun error + framing error +
parity error

Advertisement

Table of Contents
loading

Table of Contents