164
CHAPTER 12 INTERRUPT FUNCTIONS
User’s Manual U15104EJ2V0UD
(4) External interrupt rising edge enable register (EGP), external interrupt falling edge enable register
(EGN)
These registers set the valid edge for INTP0 to INTP4.
EGP and EGN are set with a 1-bit or 8-bit memory manipulation instructions.
Reset input clears these registers to 00H.
Figure 12-5. Format of External Interrupt Rising Edge Enable Register (EGP)
and External Interrupt Falling Edge Enable Register (EGN)
EGPn
EGNn
INTPn pin valid edge selection (n = 0 to 4)
0
0
Interrupt prohibited
0
1
Falling edge
1
0
Rising edge
1
1
Both falling and rising edges
7
0
7
0
6
0
6
0
5
0
5
0
4
EGP4
4
EGN4
3
EGP3
3
EGN3
2
EGP2
2
EGN2
1
EGP1
1
EGN1
0
EGP0
0
EGN0
EGP
EGN
R/W
R/W
R/W
After reset
00H
00H
Address
FF48H
FF49H
Symbol