RL78/G15 CHAPTER 2 PIN FUNCTIONS
R01UH0959EJ0110 Rev.1.10 Page 39 of 765
Mar 7, 2023
2.1.2 10-pin products
Function
Name
Pin Type I/O
After Reset
Release
Alternate Function Function
P00 7-1-2 I/O Input port TOOLTxD/INTP6/SO00/TxD0 Port 0.
5-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 can be set to N-
ch open-drain output (V
DD
tolerance).
P01 to P04 can be set to analog input
Note 1
.
P01 7-3-2 Analog input
TOOLRxD/ANI0/INTP5/TI02/
TO02/SI00/RxD0/SDA00/
SDAA0
P02
PCLBUZ0/ANI1/INTP7/
VCOUT0/SCK00/SCL00/
(TI01/TO01)
P03 7-9-2
ANI2/INTP4/IVCMP0/TO00/
SCLA0/(TI00)
P04
ANI3/IVREF0/INTP3/TI01/
TO01
P40 7-1-1 I/O Input port
TOOL0/INTP2/(TI01/TO01)/
(PCLBUZ0)
Port 4.
1-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.
P125 3-2-1 I/O Input port RESET
¯¯¯¯¯¯
/INTP1/(VCOUT0) Port 12.
1-bit I/O port.
Use of an on-chip pull-up resistor can be
specified by a software setting.
P125 is also used for the input pin for external
reset (RESET
¯¯¯¯¯¯
).
To use the pin for external reset, set the
PORTSELB bit in the option byte (000C1H) to
1.
P137 2-1-2 Input Input port INTP0/TI00 Port 13.
1-bit input only port.
Note 1. Setting digital or analog to each pin can be done in the port mode control register 0 (PMC0) (can be set in 1-
bit units).
Remark Functions in parentheses can be assigned via settings in the peripheral I/O redirection registers 0 to 3
(PIOR0 to PIOR3). Refer to Figure 4-6 Format of Peripheral I/O Redirection Registers 0 to 3 (PIOR0 to
PIOR3).