EasyManuals Logo

ZiLOG Z8 Series User Manual

ZiLOG Z8 Series
261 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 #107 background imageLoading...
Page #107 background image
Z8
®
CPU
User Manual
UM001604-0108 Interrupts
100
Interrupt Priority Register Initialization
The Interrupt Priority Register (IPR) displayed in Figure 96 is a write-only register that
sets priorities for the vectored interrupts in order to resolve simultaneous interrupt
requests. (There are 48 sequence possibilities for interrupts.) The six interrupt levels
IRQ0-IRQ5 are divided into three groups of two interrupt requests each. One group con-
tains IRQ3 and IRQ5. The second group contains IRQ0 and IRQ2, while the third group
contains IRQ1 and IRQ4.
Priorities can be set both within and between groups as listed in Table 19 on page 100 and
Table 20 on page 101. Bits 1, 2, and 5 define the priority of the individual members within
the three groups. Bits 0, 3, and 4 are encoded to define six priority orders among the three
groups. Bits 6 and 7 are reserved.
Figure 96. Interrupt Priority Register
Table 19. Interrupt Priority
Group Bit Value
Priority
Highest Lowest
C Bit 1 0 IRQ1 IRQ4
1IRQ4IRQ1
D7 D6 D5 D4 D3 D2 D1 D0
(Write-Only)
Interrupt Priority Register (IPR)
Register F9h
Interrupt Group Priority
Bits Priority
000 Reserved
001 C > A > B
010 A > B > C
011 A > C > B
100 B > C > A
101 C > B > A
110 B > A > C
111 Reserved
0 = IRQ1 > IRQ4
1 = IRQ4 > IRQ1
Group C (IRQ1 and IRQ4 Priority)
Reserved (Must be 0)
0 = IRQ2 > IRQ0
1 = IRQ0 > IRQ2
Group B (IRQ0 and IRQ2 Priority)
0 = IRQ5 > IRQ3
1 = IRQ3 > IRQ5
Group A (IRQ3 and IRQ5 Priority)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ZiLOG Z8 Series Specifications

General IconGeneral
BrandZiLOG
ModelZ8 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals