M30240ECFP MITSUBISHI [Mitsubishi Electric Semiconductor], M30240ECFP Datasheet - Page 36
M30240ECFP
Manufacturer Part Number
M30240ECFP
Description
M30240 Group Specification
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
1.M30240ECFP.pdf
(142 pages)
- Current page: 36 of 142
- Download datasheet (902Kb)
Specifications in this manual are tentative and subject to change
Key-Input Interrupt
2.14 Key-Input Interrupt
Figure 1.18: Block diagram of key input interrupt
2.14.1 Enabling/disabling the key-input interrupt
2.14.2 Occurrence timing of the key-input interrupt
2.14.3 How to determine a key-input interrupt
If the direction register of any of pin of Port0 or Port1 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 cancelling the wait mode or stop mode. Figure 1.18 shows the block diagram of the key-
input interrupt.
The key-input interrupt can be enabled and disabled using the key-input interrupt register (004D
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, ports P0 and P1, which are set to input, become key-
input interrupt pins (KI0 through KI15). A key-input interrupt occurs when a falling edge is input to a
key-input interrupt pin. At this moment, the level of other key-input interrupt pins must be “H”. No in-
terrupt occurs when the level of any other key-input interrupt pins is “L”.
A key-input interrupt occurs when a falling edge is input to one of 16 pins, but each pin has the same
vector address.Therefore, read the input level of ports P0 and P1 in the key-input interrupt routine to
determine the interrupted pin.
P1
Pull-up
transistor
i
/KI
P0
j
Pull-up
transistor
i
/KI
j
i=0~7; j=8~15
i=0~7; j=0~7
Port PX
pull-up select bit
Port P1
direction register
Port P0
pull-up select bit
Port P0
direction register
i
i
i
i
1-36
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
KIO
KIO
0
1 5
Key input interrupt control register
Interrupt control circuit
Mitsubishi microcomputers
M30240 Group
(address 004D
Key input
interrupt request
16
)
16
).
Related parts for M30240ECFP
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Designer's Kits Unicoil 7/10 mm Tunable Inductors
Manufacturer:
Coilcraft
Part Number:
Description:
VCXO 200Mhz to 1000Mhz
Manufacturer:
Micro Networks
Datasheet:
Part Number:
Description:
128 x 8-BIT x 2 MAIL-BOX
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
PROGRAMMABLE BUFFERED I/0 EXPANDER
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
ELECTRONIC SOUND CONTROL WITH ELECTRONIC VOLUME FOR MULTIPLE SOURCES
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
2CH 4 MODE PRESET EQUALIZER
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
SERIAL DATA CONTROL DUAL ELECTRONIC VOLUME
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS?????
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
M51996P
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER??
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
MITSUBISHI SEMICONDUCTOR (TRIAC) MEDIUM POWER USE INSULATED TYPE, PLANAR PASSIVATION TYPE
Manufacturer:
Mitsubishi Electric Semiconductor
Part Number:
Description:
MITSUBISHI SEMICONDUCTOR (TRIAC) LOW POWER USE GLASS PASSIVATION TYPE
Manufacturer:
Mitsubishi Electric Semiconductor
Part Number:
Description:
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER?
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet: