RL78/G13 CHAPTER 2 PIN FUNCTIONS
R01UH0146EJ0100 Rev.1.00 47
Sep 22, 2011
2.1.3 25-pin products
Function Name I/O Function After Reset Alternate Function
P00 ANI17/TI00/TxD1
P01
I/O Port 0.
2-bit I/O port.
Input of P01 can be set to TTL input buffer.
Output of P00 can be set to N-ch open-drain output (V
DD
tolerance).
P00 and P01 can be set to analog input.
Input/output can be specified in 1-bit units.
Use of an on-chip pull-up resistor can be specified by a
software setting.
Analog input
port
ANI16/TO00/RxD1
P10 SCK00/SCL00
P11 SI00/RxD0/
TOOLRxD/SDA00
P12 SO00/TxD0/
TOOLTxD
P16 TI01/TO01/INTP5
P17
I/O Port 1.
5-bit I/O port.
Input of P10, P11, P16, and P17 can be set to TTL input
buffer.
Output of P10 to P12, and P17 can be set to N-ch open-drain
output (V
DD tolerance).
Input/output can be specified in 1-bit units.
Use of an on-chip pull-up resistor can be specified by a
software setting.
Input port
TI02/TO02/SO11
P20 ANI0/AVREFP
P21 ANI1/AVREFM
P22
I/O Port 2.
3-bit I/O port.
Input/output can be specified in 1-bit units.
Analog input
port
ANI2
P30 INTP3/
SCK11/SCL11
P31
I/O Port 3.
2-bit I/O port.
Input/output can be specified in 1-bit units.
Use of an on-chip pull-up resistor can be specified by a
software setting.
Input port
TI03/TO03/INTP4/
PCLBUZ0
P40 I/O Port 4.
1-bit I/O port.
Input/output can be specified.
Use of an on-chip pull-up resistor can be specified by a
software setting.
Input port TOOL0
P50 I/O Port 5.
1-bit I/O port.
Output of P50 can be set to N-ch open-drain output (V
DD
tolerance).
Input/output can be specified.
Use of an on-chip pull-up resistor can be specified by a
software setting.
Input port INTP1/SI11/SDA11
P60 SCLA0
P61
I/O Port 6.
2-bit I/O port.
Output of P60 and P61 can be set to N-ch open-drain output
(6 V tolerance).
Input/output can be specified in 1-bit units.
Input port
SDAA0
P121 X1
P122
Input Port 12.
2-bit input port.
Input port
X2/EXCLK
P130 Output Output port
−
P137 Input
Port 13.
1-bit output port and 1-bit input port.
Input port INTP0
P147 I/O Port 14.
1-bit I/O port.
P147 can be set to analog input.
Input/output can be specified.
Use of an on-chip pull-up resistor can be specified by a
software setting.
Analog input
port
ANI18