Download Print this page

Sleep Mode; Transition To Sleep Mode; Exit From Sleep Mode; Software Standby Mode - Renesas F-ZTAT H8 Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for F-ZTAT H8 Series:

Advertisement

21.3

Sleep Mode

21.3.1

Transition to Sleep Mode

When the SSBY bit is cleared to 0 in SYSCR, execution of the SLEEP instruction causes a
transition from the program execution state to sleep mode. Immediately after executing the SLEEP
instruction the CPU halts, but the contents of its internal registers are retained. The DMA
controller (DMAC), refresh controller, and on-chip supporting modules do not halt in sleep mode.
Modules which have been placed in standby by the module standby function, however, remain
halted.
21.3.2

Exit from Sleep Mode

Sleep mode is exited by an interrupt, or by input at the RES or STBY pin.
Exit by Interrupt: An interrupt terminates sleep mode and causes a transition to the interrupt
exception handling state. Sleep mode is not exited by an interrupt source in an on-chip supporting
module if the interrupt is disabled in the on-chip supporting module. Sleep mode is not exited by
an interrupt other than NMI if the interrupt is masked by the I and UI bits in CCR and IPR.
Exit by RES
RES Input: Low input at the RES pin exits from sleep mode to the reset state.
RES
RES
Exit by STBY
STBY Input: Low input at the STBY pin exits from sleep mode to hardware standby
STBY
STBY
mode.
21.4

Software Standby Mode

21.4.1

Transition to Software Standby Mode

To enter software standby mode, execute the SLEEP instruction while the SSBY bit is set to 1 in
SYSCR.
In software standby mode, current dissipation is reduced to an extremely low level because the
CPU, clock, and on-chip supporting modules all halt. The DMAC and on-chip supporting modules
are reset. As long as the specified voltage is supplied, however, CPU register contents and on-chip
RAM data are retained. The settings of the I/O ports and refresh controller* are also held.
Note: * RTCNT and bits 7 and 6 of RTMCSR are initialized. Other bits and registers hold their
previous states.
Section 21 Power-Down State
Rev. 7.00 Sep 21, 2005 page 669 of 878
REJ09B0259-0700

Hide quick links:

Advertisement

loading