ZiLOG Z08617 Manual page 13

Nmos z8 8-bit mcu keyboard controller
Table of Contents

Advertisement

FUNCTIONAL DESCRIPTION (Continued)
Interrupts. The Z08617 has six different interrupts from six
different sources. These interrupts are maskable and
prioritized (Figure 13). The six sources are divided as
follows: four sources are claimed by Port 3 lines P33-P30,
and two are claimed by the counter/timers. The Interrupt
Masked Register globally or individually enables or dis-
ables the six interrupts requests.
When more than one interrupt is pending, priorities are
resolved by a programmable priority encoder that is
controlled by the Interrupt Priority register. All inter-
rupts are vectored through locations in the program
memory. When an interrupt machine cycle is activated an
Interrupt
Request
interrupt request is granted. This disables all of the subse-
quent interrupts, saves the Program Counter and status
flags, and then branches to the program memory vector
location reserved for that interrupt. This memory location
and the next byte contain the 16-bit address of the interrupt
service routine for that particular interrupt request.
To accommodate polled interrupt systems, interrupt
inputs are masked and the interrupt request register
is polled to determine which of the interrupt request
needs service.
IRQ0-IRQ5
6
IRQ
IMR
Global
IPR
Interrupt
Enable
Priority
Logic
Vector Select
Figure 13. Interrupt Block Diagram
®
Z08617 NMOS Z8
8-B
K
C
EYBOARD
ONTROLLER
6
MCU
IT
13

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Table of Contents