Rev. 1.0, 02/00, page 455 of 1141
Read TEND flag in SSR1
TE= 0
Transition to standby
mode, etc.
Exit from standby
mode, etc.
Change
operating mode?
No
All data
transmitted?
TEND = 1
Yes
Yes
Yes
<Transmission>
No
No
[1]
[3]
[2]
TE= 1
Initialization
<Start of transmission>
[1] Data being transmitted is interrupted.
After exiting software standby
mode, etc., normal CPU transmis-
sion is possible by setting TE to 1,
reading SSR1, writing TDR1, and
clearing TDRE to 0.
[2] If TIE and TEIE are set to 1, clear
them to 0 in the same way.
[3] Includes module stop mode, watch
mode, subactive mode, and sub-
sleep mode.
Figure 22.24 Sample Flowchart for Mode Transition during Transmission