upd70f3402 Renesas Electronics Corporation., upd70f3402 Datasheet - Page 709

no-image

upd70f3402

Manufacturer Part Number
upd70f3402
Description
32-/16-bit Single-chip Microcontroller With Can Interface
Manufacturer
Renesas Electronics Corporation.
Datasheet
(1)
Caution:
Remark:
(2)
Caution:
Remark:
Caution:
Remark:
External interrupt falling edge specification register 0 (INTF0)
This is an 8-bit register that specifies detection of the falling edge of the external interrupt pins.
This register can be read or written in 8-bit or 1-bit units.
External interrupt rising edge specification register 0 (INTR0)
This is an 8-bit register that specifies detection of the rising edge of the external interrupt pins.
This register can be read or written in 8-bit or 1-bit units.
Figure 17-15: External Interrupt Falling Edge Specification Register 0 (INTF0) Format
Figure 17-16: External Interrupt Rising Edge Specification Register 0 (INTR0) Format
INTR0
INTF0n
INTF0
When the function is changed from the external interrupt function (alternate function)
to the port function, an edge may be detected. Therefore, clear INTF0n and INTR0n to
0, and then set the port mode.
For how to specify a valid edge, refer to Table 17-4.
When the function is changed from the external interrupt function (alternate function)
to the port function, an edge may be detected. Therefore, clear INTF0n and INTR0n to
0, and then set the port mode.
For how to specify a valid edge, refer to Table 17-4.
Be sure to set INTF0n and INTR0n to 00 when these terminals are not used as
external interrupt function.
n = 5: Control of INTP2
n = 6: Control of INTP3
0
0
1
1
After reset: 00H
After reset: 00H
7
0
7
0
Chapter 17 Interrupt/Exception Processing Function
INTR0n
0
1
0
1
INTR06
INTF06
User’s Manual U16702EE3V2UD00
Table 17-4: Valid Edge Specification
6
6
No edge detected
Rising edge
Falling edge
Both edges
INTR05
INTF05
R/W
R/W
5
5
Valid Edge Specification (n = 5, 6)
4
0
4
0
3
0
3
0
Address: FFFFFC00H
Address: FFFFFC20H
2
0
2
0
1
0
1
0
0
0
0
0
709

Related parts for upd70f3402