RL78/G13 CHAPTER 2 PIN FUNCTIONS
R01UH0146EJ0100 Rev.1.00 68
Sep 22, 2011
(2/3)
Function Name I/O Function After Reset Alternate Function
P40 TOOL0
P41
−
P42 TI04/TO04
P43 SCK01/SCL01
P44 SI01/SDA01
P45 SO01
P46 INTP1/TI05/TO05
P47
I/O
Port 4.
8-bit I/O port.
Input of P43 and P44 can be set to TTL input buffer.
Output of P43 to P45 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
INTP2
P50 SI11/SDA11
P51 SO11
P52 SO31
P53 SI31/SDA31
P54 SCK31/SCL31
P55 (PCLBUZ1)/(SCK00)
P56 (INTP1)
P57
I/O
Port 5.
8-bit I/O port.
Input of P53 to P55 can be set to TTL input buffer.
Output of P50, P52 to P55 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
(INTP3)
P60 SCLA0
P61 SDAA0
P62 SCLA1
P63 SDAA1
P64 TI10/TO10
P65 TI11/TO11
P66 TI12/TO12
P67
I/O
Port 6.
8-bit I/O port.
Output of P60 to P63 can be set to N-ch open-drain output (6
V tolerance).
Input/output can be specified in 1-bit units.
For P64 to P67, use of an on-chip pull-up resistor can be
specified by a software setting.
Input port
TI13/TO13
P70 KR0/SCK21/SCL21
P71 KR1/SI21/SDA21
P72 KR2/SO21
P73 KR3
P74 KR4/INTP8
P75 KR5/INTP9
P76 KR6/INTP10/(RxD2)
P77
I/O
Port 7.
8-bit I/O port.
Output of P71 and P74 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
KR7/INTP11/(TxD2)
P80 (SCK10)/(SCL10)
P81 (SI10)/(RxD1)/(SDA10)
P82 (SO10)/(TxD1)
P83
−
P84 (INTP6)
P85 (INTP7)
P86 (INTP8)
P87
I/O
Port 8.
8-bit I/O port.
Input of P80 and P81 can be set to TTL input buffer.
Output of P80 to P82 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
(INTP9)
Remark Functions in parentheses in the above figure can be assigned via settings in the peripheral I/O redirection
register (PIOR).