NEC V850/SB1 User Manual page 83

32-bit single-chip microcontroller
Table of Contents

Advertisement

(3) P20 to P27 (Port 2) ··· 3-state I/O
P20 to P27 constitute an 8-bit I/O port that can be set to input or output in 1-bit units.
P20 to P27 can also function as input or output pins for the serial interface, and input or output pins for the
timer/counter.
P20 to P22, P24, and P25 can be selected as normal output or N-ch open-drain output.
(a) Port function
P20 to P27 can be set to input or output in 1-bit units using the port 2 mode register (PM2).
(b) Alternate functions
(i)
SI2, SI3 (Serial input 2, 3) ··· input
These are the serial receive data input pins of CSI2 and CSI3.
(ii) SO2, SO3 (Serial output 2, 3) ··· output
These are the serial transmit data output pins of CSI2 and CSI3.
(iii) SCK2, SCK3 (Serial clock 2, 3) ··· 3-state I/O
These are the serial clock I/O pins of CSI2 and CSI3.
(iv) SDA1 (Serial data 1) ... I/O
This is the serial transmit/receive data I/O pin of I
(v) SCL1 (Serial clock) ... I/O
This is the serial clock I/O pin of I
(vi) RXD1 (Receive data 1) ... input
This is the serial receive data input pin of UART1.
(vii) TXD1 (Transmit data 1) ... output
This is the serial transmit data output pin of UART1.
(viii) ASCK1 (Asynchronous serial clock 1) ... input
This is the serial baud rate clock input pin of UART1.
(ix) TI2, TI3 (Timer input 2, 3) ... input
These are the external count clock input pins of timer 2 and timer 3.
(x) TO2, TO3 (Timer output 2, 3) ... output
These are the pulse signal output pins of timer 2 and timer 3.
CHAPTER 2
PIN FUNCTIONS
2
C1 (Y versions (products with on-chip I
2
C1 (Y versions (products with I
User's Manual U13850EJ6V0UD
2
C) only).
2
C) only).
83

Advertisement

Table of Contents
loading

This manual is also suitable for:

V850/sb2

Table of Contents