10.4.2
External Interrupt Control Register 2 (EIC2)
As with external interrupt control register 1 (EIC1), external interrupt control register 2
(EIC2) comprises bits for edge polarity selection and interrupt control for the INT12
external interrupt pin.
■
External Interrupt Control Register 2 (EIC2)
Address
bit7
0025
H
R/W : Readable/Writable
: Unused
: Initial value
Figure 10.4-3 External Interrupt Control Register 2 (EIC2)
bit6
bit5
bit4
bit3
EIR2 SL21 SL20 EIE2
R/W
EIE2
Disables interrupt request outputs
0
1
Enables interrupt request outputs
SL21
SL20
0
0
1
1
EIR2
Signal input with specified edge
0
or edges not detected
Signal input with specified edge
1
or edges detected
CHAPTER 10 EXTERNAL INTERRUPT CIRCUIT 1 (EDGE)
bit2
bit1
bit0
Initial value
----0000
R/W
R/W
R/W
Interrupt request enable bit 2
Edge polarity selection bits 2
0
Edge detection OFF
1
Rising edge
Falling edge
0
Both edges
1
External interrupt request flag bit 2
When being read
B
When being written
This bit is cleared
No change, not affecting other
operation
235