Chapter 14 Standby Function; Standby Function And Configuration; Standby Function; Registers Controlling Standby Function - NEC mPD78F0730 Preliminary User's Manual

8-bit single-chip microcontroller
Table of Contents

Advertisement

14.1 Standby Function and Configuration

14.1.1 Standby function

The standby function is designed to reduce the operating current of the system. The following two modes are
available.
(1) HALT mode
HALT instruction execution sets the HALT mode. In the HALT mode, the CPU operation clock is stopped. If the
high-speed system clock oscillator, internal high-speed oscillator, or internal low-speed oscillator is operating
before the HALT mode is set, oscillation of each clock continues. In this mode, the operating current is not
decreased as much as in the STOP mode, but the HALT mode is effective for restarting operation immediately
upon interrupt request generation and carrying out intermittent operations frequently.
(2) STOP mode
STOP instruction execution sets the STOP mode. In the STOP mode, the high-speed system clock oscillator and
internal high-speed oscillator stop, stopping the whole system, thereby considerably reducing the CPU operating
current.
Because this mode can be cleared by an interrupt request, it enables intermittent operations to be carried out.
However, because a wait time is required to secure the oscillation stabilization time after the STOP mode is
released when the X1 clock is selected, select the HALT mode if it is necessary to start processing immediately
upon interrupt request generation.
In either of these two modes, all the contents of registers, flags and data memory just before the standby mode is
set are held. The I/O port output latches and output buffer statuses are also held.
Caution When shifting to the STOP mode, be sure to stop the peripheral hardware operation operating

14.1.2 Registers controlling standby function

The standby function is controlled by the following two registers.
• Oscillation stabilization time counter status register (OSTC)
• Oscillation stabilization time select register (OSTS)
Remark For the registers that start, stop, or select the clock, see CHAPTER 5 CLOCK GENERATOR.
Downloaded from
Elcodis.com
electronic components distributor

CHAPTER 14 STANDBY FUNCTION

with main system clock before executing STOP instruction.
Preliminary User's Manual U19014EJ1V0UD
409

Advertisement

Table of Contents
loading

Table of Contents