upd78f0124m6gba1-8et Renesas Electronics Corporation., upd78f0124m6gba1-8et Datasheet - Page 336

no-image

upd78f0124m6gba1-8et

Manufacturer Part Number
upd78f0124m6gba1-8et
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
(4) External interrupt rising edge enable register (EGP), external interrupt falling edge enable register (EGN)
Address: FF48H
Symbol
EGP
Address: FF49H
Symbol
EGN
336
Caution Select the port mode after clearing EGPn and EGNn to 0 because an edge may be detected when
Remark n = 0 to 6
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 clears these registers to 00H.
Table 16-3 shows the ports corresponding to EGPn and EGNn.
the external interrupt function is switched to the port function.
EGPn
Detection Enable Register
7
0
7
0
0
0
1
1
After reset: 00H
After reset: 00H
Figure 16-5. Format of External Interrupt Rising Edge Enable Register (EGP)
EGP0
EGP1
EGP2
EGP3
EGP4
EGP5
EGP6
EGN6
EGNn
EGP6
6
6
0
1
0
1
Table 16-3. Ports Corresponding to EGPn and EGNn
and External Interrupt Falling Edge Enable Register (EGN)
EGN0
EGN1
EGN2
EGN3
EGN4
EGN5
EGN6
R/W
R/W
Edge detection disabled
Falling edge
Rising edge
Both rising and falling edges
EGN5
CHAPTER 16 INTERRUPT FUNCTIONS
EGP5
5
5
P120
P30
P31
P32
P33
P16
P140
User’s Manual U16315EJ3V1UD
Edge Detection Port
EGN4
EGP4
INTPn pin valid edge selection (n = 0 to 6)
4
4
EGN3
EGP3
3
3
INTP0
INTP1
INTP2
INTP3
INTP4
INTP5
INTP6
EGN2
EGP2
2
2
Interrupt Request Signal
EGN1
EGP1
1
1
EGP0
EGN0
0
0

Related parts for upd78f0124m6gba1-8et