Renesas rl78 User Manual

Page of 1004
 
RL78/G1A 
 
CHAPTER  2   PIN  FUNCTIONS 
 (2/3) 
Function 
Name 
Pin Type 
I/O 
After Reset 
Alternate Function
Function 
P40 7-1-1 
Input 
port 
TOOL0 
P41 
7-3-1 
Analog input port  ANI30/8TI07/TO07 
P42 TI04/TO04 
P43 
7-1-1 
I/O 
Input port 
− 
Port 4. 
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. 
P41 can be set to analog input
Note
P50 7-3-2 
ANI26/INTP1/SI11/ 
SDA11 
P51 7-3-1 
I/O 
Analog input port 
ANI25/INTP2/SO11
Port 5. 
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 P50 can be set to N-ch open-drain output (V
DD
 
tolerance). 
Can be set to analog input
Note
P60 
SCLA0 
P61 
SDAA0 
P62 
− 
P63 
12-1-1 I/O 
Input 
port 
− 
Port 6. 
4-bit I/O port. 
Input/output can be specified in 1-bit units. 
N-ch open-drain output (6 V tolerance). 
P70 
7-3-1 
Analog input port  ANI28/KR0/SCK21/
SCL21 
P71 7-1-2 
KR1/SI21/SDA21 
P72 
KR2/SO21 
P73 
7-1-1 
KR3/SO01 
P74 7-1-2 
KR4/INTP8/SI01/ 
SDA01 
P75 
KR5/INTP9/SCK01/
SCL01 
P76 
KR6/INTP10 
P77 
7-1-1 
I/O 
Input port 
KR7/INTP11 
Port 7. 
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 P71 and P74 can be set to N-ch open-drain 
output (V
DD
 tolerance). 
P70 can be set to analog input
Note
P120 
7-3-1 
I/O 
Analog input port  ANI19 
P121 
X1 
P122 
X2/EXCLK  
P123 
XT1 
P124 
2-2-1 Input  Input 
port 
XT2/EXCLKS 
Port 12. 
1-bit I/O port and 4-bit input only port. 
For only P120, input/output can be specified. 
For only P120, use of an on-chip pull-up resistor can be 
specified by a software setting at input port. 
P120 can be set to analog input
Note
P130 1-1-1 
Output 
Output 
port 
− 
P137 2-1-2 
Input Input 
port 
INTP0 
Port 13. 
1-bit output port and 1-bit input only port. 
P140 
PCLBUZ0/INTP6 
P141 
7-1-1 I/O 
Input 
port 
PCLBUZ1/INTP7 
Port 14. 
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. 
<R> 
Note  Digital or analog for each pin can be selected with the port mode control register x (PMCx) (can be set in 1-bit 
units). 
 
R01UH0305EJ0200  Rev.2.00 
 
 
27  
Jul 04, 2013