English
Language : 

M16C30L Datasheet, PDF (61/166 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
________
NMI Interrupt
Mitsubishi microcomputers
M16C / 30L Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
______
NMI Interrupt
______
______
______
An NMI interrupt is generated when the input to the P85/NMI pin changes from “H” to “L”. The NMI interrupt
is a non-maskable external interrupt. The pin level can be checked in the port P85 register (bit 5 at address
03F016).
This pin cannot be used as a normal port input.
Key Input Interrupt
If the direction register of any of P104 to P107 is set for input and a falling edge is input to that port, a key
input interrupt is generated. A key input interrupt can also be used as a key-on wakeup function for cancel-
ling the wait mode or stop mode. However, if you intend to use the key input interrupt, do not use P104 to
P107 as A-D input ports. Figure 1.11.11 shows the block diagram of the key input interrupt. Note that if an
“L” level is input to any pin that has not been disabled for input, inputs to the other pins are not detected as
an interrupt.
Pull-up
transistor
P107/KI3
P106/KI2
Pull-up
transistor
Pull-up
transistor
P105/KI1
P104/KI0
Pull-up
transistor
Port P104-P107 pull-up
select bit
Port P107 direction
register
Port P107 direction register
Port P106 direction
register
Port P105 direction
register
Port P104 direction
register
Key input interrupt control register (address 004D16)
Interrupt control circuit
Key input interrupt
request
Figure 1.11.11. Block diagram of key input interrupt
60