76
8-Level Control: In interrupt control mode 2, 8-level mask level determination is performed
according to the interrupt priority level (IPR) for interrupts selected in interrupt acceptance
control.
The interrupt source selected is the interrupt with the highest priority level, and for which the
priority level set in IPR is higher than the mask level.
Table 3.8
Interrupts Selected in Each Interrupt Control Mode (2)
Interrupt Control Mode
Selected Interrupts
0
All interrupts
2
Highest-priority-level (IPR) interrupt whose priority level is greater
than the mask level (IPR > I2 to I0)
Default Priority Determination: When an interrupt is selected by 8-level control, its priority is
determined and a vector number is generated.
If the same value is set for IPR, 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 3.9 shows operations and control signal functions in each interrupt control mode.
Table 3.9
Operations and Control Signal Functions in Each Interrupt Control Mode
Interrupt
Setting
Interrupt
Acceptance
Control
8-Level Control
Default Priority T
Control Mode INTM1 INTM0
I
I2–I0
IPR
Determination
(Trace)
0
0
0
O
IM
X
—
—
*
2
O
—
2
1
0
X
—
*
1
O
IM
PR
O
T
Legend
O:
Interrupt operation control performed
X:
No operation (all interrupts enabled)
IM:
Used as interrupt mask bit
PR:
Sets priority.
—:
Not used.
Notes: 1. Set to 1 when interrupt is accepted.
2. Keep the initial setting (IPR writes prohibited).
Summary of Contents for H8S/2670
Page 5: ......
Page 9: ......
Page 199: ...182 ...
Page 361: ...344 ...
Page 393: ...376 ...
Page 647: ...630 ...