English
Language : 

HD64F3337YCP16V Datasheet, PDF (578/749 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
22.3.5 Application Notes
1. The I/O ports retain their present states in software standby mode. Thus, current dissipation
caused by the output current is not reduced.
BSET
SLEEP
BSET
MOV. W
MOV. W
MOV. W
MOV. W
JSR
•
•
•
#7, @SYSCR:8
•
•
•
•
•
•
#7, @SYSCR:8
#H' 0180, R0
R0, @H'FF00
#H' 5470, R0
R0, @H'FF02
@H'FF00
•
•
•
; Set the SSBY bit
; Execute the SLEEP instruction
Replace the underlined part
(SLEEP instruction) with
the code shown below.
; Set the SSBY bit
; Write the “SLEEP” code (H'0180)
; to RAM
; Write the “RTS” code (H'5470)
; to RAM
; Subroutine branch to that location
* Registers and RAM addresses are arbitrary.
Note:
When a SLEEP instruction is executed in ROM, the current responsible for this bug also
flows when a sleep mode transition is made. Therefore, to further reduce current
dissipation in sleep mode, also, software should be modified so that the SLEEP instruction
is executed in RAM when making a sleep mode transition.
546