394
CHAPTER 19 INTERRUPT FUNCTIONS
User’s Manual U15798EJ2V0UD
(4) External interrupt rising edge enable register (EGP), external interrupt falling edge enable register (EGN)
These registers specify the valid edge for INTP0 to INTP6.
EGP and EGN are set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets the values of these registers to 00H.
Figure 19-5. Format of External Interrupt Rising Edge Enable Register (EGP),
External Interrupt Falling Edge Enable Register (EGN)
Address: FF48H After reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
EGP
0
EGP6
EGP5
EGP4
EGP3
EGP2
EGP1
EGP0
Address: FF49H After reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
EGN
0
EGN6
EGN5
EGN4
EGN3
EGN2
EGN1
EGN0
EGPn
EGNn
INTPn pin valid edge selection (n = 0 to 6)
0
0
Interrupt disabled
0
1
Falling edge
1
0
Rising edge
1
1
Both rising and falling edges
Caution When switching from the external interrupt function to the port function, since edge detection
may be performed, set EGPn and EGNn to 0 before switching to the port mode.
Содержание mPD780344 Series
Страница 2: ...2 User s Manual U15798EJ2V0UD MEMO...