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 
P50 
7-3-2 
Analog input port 
ANI26/INTP1/SI11/ 
SDA11 
P51 7-1-1 
I/O 
Input port 
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). 
P50 can be set to analog input
Note
P60 
SCLA0 
P61 
SDAA0 
P62 
12-1-1 I/O 
Input 
port 
− 
Port 6. 
3-bit I/O port.  
Input/output can be specified in 1-bit units. 
Output of P60 to P62 can be set to N-ch open-drain 
output (6 V tolerance). 
P70 
7-3-1 
I/O 
Analog input port 
ANI28/KR0 
Port 7. 
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.  
Can be set to analog input
 Note
P120 
7-3-1 
I/O 
Analog input port 
ANI19/(KR0) 
P121 X1 
P122 
2-2-1 Input 
Input 
port 
X2/EXCLK  
Port 12. 
1-bit I/O port and 2-bit input only port.  
P120 can be set to analog input
 Note
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. 
P137 
2-1-2 
Input 
Input port 
INTP0 
Port 13 
1bit input only port. 
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> 
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).
 
 
Remark  Functions in parentheses in the above figure can be assigned via settings in the peripheral I/O redirection 
register (PIOR).  See Figure 4-8  Format of Peripheral I/O Redirection Register (PIOR)
 
R01UH0305EJ0200  Rev.2.00 
 
 
23  
Jul 04, 2013