CHAPTER 2 PIN FUNCTIONS
User’s Manual U13850EJ4V0UM
61
(3) P20 to P27 (Port 2)
∙∙∙
3-state I/O
Port 2 is an 8-bit I/O port in which input and output can be specified in 1-bit units.
P20 to P27 can function as I/O port pins, input or output pins for the serial interface, and input or output for the
timer/counter.
Port/control mode can be selected for each bit.
P20 to P22, P24 and P25 can select normal output and N-ch open-drain output.
(a) Port mode
P20 to P27 can be set in 1-bit units as input or output pins according to the contents of the port 2 mode
register (PM2).
(b) Control mode
(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 for I
2
C1 (
µ
PD70303xAY and 70F303wAY only).
(v) SCL1 (Serial Clock 1) ... I/O
This is the serial clock I/O pin for I
2
C1 (
µ
PD70303xAY and 70F303wAY only).
(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 and TI3 (Timer Input 2, 3) ... input
These are the external counter clock input pins for timer 2 and timer 3.
(x) TO2 and TO3 (Timer Output 2, 3) ... output
These are the external counter clock output pins for timer 2 and timer 3.
Содержание MPD703030A
Страница 2: ...User s Manual U13850EJ4V0UM 2 MEMO ...
Страница 514: ...User s Manual U13850EJ4V0UM 514 MEMO ...