English
Language : 

HD6473032F16 Datasheet, PDF (541/847 Pages) Renesas Technology Corp – Hardware Manual Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Series
Section 14 Smart Card Interface
to enable interrupt requests, when a transmit error occurs and the ERS flag is set to 1, a
transmit/receive-error interrupt (ERI) is requested.
The timing of TEND flag setting depends on the GM bit in SMR. The timing is shown in figure
14.6.
If the TXI interrupt activates the DMAC, the number of bytes designated in the DMAC can be
transmitted automatically, including automatic retransmit.
For details, see Interrupt Operations and Data Transfer by DMAC in this section.
Start
Initialize
Start transmitting
No
FER/ERS = 0 ?
Yes
No
TEND = 1 ?
Yes
Write data in TDR and clear
TDRE flag to 0 in SSR
Error handling
No
All data
transmitted ?
Yes
No
FER/ERS = 0 ?
Yes
No
TEND = 1 ?
Yes
Clear TE bit to 0
Error handling
End
Figure 14.4 Transmit Flowchart (Example)
Rev. 3.00 Mar 21, 2006 page 511 of 814
REJ09B0302-0300