English
Language : 

HD6413007F20 Datasheet, PDF (472/798 Pages) Renesas Technology Corp – Hardware Manual Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Series
13. Serial Communication Interface
The CPU can always read and write SSR, but cannot write 1 in the TDRE, RDRF, ORER, PER,
and FER flags. These flags can be cleared to 0 only if they have first been read while set to 1. The
TEND and MPB flags are read-only bits that cannot be written.
SSR is initialized to H'84 by a reset and in standby mode.
Bit 7⎯Transmit Data Register Empty (TDRE): Indicates that the SCI has loaded transmit data
from TDR into TSR and the next serial data can be written in TDR.
Bit 7
TDRE
0
1
Description
TDR contains valid transmit data
[Clearing conditions]
• Read TDRE when TDRE = 1, then write 0 in TDRE
• The DMAC writes data in TDR
TDR does not contain valid transmit data
[Setting conditions]
(Initial value)
• The chip is reset or enters standby mode
• The TE bit in SCR is cleared to 0
• TDR contents are loaded into TSR, so new data can be written in TDR
Bit 6⎯Receive Data Register Full (RDRF): Indicates that RDR contains new receive data.
Bit 6
RDRF
Description
0
RDR does not contain new receive data
[Clearing conditions]
(Initial value)
• The chip is reset or enters standby mode
• Read RDRF when RDRF = 1, then write 0 in RDRF
• The DMAC reads data from RDR
1
RDR contains new receive data
[Setting condition]
Serial data is received normally and transferred from RSR to RDR
Note:
The RDR contents and the RDRF flag are not affected by detection of receive errors or by
clearing of the RE bit to 0 in SCR. They retain their previous values. If the RDRF flag is still
set to 1 when reception of the next data ends, an overrun error will occur and the receive
data will be lost.
Rev.5.00 Sep. 12, 2007 Page 442 of 764
REJ09B0396-0500