Renesas RL78/G1P Hardware User Manual page 476

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P
Figure 11-118. Flowchart of SNOOZE Mode Operation (Abnormal Operation <2>)
<1>
<2>
<3>
<4>
<5>
<6>
<7>
<7>
<8>
<9>
(Caution and Remarks are listed on the next page.)
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Setting start
Does TSFmn = 0 on all
channels?
Yes
SIRm1 = 0007H
Clear the all error flags
Writing 1 to the STmn bit
 SEmn = 0
Channel 1 is specified for UART reception.
SAU default setting
(EOCmn: set to enable error interrupt)
Setting SSCm register
SNOOZE mode setting (error interrupt generation stop)
(SWCm = 1, SSECm = 1)
Writing 1 to the SSmn bit
Communication wait status
 SEmn = 1
Setting interrupt
f
Entered the STOP mode
Reading receive data to
The mode switches from SNOOZE to normal operation.
RxDq (=SDRm1[7:0])
Writing 1 to the STm1 bit
To operation stop status (SEm1 = 0)
Setting SSCm register
Reset SNOOZE mode setting
(SWCm = 0, SSECm = 0)
Normal processing
CHAPTER 11 SERIAL ARRAY UNIT
No
The operation of all channels is also stopped to switch to the
STOP mode.
Clear interrupt request flag (XXIF), reset interrupt mask (XXMK)
and set interrupt disable (EI = 0).
supplied to the SAU is stopped.
CLK
RxDq edge detected
(Entered the SNOOZE mode)
Clock supply
(UART receive operation)
Reception error detected
If an error occurs, because the CPU switches to the
STOP status again, the error flag is not set.
RxDq edge detected
(Entered the SNOOZE mode)
Clock supply
(UART receive operation)
Transfer end interrupt (INTSRq) generated
457

Advertisement

Table of Contents
loading

Table of Contents