Datasheet

HPC16003 Operating Modes (Continued)
TL/DD/880119
FIGURE 17. 16-Bit External Memory
Wait States
The internal ROM can be accessed at the maximum operat-
ing frequency with one wait state. With 0 wait states, internal
ROM accesses are limited to )/3 f
C
max.
The HPC16083 provides four software selectable Wait
States that allow access to slower memories. The Wait
States are selected by the state of two bits in the PSW
register. Additionally, the RDY input may be used to extend
the instruction cycle, allowing the user to interface with slow
memories and peripherals.
Power Save Modes
Two power saving modes are available on the HPC16083:
HALT and IDLE. In the HALT mode, all processor activities
are stopped. In the IDLE mode, the on-board oscillator and
timer T0 are active but all other processor activities are
stopped. In either mode, all on-board RAM, registers and
I/O are unaffected.
HALT MODE
The HPC16083 is placed in the HALT mode under software
control by setting bits in the PSW. All processor activities,
including the clock and timers, are stopped. In the HALT
mode, power requirements for the HPC16083 are minimal
and the applied voltage (V
CC
) may be decreased without
altering the state of the machine. There are two ways of
exiting the HALT mode: via the RESET
or the NMI. The
RESET
input reinitializes the processor. Use of the NMI in-
put will generate a vectored interrupt and resume operation
from that point with no initialization. The HALT mode can be
enabled or disabled by means of a control register HALT
enable. To prevent accidental use of the HALT mode the
HALT enable register can be modified only once.
IDLE MODE
The HPC16083 is placed in the IDLE mode through the
PSW. In this mode, all processor activity, except the on-
board oscillator and Timer T0, is stopped. As with the HALT
mode, the processor is returned to full operation by the
RESET
or NMI inputs, but without waiting for oscillator stabi-
lization. A timer T0 overflow will also cause the HPC16083
to resume normal operation.
HPC16083 Interrupts
Complex interrupt handling is easily accomplished by the
HPC16083’s vectored interrupt scheme. There are eight
possible interrupt sources as shown in Table III.
TABLE III. Interrupts
Vector Interrupt Arbitration
Address Source Ranking
FFFF:FFFE RESET 0
FFFD:FFFC Nonmaskable external on 1
rising edge of I1 pin
FFFB:FFFA External interrupt on I2 pin 2
FFF9:FFF8 External interrupt on I3 pin 3
FFF7:FFF6 External interrupt on I4 pin 4
FFF5:FFF4 Overflow on internal timers 5
FFF3:FFF2 Internal on the UART
transmit/receive complete 6
or external on EXUI
FFF1:FFF0 External interrupt on EI pin 7
18