upd70f3017ay Renesas Electronics Corporation., upd70f3017ay Datasheet - Page 114

no-image

upd70f3017ay

Manufacturer Part Number
upd70f3017ay
Description
V850/sa1tm 32-/16-bit Single-chip Microcontroller
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
upd70f3017ayGC-8EU-A
Manufacturer:
MICROCHIP
Quantity:
1 001
5.2.5 Edge detection function of external interrupt request input pin
neither edge.
of the external interrupt. These two registers can be read/written in 1-bit or 8-bit units.
edge” state. Therefore, the NMI pin functions as a normal port and an interrupt request cannot be acknowledged,
unless a valid edge is specified by using the EGP0 and EGN0 registers.
When using the P01 to P07 pins as an output port, set the valid edges of the INTP0 to INTP6 pins to “detect neither
rising nor falling edge” or mask the interrupt requests.
(1) Rising edge specification register 0 (EGP0)
After reset: 00H
(2) Falling edge specification register 0 (EGN0)
After reset: 00H
114
Symbol
Symbol
EGP0
EGN0
The NMI pin valid edge can be selected from the following four types: falling edge, rising edge, both edges, or
Rsing edge specification register 0 (EGP0) and falling edge specification register 0 (EGN0) specify the valid edge
When using the P00 pin as an output port, set the NMI pin valid edge to “detect neither rising nor falling edge”.
After reset, the valid edge of the external interrupt request input pin is set to the “detect neither rising nor falling
n = 0: NMI pin control
n = 1 to 7: INTP0 to INTP6 pin control
n = 0: NMI pin control
n = 1 to 7: INTP0 to INTP6 pin control
EGN0n
EGP07
EGP0n
EGN07
0
1
0
1
7
7
R/W
R/W
No interrupt request signal occurred at the rising edge
Interrupt request signal occurred at the rising edge
No interrupt request signal occurred at the falling edge
Interrupt request signal occurred at the falling edge
EGP06
EGN06
6
6
CHAPTER 5 INTERRUPT/EXCEPTION PROCESSING FUNCTION
EGP05
EGN05
5
5
User’s Manual U12768EJ4V1UD
Address: FFFFF0C0H
Address: FFFFF0C2H
EGN04
EGP04
4
4
Falling Edge Valid Control
Rising Edge Valid Control
EGN03
EGP03
3
3
EGP02
EGN02
2
2
EGP01
EGN01
1
1
EGN00
EGP00
0
0

Related parts for upd70f3017ay