upd78f0114m6gb-8es Renesas Electronics Corporation., upd78f0114m6gb-8es Datasheet - Page 326

no-image

upd78f0114m6gb-8es

Manufacturer Part Number
upd78f0114m6gb-8es
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
326
Caution Select the port mode after clearing EGPn and EGNn to 0 because an edge may be detected when
Remark n = 0 to 5
These registers specify the valid edge for INTP0 to INTP5.
EGP and EGN are set by a 1-bit or 8-bit memory manipulation instruction.
RESET input clears these registers to 00H.
Table 15-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 15-5. Format of External Interrupt Rising Edge Enable Register (EGP)
EGP0
EGP1
EGP2
EGP3
EGP4
EGP5
EGNn
6
0
6
0
0
1
0
1
Table 15-3. Ports Corresponding to EGPn and EGNn
and External Interrupt Falling Edge Enable Register (EGN)
EGN0
EGN1
EGN2
EGN3
EGN4
EGN5
R/W
R/W
Edge detection disabled
Falling edge
Rising edge
Both rising and falling edges
EGN5
CHAPTER 15 INTERRUPT FUNCTIONS
EGP5
5
5
P120
P30
P31
P32
P33
P16
User’s Manual U16227EJ3V0UD
Edge Detection Port
EGN4
EGP4
INTPn pin valid edge selection (n = 0 to 5)
4
4
EGN3
EGP3
3
3
INTP0
INTP1
INTP2
INTP3
INTP4
INTP5
EGN2
EGP2
2
2
Interrupt Request Signal
EGN1
EGP1
1
1
EGP0
EGN0
0
0

Related parts for upd78f0114m6gb-8es