Renesas rl78 User Manual

Page of 1004
 
RL78/G1A 
 
CHAPTER  2   PIN  FUNCTIONS 
(2/2) 
Function 
Name 
Pin  
Type 
I/O 
After Reset 
Alternate Function 
Function 
P40 7-1-1 
Input 
port 
TOOL0 
P41 7-3-1 
I/O 
Analog input port  ANI30/TI07/TO07 
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. 
P41 can be set to analog input
Note 1
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 1
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 7-1-1 
I/O 
Input port 
KR5/INTP9/SCK01/ 
SCL01 
Port 7. 
6-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 1
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 1
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 7-1-1 
Input 
port 
PCLBUZ0/INTP6 
Port 14. 
1-bit I/O port. 
Input/output can be specified. 
Use of an on-chip pull-up resistor can be specified by a 
software setting at input port. 
P150 4-3-1 
I/O 
Analog input port  ANI18 
Port 15 
1-bit I/O port. 
Input/output can be specified. 
Can be set to analog input
Note 2
RESET 2-1-1  Input 
− 
− 
Input only pin for external reset 
When external reset is not used, connect this pin to V
DD
 
directly or via a resistor. 
<R> 
Notes 1.  Digital or analog for each pin can be selected with the port mode control register x (PMCx) (can be set in 1-
bit units). 
 2.  Digital or analog for each pin can be selected with the A/D port configuration register (ADPC). 
R01UH0305EJ0200  Rev.2.00 
 
 
25  
Jul 04, 2013