Hitachi H8S/2378, H8S/2378R Series Hardware Manual page 686

16 bit single-chip microcomputer
Table of Contents

Advertisement

Smart Card Interface Mode (When SMIF in SCMR is 1)
Bit
Bit Name
7
TDRE
6
RDRF
Rev. 1.0, 09/01, page 642 of 904
Initial Value
R/W
1
R/(W)*
0
R/(W)*
Description
Transmit Data Register Empty
Indicates whether TDR contains transmit data.
[Setting conditions]
When the TE bit in SCR is 0
When data is transferred from TDR to TSR,
and data writing to TDR is enabled.
[Clearing conditions]
When 0 is written to TDRE after reading TDRE
= 1
When the DMAC or DTC is activated by a TXI
interrupt request and transfers data to TDR
Receive Data Register Full
Indicates that the received data is stored in RDR.
[Setting condition]
When serial reception ends normally and
receive data is transferred from RSR to RDR
[Clearing conditions]
When 0 is written to RDRF after reading RDRF
= 1
When the DMAC or DTC is activated by an
RXI interrupt and transferred data from RDR
The RDRF flag is not affected and retains its
previous value when the RE bit in SCR is cleared
to 0. Exercise care because if reception of the
next data is completed while the RDRF flag is set
to 1, an overrun error occurs and receive data will
be lost.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents