Datasheet
V850ES/JG3 CHAPTER 19 INTERRUPT/EXCEPTION PROCESSING FUNCTION
R01UH0015EJ0300 Rev.3.00 Page 667 of 870
Sep 30, 2010
(3) External interrupt falling, rising edge specification register 9H (INTF9H, INTR9H)
The INTF9H and INTR9H registers are 8-bit registers that specify detection of the falling and rising edges of the
external interrupt pins (INTP4 to INTP6).
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, clear the INTF9n and INTR9n bits to 0, and then
set the port mode.
INTF9H
After reset: 00H R/W Address: INTF9H FFFFFC13H, INTR9H FFFFFC33H
INTF915 INTF914 INTF913 0 0 0 0 0
89101112131415
INTR9H
INTR915 INTR914 INTR913 0 0 0 0 0
89101112131415
INTP6
INTP5 INTP4
INTP6
INTP5 INTP4
Remark For how to specify a valid edge, see Table 19-5.
Table 19-5. Valid Edge Specification
INTF9n INTR9n Valid Edge Specification (n = 13 to 15)
0 0 No edge detected
0 1 Rising edge
1 0 Falling edge
1 1 Both rising and falling edges
Caution Be sure to clear the INTF9n and INTR9n bits to 00 when these registers are not used as INTP4
to INTP6 pins.
Remark n = 13 to 15: Control of INTP4 to INTP6 pins