CHAPTER 17 INTERRUPT/EXCEPTION PROCESSING FUNCTION
User’s Manual U16896EJ2V0UD
556
(1) External interrupt rising and falling edge specification registers 0 (INTR0, INTF0)
These are 8-bit registers that specify detection of the rising and falling edges of the NMI and INTP0 to INTP3
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 INTF0n and
INTR0n bits = 00.
0
INTR0
INTR06
INTR05
INTR04
INTR03
INTR02
INTP2
INTP1
INTP0
NMI
0
0
After reset: 00H R/W Address: INTR0 FFFFFC20H, INTF0 FFFFFC00H
INTP2
INTP1
INTP0
NMI
INTP3
INTP3
0
INTF0
INTF06
INTF05
INTF04
INTF03
INTF02
0
0
Remark
For specification of the valid edge, refer to
Table 17-3
.
Table 17-3. NMI and INTP0 to INTP3 Pins Valid Edge Specification
INTF0n
INTR0n
Valid edge specification (n = 2 to 6)
0
0
No edge detection
0 1
Rising
edge
1 0
Falling
edge
1 1
Both
edges
Remark
n = 2:
Control of NMI pin
n = 3 to 6: Control of INTP0 to INTP3 pins
Содержание ?PD703302
Страница 2: ...User s Manual U16896EJ2V0UD 2 MEMO ...