English
Language : 

Z86L972 Datasheet, PDF (64/91 Pages) Zilog, Inc. – Low-Voltage Microcontrollers
Z86L972/Z86L973/Z86L974
Low-Voltage Microcontrollers
57
Interrupt Priority Register (IPR)
The IPR, as described in Table 20, 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 interrupts, IRQ0 to IRQ5, are
divided into three groups of two interrupt requests each, as follows:
• Group A consists of IRQ3 and IRQ5
• Group B consists of IRQ0 and IRQ2
• Group C consists of IRQ1 and IRQ4
)
Table 20. IPR (Group/Bank 0Fh, Register 9)
Bit
7
6
5
4
3
2
1
0
Bit/Field Reserved
Grp A
IRQ3_5 Int_Group
Grp B Grp C Int_
IRQ0_2 IRQ1_4 Group
R/W
W
W
W
W
W
W
W
W
Reset
0
0
0
0
0
0
0
0
R = Read, W = Write, X = Indeterminate
Bit
Position
Bit/Field
R/W Value Description
76______ Reserved
W
X
No Effect
__5_____ Grp A Priority: W
IRQ3 and IRQ5
___43__0 Interrupt Group W
Priority
1
IRQ3>IRQ5 (Group A)
0
IRQ5>IRQ3
111
Reserved
110
B>A>C
101 C>B>A
100 B>C>A
011
A>C>B
010 A>B>C
001 C>A>B
000 Reserved
_____2__ Grp B Priority: W
1
IRQ0 and IRQ2
0
______1_ Grp C Priority: W
1
IRQ1 and IRQ4
0
IRQ0>IRQ2 (Group B)
IRQ2>IRQ0
IRQ4>IRQ1 (Group C)
IRQ1>IRQ4
Priorities can be set both within and between groups using the IPR. Bits 1, 2, and
5 of the IPR define the priority of individual members within the groups. Bits 0, 3,
and 4 are encoded to define six priority orders between the three groups. Bits 6
and 7 are reserved.
PS010504-1002
PRELIMINARY