Rev. 1.0, 02/00, page 112 of 1141
Figure 6.4 shows a block diagram of the priority decision circuit.
Interrupt control modes 0 and 1
I
Interrupt source
UI
Vector number
Interrupt acceptance
control and 3-level
mask control
Default priority
determination
I C R
Figure 6.4 Block Diagram of Interrupt Priority Determination Operation
•
Interrupt Acceptance Control and 3-Level Control: In interrupt control modes 0 and 1,
interrupt acceptance control and 3-level mask control is performed by means of the I and UI
bits in CCR, and ICR (control level).
Table 6.6 shows the interrupts selected in each interrupt control mode.
Table 6.6
Interrupts Selected in Each Interrupt Control Mode
Interrupt Mask Bit
Interrupt
Control
Mode
I
UI
Selected Interrupts
0
*
All interrupts (control level 1 has priority)
0
1
*
NMI
*
1
and address trap interrupts
0
*
All interrupts (control level 1 has priority)
0
NMI
*
1
, address trap and control level 1 interrupts
1
1
1
NMI
*
1
and address trap interrupts
Notes:
*
Don't care
1. In this LSI, the NMI interrupt is generated by the watchdog timer.
•
Default Priority Determination: If the same value is set for ICR, acceptance of multiple
interrupts is enabled, and so only the interrupt source with the highest priority according to the
preset default priorities is selected and has a vector number generated.
Interrupt sources with a lower priority than the accepted interrupt source are held pending.
Table 6.7 shows operations and control signal functions in each interrupt control mode.