7.1 INTRODUCTION
®
The Z8 MCU
allows 6 different interrupts from a variety of
sources; up to four external inputs, the on-chip Counter/Tim-
er(s), software, and serial I/O peripherals. These interrupts can
be masked and their priorities set by using the Interrupt Mask
and the Interrupt Priority Registers. All six interrupts can be glo-
bally disabled by resetting the master Interrupt Enable, bit 7 in
the Interrupt Mask Register, with a Disable Interrupt (DI) in-
struction. Interrupts are globally enabled by setting bit 7 with an
Enable Interrupt (EI) instruction.
Register
Interrupt Mask
Interrupt Request
Interrupt Priority
Figure 7-1. Interrupt Control Registers
UM001601-0803
C
HAPTER
I
NTERRUPTS
HEX
Identifier
FBH
IMR
FAH
IRQ
F9H
IPR
7
There are three interrupt control registers: the Interrupt Request
Register (IRQ), the Interrupt Mask register (IMR), and the Inter-
rupt Priority Register (IPR). Figure 7-1 shows addresses and
identifiers for the interrupt control registers. Figure 7-2 is a block
diagram showing the Interrupt Mask and Interrupt Priority logic.
The Z8 MCU family supports both vectored and polled interrupt
handling. Details on vectored and polled interrupts can be found
later in this chapter.
IRQ
Global
Interrupt
Enable
Interrupt
Request
Figure 7-2. Interrupt Block Diagram
Note: See the selected Z8 MCU's product specification for the
exact interrupt sources supported.
U
'
M
SER
S
ANUAL
- IRQ
0
5
6
IRQ
IMR
IPR
Priority Logic
Vector Select
6
7-1
Need help?
Do you have a question about the Z8 and is the answer not in the manual?
Questions and answers