Datasheet
V850ES/JG3-H, V850ES/JH3-H CHAPTER 23 INTERRUPT/EXCEPTION PROCESSING FUNCTION
R01UH0042EJ0500 Rev.5.00 Page 1300 of 1513
Aug 12, 2011
(6) External interrupt falling, rising edge specification register 9H (INTF9H, INTR9H)
The INTF9H and INTR9H registers are 16-bit or 8-bit registers that specify detection of the falling and rising edges
of the external interrupt pins (INTP11 to INTP18).
These registers can be read or written in 8-bit or 1-bit units.
Reset sets these registers to 0000H/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.
INTF915INTF9 (INTF9H
Note
) INTF914 INTF913 0 INTF911 INTF910 INTF99 INTF98
After reset: 0000H R/W Address:
0(INTF9L) INTF96 000000
INTP17
INTP16 INTP15 INTP14 INTP13 INTP12INTP18
INTP11
15 14 13 12 11 10 9 8
76543210
INTF9 FFFFFC12H,
INTF9L FFFFFC12H, INTF9H FFFFFC13H
INTR915INTR9 (INTR9H
Note
) INTR914 INTF913 0 INTR911 INTR910 INTR99 INTR98
After reset: 0000H R/W Address:
0(INTR9L) INTR96 000000
INTP17
INTP16 INTP15 INTP14 INTP13 INTP12INTP18
INTP11
15 14 13 12 11 10 9 8
76543210
INTR9 FFFFFC32H,
INTR9L FFFFFC32H, INTR9H FFFFFC33H
Note To read bits 8 to 15 of the INTF9 and INTR9 registers in 8-bit or 1-bit units, specify them as bits 0 to 7 of
the INTF9H and INTR9H registers.
Remark For how to specify a valid edge, see Table 23-10.
Table 23-10. Valid Edge Specification
INTF9n INTR9n Valid Edge Specification (n = 11 to 18)
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 the
INTP11 to INTP18 pins.
Remark n = 6, 8 to 11, 13 to 15: Control of INTP11 to INTP18 pins