Renesas R5S72643 User Manual

Page of 2152
 
Section 33   Power-Down Modes 
Page 1812 of 2108 
 
R01UH0134EJ0400  Rev. 4.00 
 
 Sep 
24, 
2014 
SH7262 Group, SH7264 Group
Transition to deep standby mode
Read STBCR1
Read DSFR and 
clear the flags of DSFR
Execute the SLEEP instruction
Set the corresponding bit in  
DSSSR as needed
Set the corresponding bit in  
DSCTR as needed
Set the corresponding bit in  
DSESR as needed
Set the realtime clock registers
as needed
Perform read/write to the same
arbitrary address in each 
retention page of the on-chip 
data-retention RAM
Set the STBY and DEEP bits 
 in STBCR1 to 1
Set the RRAMKP bit in PRAMKP  
as needed
Transfer data that needs to be  
retained to the corresponding  
area
 
Figure 33.2   Flowchart of Transition to Deep Standby Mode