NEC V850E/RS1 User Manual page 46

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

Advertisement

(2)
P10, P11, P12 (Port 1)
Port 1 is 3-bit I/O port for which input and output can be specified in 1-bit units.
In addition to I/O pins, P10 to P12 can also be used as external interrupt request inputs, timer/
counter I/O in the control mode and the external A/D conversion start trigger. The port/control
mode can be selected for each bit, and the pin's valid edge for P10 is specified by the INTR1 and
INTF1 registers.
An on-chip pull-up and Pull-down resistor can be specified for use in 1-bit units using pull-up/ pull-
down resistor option register 1 (PU1, PD1).
(a) Port mode
P10 and P12 can be set to input or output in 1-bit units using port mode register 1 (PM1).
(b) Control mode
P10 to P12 can be set to control modes in 1-bit units using port mode control register 3 (PMC1),
port mode function register 1 (PFC1) and port mode function expand register 1 (PFCE1)
• INTP0 (interrupt request from peripherals) ... Input
• TIP30, TIP31 (timer input) ... Input
• TOP30, TOP31 timer output) ... Input
• ADTRG the external A/D conversion start trigger ... Input
46
Downloaded from
Elcodis.com
electronic components distributor
These are external interrupt request input pins.
These are an external capture input pins for TMP3.
These are the pulse signal output pins for TMP3.
This is the external trigger pins for ADC.
Chapter 2 Pin Functions
User's Manual U16702EE3V2UD00

Advertisement

Table of Contents
loading

Table of Contents