Datasheet
RL78/L12 CHAPTER 2 PIN FUNCTIONS
R01UH0330EJ0200 Rev.2.00 29
Dec 13, 2013
(2/2)
Function
Name
Pin Type I/O After Reset Alternate Function Function
P50 7-5-1 I/O
Digital input
invalid
INTP5/SEG7/
(PCLBUZ0)
Port 5.
5-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.
P51
TI06/TO06/
SEG8
P52 INTP6/SEG9
P53
TI07/TO07/SEG10/
(INTP1)
P54
SEG11/(TI02)/
(TO02)/(INTP2)
P60 12-1-4 I/O
Digital input
invalid
SCLA0/SEG21
Port 6.
2-bit I/O port.
Input/output can be specified in 1-bit units.
P61 SDAA0/SEG20
P70 7-5-1 I/O
Digital input
invalid
KR0/SEG16
Port 7.
5-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.
P71 KR1/SEG15
P72 KR2/SEG14
P73 KR3/SEG13
P74 SEG12
P120 7-10-1 I/O
Analog input
port
ANI17/SEG25
Port 12.
4-bit I/O port and 4-bit input port.
For P120 and P125 to P127, input/output can be specified
in 1-bit units.
For P120 and P125 to P127, 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
.
P121 2-2-1 Input Input port X1
P122 X2/EXCLK
P123 XT1
P124 XT2/EXCLKS
P125 8-5-3 I/O
Digital input
invalid
VL3
P126 8-5-2 CAPL
P127 CAPH
P130 1-1-1 Output Output port
−
Port 13.
1-bit output port and 1-bit input port.
P137 2-1-2 Input Input port INTP0
P140 7-5-1 I/O
Digital input
invalid
TO00/PCLBUZ0/
SEG27/(INTP6)
Port 14.
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.
P142 to P145 can be set to analog input
Note
.
P141
TI00/PCLBUZ1/
SEG26/(INTP7)
P142 7-10-1
Analog input
port
ANI20/SEG33
P143 ANI21/SEG34
P144 ANI22/SEG35
P145 ANI23/SEG36
P146 7-5-1
Digital input
invalid
SEG37
P147 SEG38
Note When the each pin is used as input, specify them as either digital or analog in Port mode control register X
(PMCX) (This register can be specified in 1-bit unit).
Remark Functions in parentheses in the above figure can be assigned via settings in the peripheral I/O redirection
register (PIOR). Refer to Figure 4-8 Format of Peripheral I/O Redirection Register (PIOR).
<R>