Table 17-6: Valid Edge Specification - NEC V850E/RS1 User Manual

32-/16-bit single-chip microcontroller with can interface
Table of Contents

Advertisement

(5)
External interrupt falling edge specification register 3 (INTF3)
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.
Caution:
Figure 17-19: External Interrupt Falling Edge Specification Register 3 (INTF3) Format
Remark:
(6)
External interrupt rising edge specification register 3 (INTR3)
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.
Caution:
Figure 17-20: External Interrupt Rising Edge Specification Register 3 (INTR3) Format
Remark:
Caution:
Remark:
Downloaded from
Elcodis.com
electronic components distributor
Chapter 17 Interrupt/Exception Processing Function
When the function is changed from the external interrupt function (alternate func-
tion) to the port function, an edge may be detected. Therefore, clear INTF3n and
INTR3n to 0, and then set the port mode.
After reset: 00H
7
6
INTF3
INTF37
0
For how to specify a valid edge, refer to Table 17-6.
When the function is changed from the external interrupt function (alternate function)
to the port function, an edge may be detected. Therefore, clear INTF3n and INTR3n to
0, and then set the port mode.
After reset: 00H
7
6
INTR3
INTR37
0
For how to specify a valid edge, refer to Table 17-6.

Table 17-6: Valid Edge Specification

INTF3n
INTR3n
0
0
No edge detected
0
1
Rising edge
1
0
Falling edge
1
1
Both edges
Be sure to set INTF3 and INTR3 to 00 when these terminals are not used as external
interrupt function.
n = 1: Control of INTP7
n = 7: Control of INTP1
User's Manual U16702EE3V2UD00
R/W
Address: FFFFFC06H
5
4
3
0
0
0
R/W
Address: FFFFFC26H
5
4
3
0
0
0
Valid Edge Specification (n = 1, 7)
2
1
0
0
INTF31
0
2
1
0
0
INTR31
0
711

Advertisement

Table of Contents
loading

Table of Contents