Chapter 5
Interrupt Controller
Noise Filter Function V - 45
5.4.6 Edge Detection Registers
This register is used to specify how to control edge detection circuity. It specifies whether to enable or disable
both-edge interrupt for each external interrupt pin.
■ Edge Detection Register (IRQEDGESEL: 0x0000A056) [8, 16-bit access register]
..
When setting the generating condition of the external interrupt to the both-edge detection,
select the rising edge by [5.2.7 External Interrupt Condition Specification Registers
(EXTMD1, EXTMD0)].
..
..
If operating the edge detection register (IRQEDGESEL) to select the both-edge detection enable
of IRQn, the value of port input register of the selected external interrupt pin is undefined and dis-
agree with the pin input value.
Execute one of the following, to monitor the value of the external interrupt pin.
1. Do not select both-edge interrupt to monitor the value of the external interrupt pin.
2. To select both-edge interrupt and monitor the value of the external interrupt pin, connect
the external inerrupt to the other general-purpose pin, and use as a port for monitor.
..
bp 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Flag -------IRQ
EG8
IRQ
EG7
IRQ
EG6
IRQ
EG5
IRQ
EG4
IRQ
EG3
IRQ
EG2
IRQ
EG1
IRQ
EG0
At reset 0000000000000000
Access RRRRRRRR/WR/WR/WR/WR/WR/WR/WR/WR/W
bp Flag Description Set condition
15-9 - - -
8IRQEG8
IRQ8 both-edge detection enable/disable 0: Disabled
1: Enabled
7IRQEG7
IRQ7 both-edge detection enable/disable 0: Disabled
1: Enabled
6IRQEG6
IRQ6 both-edge detection enable/disable 0: Disabled
1: Enabled
5IRQEG5
IRQ5 both-edge detection enable/disable 0: Disabled
1: Enabled
4IRQEG4
IRQ4 both-edge detection enable/disable 0: Disabled
1: Enabled
3IRQEG3
IRQ3 both-edge detection enable/disable 0: Disabled
1: Enabled
2IRQEG2
IRQ2 both-edge detection enable/disable 0: Disabled
1: Enabled
1IRQEG1
IRQ1 both-edge detection enable/disable 0: Disabled
1: Enabled
0IRQEG0
IRQ0 both-edge detection enable/disable 0: Disabled
1: Enabled
External interrupt input
General-purpose pin
External interrupt pins
(P80 to P83, P10 to P14)