
30
μ
PD780016Y, 780018Y
7. EXTERNAL DEVICE EXPANSION FUNCTIONS
The external device expansion functions connect external devices to areas other than the internal ROM, RAM and
SFR.
External devices connection uses ports 4 to 6 and port 8.
The external device expansion function has the following two modes:
Separate bus mode
: External devices are connected by using an independent address bus and data
bus. Because an external latch circuit is not necessary, this mode is effective for
reducing the number of components and the mounting area on a printed wiring
board.
Multiplexed bus mode
: External devices are connected by using a time-division multiplexed address/data
bus. This mode is useful for reducing the number of ports used when external
devices are connected.
8. STANDBY FUNCTION
The standby function intends to reduce current consumption. It has the following three modes:
HALT mode
: In this mode, the CPU operation clock is stopped. The average current consumption
can be reduced by intermittent operation by combining this mode with the normal
operation mode.
Main STOP mode : In this mode, oscillation of the main system clock is stopped. The power consumption
can be reduced because the whole internal circuit is stopped.
Sub-STOP mode : In this mode, oscillation of the subsystem clock is stopped. The whole operation is
stopped and the power is consumed very little.
Figure 8-1. Standby Function
Note
Current consumption is reduced by shutting off the main system clock.
If the CPU is operating on subsystemclock, shut off the main system clock by setting MCC. You cannot
use a STOP instruction in HALT mode.
Cautions 1. The main stop mode can be used only when the main system clock is being operated. (The
oscillation of the subsystem clock cannot be stopped.)
2. When switching on the main system clock again after the subsystem clock has been used
with the main system clock stopped, be sure to provide enough time for the generation
to be stable with the program first.
Main system clock operation
Subsystem clock operation
Note
Interrupt
request
STOP
instruction
STOP mode
(Oscillation of the main system
clock is stopped.)
Interrupt
request
Interrupt
request
HALT
instruction
HALT mode
(Supply of clock to CPU is
stopped although clock
is generated.)
HALT instruction
HALT mode
Note
(Supply of clock to CPU is
stopped although clock
is generated.)
CSS = 1
CSS = 0
Reset
STOP
instructon
Sub-STOP mode
(Oscillation of the main
system clock and subsystem
clock is stopped.)