NEC V850/SA1 mPD703015 Preliminary User's Manual page 40

32-/16-bit single-chip microcontrollers
Table of Contents

Advertisement

(3) P20 to P27 (Port 2) ··· 3-state I/O
Port 2 is an 8-bit I/O port in which input and output pins can be specified bitwise.
P20 to P27 can function as I/O port pins and can also operate as input or output pins for the serial interface.
These pins can be set bitwise to port mode or a control mode.
P21 and P22 can select normal output and N-ch open drain output.
(a) Port mode
P20 to P27 can be set bitwise as input or output pins according to the contents of port 2 mode register
(PM2).
(b) Control modes
P20 to P27 can be set bitwise to port mode or a control mode according to the contents of the port 2 register
(P2) and port 2 mode register (PM2).
(i)
SI2 (Serial Input 2) ··· input
This pin accepts input of the CSI2 serial receive data.
(ii) SO2 (Serial Output 2) ··· output
This pin accepts output of the CSI2 serial transmit data.
(iii) SCK2 (Serial Clock 2) ··· 3-state I/O
This is the CSI2 serial clock I/O pin.
(iv) RXD1 (Receive Data 1) ··· input
This is the input pin for UART1 serial receive data.
(v) TXD1 (Transmit Data 1) ··· output
This is the output pin for UART1 serial transmit data.
(vi) ASCK1 (Asynchronous Serial Clock 1) ··· input
This is the input pin for UART1 serial clock.
(vii) TI2, TI3 (Timer Input 2, 3) ··· input
These are the external counter clock input pins for timer 2 and timer 3.
(viii) TO2, TO3 (Timer Output 2, 3) ··· output
These are the pulse signal output pins for timer 2 and timer 3.
40
CHAPTER 2
PIN FUNCTIONS

Advertisement

Table of Contents
loading

Table of Contents