RL78/G1P
CHAPTER 11 SERIAL ARRAY UNIT
R01UH0895EJ0100 Rev.1.00
455
Nov 29, 2019
Figure 11-116. Flowchart of SNOOZE Mode Operation (Normal Operation/Abnormal Operation <1>)
Setting start
Does TSFmn = 0 on all
channels?
No
Yes
Writing 1 to the STmn bit
SEmn = 0
Setting SSCm register
(SWCm = 1, SSECm = 0)
Entered the STOP mode
Writing 1 to the SSmn bit
SEmn = 1
The operation of all channels is also stopped to switch to the
STOP mode.
SNOOZE mode setting
f
CLK
supplied to the SAU is stopped.
<1>
<2>
<3>
<4>
<5>
<7>
Channel 1 is specified for UART reception.
(EOCmn: set to enable error interrupt)
<6>
Reading receive data to
RxDq (=SDRm1[7:0])
<9>
<8>
<10>
<11>
The mode switches from SNOOZE to normal operation.
Communication wait status
SAU default setting
Clear interrupt request flag (XXIF), reset interrupt mask (XXMK)
and set interrupt enable (EI = 1).
Enable interrupt
RxDq edge detected
(Entered the SNOOZE mode)
Clock supply
(UART receive operation)
Transfer end interrupt (INTSRq) or
error interrupt (INTSREq) generated?
Nor
m
al o
p
e
rat
io
n
Normal ope
ra
tion
ST
O
P
mo
de
SNO
O
ZE mo
de
Writing 1 to the STmn bit
Clear SWCm bit to 0
Reset SNOOZE mode setting
To operation stop status (SEm1 = 0)
INTSRq
Reading receive data to
RxDq (=SDRm1[7:0])
Writing 1 to the STm1 bit
Clear SWCm bit to 0
INTSREq
Error processing
Normal processing
Writing 1 to the SSmn bit
To communication wait status (SEmn = 1)
Writing 1 to the SSmn bit
Remarks 1.
<1> to <11> in the figure correspond to <1> to <11> in
Figure 11-114 Timing Chart of SNOOZE
Mode Operation (Normal Operation Mode)
and
Figure 11-115 Timing Chart of SNOOZE Mode
Operation (Abnormal Operation <1>)
.
2.
m = 0; q = 0
Summary of Contents for RL78/G1P
Page 770: ...RL78 G1P R01UH0895EJ0100 ...