Figure 14.7 Sample Serial Transmission Data Flowchart (Asynchronous Mode) - Renesas H8/36912 Series User Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8/36912 Series:
Table of Contents

Advertisement

[1]
[2]
[3]

Figure 14.7 Sample Serial Transmission Data Flowchart (Asynchronous Mode)

Downloaded from
Elcodis.com
electronic components distributor
Start transmission
Read TDRE flag in SSR
TDRE = 1
Yes
Write transmit data to TDR
All data transmitted?
No
Read TEND flag in SSR
TEND = 1
Yes
Break output?
Yes
Clear PDR to 0 and
set PCR to 1
Clear TE bit in SCR3 to 0
<End>
[1] Read SSR and check that the
TDRE flag is set to 1, then write
transmit data to TDR. When data is
written to TDR, the TDRE flag is
automaticaly cleared to 0.
[2] To continue serial transmission,
No
read 1 from the TDRE flag to
confirm that writing is possible,
then write data to TDR. When data
is written to TDR, the TDRE flag is
automaticaly cleared to 0.
[3] To output a break in serial
transmission, after setting PCR to 1
and PDR to 0, clear TxD in PMR1
Yes
to 0, then clear the TE bit in SCR3
to 0.
No
No
Rev. 1.00, 11/03, page 205 of 376

Advertisement

Table of Contents
loading

Table of Contents