M30622MA-XXXFP RENESAS [Renesas Technology Corp], M30622MA-XXXFP Datasheet - Page 449

no-image

M30622MA-XXXFP

Manufacturer Part Number
M30622MA-XXXFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
434
Key-Input Interrupt
2.13 Key-Input Interrupt
Figure 2.13.1. Memory map of key-input interrupt-related registers
2.13.1 Overview
Key-input interrupt occurs when a falling edge is input to P10
of the key-input interrupt:
(1) Enabling/disabling the key-input interrupt
(2) Occurrence timing of the key-input interrupt
(3) How to determine a key-input interrupt
(4) Registers related to the key-input interrupt
The key-input interrupt can be enabled and disabled using the key-input interrupt register. The key-
input interrupt is affected by the interrupt priority level (IPL) and the interrupt enable flag (I flag).
With key-input interrupt acceptance enabled, pins P10
key-input interrupt pins (KI
key-input interrupt pin. At this moment, the level of other key-input interrupt pins must be “H”. No
interrupt occurs when the level of other key-input interrupt pins is “L”.
A key-input interrupt occurs when a falling edge is input to one of four pins, but each pin has the same
vector address.
Therefore, read the input level of pins P10
mine the interrupted pin.
Figure 2.13.1 shows the memory map of key-input interrupt-related registers, and Figure 2.13.2
shows key-input interrupt-related registers.
004D
03FE
03F6
16
16
16
Port P10 direction register (PD10)
_____
Key input interrupt control register(KUPIC)
Pull-up control register 2 (PUR2)
0
through KI
_____
3
). A key-input interrupt occurs when a falling edge is input to a
4
through P10
4
through P10
4
7
through P10
in the key-input interrupt routine to deter-
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
7
, which are set to input, become
7
. The following is an overview
Mitsubishi microcomputers
M16C / 62 Group

Related parts for M30622MA-XXXFP