CHAPTER 17 INTERRUPT/EXCEPTION PROCESSING FUNCTION
User’s Manual U16896EJ2V0UD
558
(3) External interrupt rising and falling edge specification registers 9H (INTR9H, INTF9H)
These are 8-bit registers that specify detection of the rising edge of the INTP4 to INTP6 pins.
These registers can be read or written in 8-bit or 1-bit units.
Reset sets these registers to 00H.
Caution When switching to the port function from the external interrupt function (alternate function),
edge detection may be performed. Therefore, set the port mode after setting the INTF9n and
INTR9n bits = 00.
INTR915
INTR9H
INTR914 INTR913
0
0
0
0
0
After reset: 00H R/W Address: INTR9H FFFFFC33H, INTF9H FFFFFC13H
INTP5
INTP4
INTP6
INTP5
INTP4
INTP6
INTF915
INTF9H
INTF914
INTF913
0
0
0
0
0
Remark
For specification of the valid edge, refer to
Table 17-5
.
Table 17-5. INTP4 to INTP6 Pins Valid Edge Specification
INTF9n
INTR9n
Valid edge specification (n = 13 to 15)
0
0
No edge detection
0 1
Rising
edge
1 0
Falling
edge
1 1
Both
edges
Remark
n = 13 to 15: Control of INTP4 to INTP6 pins