z08617 ZiLOG Semiconductor, z08617 Datasheet - Page 13

no-image

z08617

Manufacturer Part Number
z08617
Description
Nmos Z8 8-bit Mcu Keyboard Controller
Manufacturer
ZiLOG Semiconductor
Datasheet
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
Enable
Global
Figure 13. Interrupt Block Diagram
Vector Select
IRQ0-IRQ5
Priority
Logic
IMR
IRQ
IPR
6
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.
6
Z08617 NMOS Z8
K
EYBOARD
®
C
ONTROLLER
8-B
IT
MCU
13

Related parts for z08617