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

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
PS003807-1002
Figure 8. Interrupt Block Diagram
Interrupt requests are stored in the Interrupt Request Register (IRQ), which can
also be used for polling. When an interrupt request is granted, the Z8 enters an
“interrupt machine cycle” that globally disables all other interrupts, saves the pro-
gram counter (the address of the next instruction to be executed) and status flags,
and finally branches to the vector location for the interrupt granted. It is only at this
point that control passes to the interrupt service routine for the specific interrupt.
All six interrupts can be globally disabled by resetting the master Interrupt Enable
(bit 7 of the IMR) with a Disable Interrupts (DI) instruction. Interrupts are globally
enabled by setting the same bit with an Enable Interrupts (EI) instruction.
Descriptions of three interrupt control registers—the Interrupt Request Register,
the Interrupt Mask Register, and the Interrupt Priority Register—are provided in
“Register Summary” on page 52. The Z8 family supports both vectored and polled
interrupt handling.
External Interrupt Sources
External sources involve interrupt request lines P51, P52, and P53 (IRQ
and IRQ
the corresponding port pin. As shown in Figure 9, when the appropriate port pin
(P51, P52, or P53) transitions, the first flip-flop is set. The next two flip-flops syn-
chronize the request to the internal clock and delay it by two internal clock peri-
ods. The output of the most recent flip-flop (IRQ
corresponding Interrupt Request Register bit.
EI Instruction
Power-On Reset (POR)
1
, respectively.) IRQ
P
R
E
0
L
, IRQ
S
R
I
1
M
, and IRQ
Z86D990/Z86D991 OTP and Z86L99X ROM
I
Low-Voltage Microcontrollers with ADC
Reset
N
A
2
are generated by a transition on
0
Interrupt Request Register
R
, IRQ
Y
1
, or IRQ
(IRQ,FAH)
2
) sets the
2
, IRQ
0
,
16

Related parts for Z86D99