Hitachi H8S/2646 Hardware Manual page 148

Hitachi 16-bit single-chip microcomputer h8s/2646 series
Table of Contents

Advertisement

8-Level Control: In interrupt control mode 2, 8-level mask level determination is performed for
the selected interrupts in interrupt acceptance control according to the interrupt priority level
(IPR).
The interrupt source selected is the interrupt with the highest priority level, and whose priority
level set in IPR is higher than the mask level.
Table 5-7
Interrupts Selected in Each Interrupt Control Mode (2)
Interrupt Control Mode
0
2
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 5-8 shows operations and control signal functions in each interrupt control mode.
Table 5-8
Operations and Control Signal Functions in Each Interrupt Control Mode
Interrupt
Setting
Control
Mode
INTM1 INTM0
0
0
0
2
1
0
Legend
: 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.
116
Selected Interrupts
All interrupts
Highest-priority-level (IPR) interrupt whose priority level is greater
than the mask level (IPR > I2 to I0).
Interrupt Acceptance
Control
I
IM
* 1
X
8-Level Control
I2 to I0
IPR
*2
X —
IM
PR
Default Priority
T
Determination
(Trace)
T

Advertisement

Table of Contents
loading

Table of Contents