h8s-2172 Renesas Electronics Corporation., h8s-2172 Datasheet - Page 506

no-image

h8s-2172

Manufacturer Part Number
h8s-2172
Description
Renesas 16-bit Single-chip Microcomputer H8s Family H8s-2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
16.2
16.2.1
Transition to Sleep Mode: When the SLEEP instruction is executed while the SSBY bit in
SBYCR is set to 0, the CPU enters the sleep mode. In sleep mode, CPU operation stops but the
contents of the CPU's internal registers are retained. Other peripheral functions do not stop.
Exiting Sleep Mode: Sleep mode is exited by any interrupt, or signals at the RES, or STBY pins.
• Exiting sleep mode by interrupts
• Exiting sleep mode by RES pin
• Exiting sleep mode by STBY pin
16.2.2
Transition to Software Standby Mode: If a SLEEP instruction is executed when the SSBY bit in
SBYCR is set to 1, software standby mode is entered. In this mode, the CPU, on-chip peripheral
functions, and oscillator all stop. However, the contents of the CPU's internal registers, RAM data,
and the states of on-chip peripheral functions other than the SCI, and I/O ports, are retained. In this
mode the oscillator stops, and therefore power consumption is significantly reduced.
Clearing Software Standby Mode: Software standby mode is cleared by an external interrupt
(NMI pin, or pins IRQ0 to IRQ7), SUSRI interrupt or by means of the RES pin or STBY pin.
• Clearing with an interrupt
Rev. 2.00, 03/04, page 474 of 534
When an interrupt occurs, sleep mode is exited and interrupt exception processing starts. Sleep
mode is not exited if the interrupt is disabled, or interrupts other than NMI are masked by the
CPU.
Setting the RES pin level low selects the reset state. After the stipulated reset input duration,
driving the RES pin high starts the CPU performing reset exception processing.
When the STBY pin level is driven low, a transition is made to hardware standby mode.
When an NMI, IRQ0 to IRQ7 or SUSRI interrupt request signal is input, clock oscillation
starts, and after the elapse of the time set in bits STS2 to STS0 in SBYCR, stable clocks are
supplied to the entire LSI, software standby mode is cleared, and interrupt exception handling
is started.
When clearing software standby mode with an IRQ0 to IRQ7 or SUSRI interrupt, set the
corresponding enable bit to 1 and ensure that no interrupt with a higher priority than interrupts
IRQ0 to IRQ7 or SUSRI is generated. Software standby mode cannot be cleared if the interrupt
has been masked on the CPU side.
Operation
Sleep Mode
Software Standby Mode

Related parts for h8s-2172