CHAPTER 10 EXTERNAL INTERRUPT CIRCUIT 1 (EDGE)
10.4.1
External Interrupt Control Register 1 (EIC1)
External interrupt control register 1 (EIC1) comprises bits for edge polarity selection
and interrupt control for the INT10 and INT11 external interrupt pins.
■
External Interrupt Control Register 1 (EIC1)
Address
EIR1
0024
H
R/W : Readable/Writable
: Initial value
232
Figure 10.4-2 External Interrupt Control Register 1 (EIC1)
bit7
bit6
bit5
bit4
bit3
SL11 SL10 EIE1 EIR0
R/W
R/W
R/W
R/W
R/W
EIE0
0
Disables interrupt request outputs
1
Enables interrupt request outputs
SL01
0
0
1
1
EIR0
Signal input with specified edge
0
or edges not detected
Signal input with specified edge
1
or edges detected
EIE1
Disables interrupt request outputs
0
Enables interrupt request outputs
1
SL11
0
0
1
1
EIR1
Signal input with specified edge
0
or edges not detected
Signal input with specified edge
1
or edges detected
bit2
bit1
bit0
Initial value
SL01 SL00 EIE0
00000000
R/W
R/W
R/W
Interrupt request enable bit 0
SL00
Edge polarity selection bits 0
0
Edge detection OFF
1
Rising edge
0
Falling edge
1
Both edges
External interrupt request flag bit 0
When being read
Interrupt request enable bit 1
SL10
Edge polarity selection bits 1
0
Edge detection OFF
1
Rising edge
Falling edge
0
Both edges
1
External interrupt request flag bit 1
When being read
B
When being written
This bit is cleared
No change, does not affect other
operations
When being written
This bit is cleared
No change, does not affect other
operations