User manual

RL78/G1A CHAPTER 4 PORT FUNCTIONS
R01UH0305EJ0200 Rev.2.00 132
Jul 04, 2013
Table 4-6. Setting Examples of Registers and Output Latches When Using Alternate Function (12/17)
Used Function Alternate Function Output Pin Name
Function
Name
I/O
PIOR POMxx PMCxx PMxx Pxx
SAU Output
Function
Other than
SAU
25-pin 32-pin 48-pin 64-pin
Input 0 1 × × P70
Output
0 0 0/1
SCK21 = 1
Note 2
,
SCL21 = 1
Note 2
×
ANI28 Analog input × 1 1 × × ×
Input × 0 1 × × × × SCK21
Output × 0 0 1 × × ×
SCL21 Output × 0 0 1 × × ×
P70
KR0 Input
00H
Note 1
0 1 × × ×
Input 1 ×
Output 0 0 0/1
P71
N-ch open
drain output
1 0 0/1
SDA21 = 0
× ×
SI21 Input × × 1 × × × ×
SDA21 I/O × 1 0 1 × × ×
P71
KR1 Input
00H
Note 2
× 1 × × × ×
Input 1 × × P72
Output 0 0/1 SO21 = 1
× ×
SO21 Output × 0 1 × × ×
P72
KR2 Input
00H
Note 2
1 × × × ×
Input 1 × × P73
Output 0 0/1 SO01 = 1
× ×
SO01 Output × 0 1 × × ×
P73
KR3 Input
00H
Note 2
1 × × × ×
Notes 1. 32- to 64-pin products only
2. 48- and 64-pin products only
<R>