Datasheet

V850ES/JG3-H, V850ES/JH3-H CHAPTER 23 INTERRUPT/EXCEPTION PROCESSING FUNCTION
R01UH0042EJ0500 Rev.5.00 Page 1296 of 1513
Aug 12, 2011
(2) External interrupt falling, rising edge specification register 2 (INTF2, INTR2) (V850ES/JH3-H only)
The INTF2 and INTR2 registers are 8-bit registers that specify detection of the falling and rising edges of the
external interrupt pins (INTP05 to INTP06).
These registers can be read or written in 8-bit or 1-bit units.
Reset sets these registers to 00H.
Caution When the function is changed from the external interrupt function (alternate function) to the port
function, an edge may be detected. Therefore, set the INTF2n and INTR2n bits to 00, and then set
the port mode.
0INTF2 0 INTF25 INTF24 0 0 0 0
After reset: 00H R/W Address: INTF2 FFFFFC04H, INTR2 FFFFFC24H
0INTR2 0 INTR25 INTR24 0 0 0 0
INTP05
INTP06
INTP05INTP06
76543210
76543210
Remark For how to specify a valid edge, see Table 23-6.
Table 23-6. Valid Edge Specification
INTF2n INTR2n Valid Edge Specification (n = 4, 5)
0 0 No edge detected
0 1 Rising edge
1 0 Falling edge
1 1 Both rising and falling edges
Caution Be sure to set the INTF2n and INTR2n bits to 00 when these registers are not used as the
INTP05 and INTP06 pins.
Remark n = 4, 5: Control of INTP05 and INTP06 pins