English
Language : 

HD6417705 Datasheet, PDF (456/739 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7700 Series
Figure 16.6 shows a flowchart for the transmit data stop function.
Start of transmission
Set transmit data stop
number in SCTDSR
[1]
Set TSE and TSIE bits
in SCFCR to 1
Read TSF bit in SCSSR;
if it is 1, clear to 0 after reading [2]
1 from TSF bit
[1] Set the transmit data stop number in SCTDSR, then set
the TSE bit in SCFCR to 1.When an interrupt is enabled,
also set the TSIE bit to 1.
[2] If the TSF bit in SCSSR is set to 1, clear it to 0 after
reading 1. When transmit data is written to SCFTDR in
this state, transmit operation is started.
[3] If the TSF bit is set to 1 (transmit data stop number is
matched with transmit data number), transmit operation
is stopped. If the TSIE bit is set to 1, an interrupt is
generated.
Serial transmission continuation procedure:
Set the TCRST bit in SCFCR to 1, clear transmit count, and
clear the TCRST bit to 0. Then follow steps 1, 2, and 3.
[3]
TSF = 1 ?
No
Yes
End of transmission
Figure 16.6 Transmit Data Stop Function Flowchart
Rev. 2.00, 09/03, page 410 of 690