RL78/G1D
Table 5-5. Setting Examples of Registers and Output Latches When Using Alternate Function (4/6)
Pin Name
Used Function
Function
Name
P30
P30
INTP3
RTC1HZ
P40
P40
P60
P60
(SCLA0)
P61
P61
(SDAA0)
P70
SCK21
P71
SI21
P72
SO21
P77
INTRF
P120
P120
ANI19
Table 5-5. Setting Examples of Registers and Output Latches When Using Alternate Function (5/6)
Pin Name
Used Function
Function Name
P121
P121
X1
P122
P122
X2
EXCLK
P123
P123
XT1
P124
P124
XT2
EXCLKS
R01UH0515EJ0120 Rev.1.20
Dec 16, 2016
PIORx
I/O
Input
–
Output
–
Input
–
Output
–
Input
–
Output
–
Input
–
Output
–
N-ch open
–
drain output
I/O
PIOR2 = 0
Input
–
Output
–
N-ch open
–
drain output
I/O
PIOR2 = 0
Output
–
Input
–
Output
–
Input
–
Input
–
Output
–
Analog input
–
I/O
Input
–
Input
–
–
Input
–
Input
–
Input
POMxx
PMCxx
PMxx
–
–
1
–
–
0
–
–
1
–
–
0
–
–
1
–
–
0
×
–
1
0
–
0
1
–
0
1
–
0
×
–
1
0
–
0
1
–
0
1
–
0
–
–
0
×
–
1
–
–
0
–
–
1
–
0
1
–
0
0
–
1
1
CMC
(EXCLK, OSCSEL,EXCKS,OSCSELS)
00xx/10 xx/11 xx
01 xx
00 xx / 10 xx
01 xx
11 xx
xx 00/xx 10/xx 11
xx 01
xx 00 / xx 10
xx 01
xx 11
CHAPTER 5 PORT FUNCTIONS
Pxx
Alternate Function Output
SAU Output
Function
×
–
0/1
–
×
–
0
–
×
–
0/1
–
×
×
0/1
(SCLA0) = 1
0/1
1
×
×
×
0/1
(SDAA0) = 1
0/1
1
×
1
×
×
×
1
×
×
–
×
–
0/1
–
×
–
Pxx
×
–
×
–
–
×
–
×
–
–
Other than
SAU
×
×
×
×
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
109