Z86D99 ZILOG [Zilog, Inc.], Z86D99 Datasheet - Page 26

no-image

Z86D99

Manufacturer Part Number
Z86D99
Description
Low-Voltage Micro controllers with ADC
Manufacturer
ZILOG [Zilog, Inc.]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
Z86D990FZ008SC
Manufacturer:
Zilog
Quantity:
10 000
Z86D990/Z86D991 OTP and Z86L99X ROM
Low-Voltage Microcontrollers with ADC
19
start the interrupt process. However, the IPR does not have to be initialized for
polled processing.
Interrupts must be globally enabled using the EI instruction. Setting bit 7 of the
IMR is not sufficient. Subsequent to this EI instruction, interrupts can be enabled
either by IMR manipulation or by use of the EI instruction, with equivalent effects.
Additionally, interrupts must be disabled by executing a DI instruction before the
IPRs or IMRs can be modified. Interrupts can then be enabled by executing an EI
instruction.
IRQ Software Interrupt Generation
IRQ can be used to generate software interrupts by specifying IRQ as the destina-
tion of any instruction referencing the Z8 Standard Register File. These Software
Interrupts (SWIs) are controlled in the same manner as hardware-generated
requests (the IPR and the IMR control the priority and enabling of each SWI level).
To generate a SWI, the request bit in the IRQ is set as follows:
IRQ, # NUMBER
OR
where the immediate data, NUMBER, has a 1 in the bit position corresponding to
the appropriate level of the SWI.
For example, for an SWI on IRQ5, NUMBER has a 1 in bit 5. With this instruction,
if the interrupt system is globally enabled, IRQ5 is enabled, and there are no
higher priority pending requests, control is transferred to the service routine
pointed to by the IRQ5 vector.
Reset Conditions
A system reset overrides all other operating conditions and puts the Z8 into a
known state. The control and status registers are reset to their default conditions
after a power-on reset (POR) or a Watch-Dog Timer (WDT) time-out while in RUN
mode. The control and status registers are not reset to their default conditions
after Stop Mode Recovery (SMR) while in HALT or STOP mode.
General-purpose registers are undefined after the device is powered up. Reset-
ting the Z8 does not affect the contents of the general-purpose registers. The reg-
isters keep their most recent value after any reset, as long as the reset occurs in
the specified V
operating range. Registers do not keep their most recent state
CC
from a V
reset, if V
drops below V
(see Table 54 on page 87).
LV
CC
RAM
Following a reset (see Table 5), the first routine executed must be one that initial-
izes the control registers to the required system configuration.
PS003807-1002
P
R
E
L
I
M
I
N
A
R
Y

Related parts for Z86D99