Datasheet
Section 5 Interrupt Controller
Rev. 3.00 Sep. 28, 2009 Page 102 of 910
REJ09B0350-0300
In H8S/2140B Group compatible vector mode, interrupt input from the IRQ7 pin is ignored when
even one of the KMIMR15 to KMIMR8 bits is cleared to 0. If the KIN7 to KIN0 pins or KIN15 to
KIN8 pins are specified to be used as key-sensing interrupt input pins and wake-up event interrupt
input pins, the interrupt sensing condition for the corresponding interrupt source (IRQ6 or IRQ7)
must be set to low-level sensing or falling-edge sensing. Note that interrupt input cannot be made
from the ExIRQ6 pin.
KIN interrupt
(KIN7 to KIN0)
KIN internal
signal
Falling
-ed
ge
detection circuit
I
S
S
7
IRQ6 interrupt
Ed
g
e-level selection
enable/disable
circuit
IRQ7 interrupt
Ed
g
e-level selection
enable/disable
circuit
KINA interrupt
(KIN15 to KIN8)
KINA internal
signal
KMIMR0 (Initial value of 1)
KMIMR5 (Initial value of 1)
KMIMR6 (Initial value of 1)
KMIMR7 (Initial value of 1)
P60/KIN0
P65/KIN5
P66/KIN6/IRQ6
P67/KIN7/IRQ7
KMIMR8 (Initial value of 1)
PA0/KIN8
KMIMR15 (Initi
al value of 1)
PA7/KIN1
5
PH0/ExIRQ6
PH1/ExIRQ7
Falling-ed
g
e
detection cir
cuit
Note
:
The ISS7 bit is an external interrupt pin switch bit. For details, see section 5.3.8,
IRQ Sense Port Se
lect Register 1
6 (ISSR16), IRQ Sen
se Port Select Register (ISSR).
Figure 5.3 Relation between IRQ7 and IRQ6 Interrupts, KIN15 to KIN0 Interrupts,
KMIMR, and KMIMRA
(Extended Vector Mode: EIVS = 1)
In extended vector mode, the initial value of the KMIMR6 bit is 1. Accordingly, it does not enable
of disable the IRQ6 pin interrupt. The interrupt input from the ExIRQ6 pin becomes the IRQ6
interrupt request.