RL78/G15 CHAPTER 2 PIN FUNCTIONS
R01UH0959EJ0110 Rev.1.10 Page 41 of 765
Mar 7, 2023
2.1.4 20-pin products
(1/2)
Function
Name
Pin Type I/O
After Reset
Release
Alternate Function Function
P00 7-1-2 I/O Input port
TOOLTxD/INTP6/SO00/
TxD0/(SCK01/SCL01)/
(SCLA0)
Port 0.
8-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 at input port.
Output of P00, P01, and P03 to P07 can be
set to N-ch open-drain output (V
DD
tolerance).
P01 to P07 can be set to analog input
Note 1
.
P01 7-3-2 Analog input
TOOLRxD/ANI0/INTP5/SI00/
RxD0/SDA00/(TI02/TO02)/
(SI01)/(SDA01)/(SDAA0)
P02
PCLBUZ0/ANI1/VCOUT0/
INTP7/SCK00/SCL00/
(TI01/TO01)/(SO01)
P03 7-9-2
ANI2/IVCMP0/INTP4/TO00/
(TI00)/(SO00/TxD0)
P04
ANI3/IVREF0/INTP3/TI01/
TO01/(SI00/RxD0/SDA00)/
(SO00/TxD0)
P05 7-3-2
ANI4/TI02/TO02/SO01/
(INTP6)/(SCK00/SCL00)/
(SI00/RxD0/SDA00)
P06
ANI5/SI01/SDA01/SCLA0/
(PCLBUZ0)/(INTP7)/
(SCK00/SCL00)
P07
ANI6/SCK01/SCL01/SDAA0/
(INTP5)/(TO03)
P20 7-9-1 I/O Analog input
ANI10/IVREF1/(INTP1)/(TI00)
/(TI03/TO03)/(SCK01/SCL01)
Port 2.
4-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 at input port.
Output of P22 can be set to N-ch open-drain
output (V
DD
tolerance).
P20 to P23 can be set to analog input
Note 1
.
P21
ANI9/IVCMP1/(INTP7)/
(TO00)
P22 7-3-2
ANI8/TI06/TO06/(INTP5)/
(SDA01)
P23 7-3-1
ANI7/TI04/TO04/(INTP6)/
(SCL01)
P40 7-1-1 I/O Input port
TOOL0/INTP2/(PCLBUZ0)/
(TI01/TO01)
Port 4.
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 at input port.
Output of P41 can be set to N-ch open-drain
output (V
DD
tolerance).
P41 7-1-2
VCOUT1/TI03/TO03/(INTP4)/
(TI02/TO02)/(SO01)/(SDA01)