Renesas rl78 User Manual
RL78/G1A
CHAPTER 4 PORT FUNCTIONS
R01UH0305EJ0200 Rev.2.00
122
Jul 04, 2013
Table 4-6. Setting Examples of Registers and Output Latches When Using Alternate Function (2/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
×
−
×
Output
− 0
0
0
0/1
−
SDA10 = 1
Note 3
TO00 = 0
Note 4
P03
N-ch open
drain output
− 1
0
0
0/1
−
×
√
√
√
√
ANI16 Analog
input
×
× 1
1
×
−
×
√
√
√
√
SI10 Input
×
× 0
1
×
−
×
×
×
×
√
RxD1 Input
×
× 0
1
×
−
×
√
√
√
√
SDA10 I/O
× 1
0
0
1
−
×
×
×
×
√
TO00 Output
× 0/1
0
0
1
−
×
√
√
√
×
(KR1) Input
02H
Note 4
× 0
1
×
−
×
√
×
√
×
(KR2) Input
02H
Note 2
× 0
1
×
−
×
×
√
×
×
P03
(KR3) Input
02H
Note 3
× 0
1
×
−
×
×
×
×
√
Input
−
−
− 1 ×
×
−
Output
− 0
− 0
0/1
P04
N-ch open
drain output
− 1
− 0
0/1
SCK10 = 1,
SCL10 = 1
−
×
×
×
√
Input
×
×
− 1 ×
×
−
×
×
×
√
SCK10
Output
× 0/1
− 0 1 ×
−
×
×
×
√
SCL10 Output
× 0/1
− 0 1 ×
−
×
×
×
√
P04
(KR4) Input
02H
Note 3
×
− 1 ×
×
−
×
×
×
√
Input
−
−
− 1 ×
−
×
P05
Output
−
−
− 0
0/1
− TO05
=
0
×
×
×
√
TI05 Input
×
−
− 1 ×
−
×
×
×
×
√
TO05 Output
×
−
− 0 1 −
×
×
×
×
√
P05
KR8 Input 00H
Note 3
−
− 1 ×
−
×
×
×
×
√
Input
−
−
− 1 ×
−
×
P06
Output
−
−
− 0
0/1
− TO06
=
0
×
×
×
√
TI06 Input
×
−
− 1 ×
−
×
×
×
×
√
TO06 Output
×
−
− 0 1 −
×
×
×
×
√
P06
KR9 Input 00H
Note 3
−
− 1 ×
−
×
×
×
×
√
Notes 1. 25- and 48-pin products only
2. 32-pin products only
3. 64-pin products only
4. 25- to 48-pin products only
<R>