EasyManuals Logo
Home>ZiLOG>Desktop>Z8

ZiLOG Z8 User Manual

ZiLOG Z8
220 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #91 background imageLoading...
Page #91 background image
UM001601-0803 7-1
USERS MANUAL
CHAPTER 7
INTERRUPTS
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.
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.
Note: See the selected Z8 MCU's product specification for the
exact interrupt sources supported.
Figure 7-1. Interrupt Control Registers
Register
HEX
Interrupt Mask
Interrupt Request
Interrupt Priority
Identifier
FBH
FAH
F9H
IMR
IRQ
IPR
Figure 7-2. Interrupt Block Diagram
IRQ
IRQ
0
- IRQ
5
Vector Select
Interrupt
Request
IMR
IPR
Priority Logic
6
Global
Interrupt
Enable
6

Table of Contents

Other manuals for ZiLOG Z8

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ZiLOG Z8 and is the answer not in the manual?

ZiLOG Z8 Specifications

General IconGeneral
BrandZiLOG
ModelZ8
CategoryDesktop
LanguageEnglish

Related product manuals