Samsung KS57C2308 Manual page 199

Single-chip cmos microcontroller
Table of Contents

Advertisement

KS57C2308/P2308/C2316/P2316
8
POWER-DOWN
OVERVIEW
The KS57C2308/C2316 microcontroller has two power-down modes to reduce power consumption: idle and stop.
Idle mode is initiated by the IDLE instruction and stop mode by the instruction STOP. (Several NOP instructions
must always follow an IDLE or STOP instruction in a program.) In idle mode, the CPU clock stops while
peripherals and the oscillation source continue to operate normally.
When
occurs during normal operation or during a power-down mode, a reset operation is initiated and the
RESET
CPU enters idle mode. When the standard oscillation stabilization time interval (31.3 ms at 4.19 MHz) has
elapsed, normal CPU operation resumes.
In main stop mode, main system clock oscillation is halted (assuming main clock is selected as system clock and
it is currently operating), and peripheral hardware components are powered-down. In sub stop mode, (assuming
sub clock is selected) sub system clock oscillation is halted by setting SCMOD.2 to "1". The effect of stop mode
on specific peripheral hardware components — CPU, basic timer, timer/ counter 0, watch timer, and LCD
controller, serial I/O — and on external interrupt requests, is detailed in Table 8-1.
Do not use stop mode if you are using an external clock source because X
internally to V
to reduce current leakage.
SS
Idle or main stop modes are terminated either by a
corresponding interrupt enable flag, IEx. When power-down mode is terminated by
operation is executed. Assuming that both the interrupt enable flag and the interrupt request flag are set to "1",
power-down mode is released immediately upon entering power-down mode. Sub stop mode can be terminated
by
only.
RESET
When an interrupt is used to release power-down mode, the operation differs depending on the value of the
interrupt master enable flag (IME):
— If the IME flag = "0", program execution starts immediately after the instruction issuing a request to enter
power-down mode is executed. The interrupt request flag remains set to logical one.
— If the IME flag = "1", two instructions are executed after the power-down mode release and the vectored
interrupt is then initiated. However, when the release signal is caused by INT2 or INTW, the operation is
identical to the IME = "0" condition. Assuming that both interrupt enable flag and interrupt request flag are set
to "1", the release signal is generated when power-down mode is entered.
NOTE
, or by an interrupt which is enabled by the
RESET
POWER-DOWN
input must be restricted
IN
, a normal reset
RESET
8-1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

P2308C2316P2316Ks57p2308Ks57c2316Ks57p2316

Table of Contents