RL78/G13 CHAPTER 2 PIN FUNCTIONS
R01UH0146EJ0100 Rev.1.00 58
Sep 22, 2011
2.1.9 48-pin products
(1/2)
Function Name I/O Function After Reset Alternate Function
P00 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).
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
TO00/RxD1
P10
SCK00/SCL00/(TI07)/
(TO07)
P11
SI00/RxD0/TOOLRxD/
SDA00/(TI06)/(TO06)
P12
SO00/TxD0/TOOLTxD
/(TI05)/(TO05)
P13
TxD2/SO20/(SDAA0)/
(TI04)/(TO04)
P14
RxD2/SI20/SDA20/
(SCLA0)/(TI03)/
(TO03)
P15
PCLBUZ1/SCK20/
SCL20/(TI02)/(TO02)
P16
TI01/TO01/INTP5/
(RxD0)
P17
I/O
Port 1.
8-bit I/O port.
Input of P10, P11, and P13 to P17 can be set to TTL input
buffer.
Output of P10 to P15, 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/(TxD0)
P20 ANI0/AVREFP
P21 ANI1/AVREFM
P22 ANI2
P23 ANI3
P24 ANI4
P25 ANI5
P26 ANI6
P27
I/O
Port 2.
8-bit I/O port.
Input/output can be specified in 1-bit units.
Analog input
port
ANI7
P30 INTP3/RTC1HZ/
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 TOOL0
P41
I/O
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.
Input port
TI07/TO07
Remark Functions in parentheses in the above figure can be assigned via settings in the peripheral I/O redirection
register (PIOR).
<R>