Renesas g1a Answering Machine User Manual


  Open as PDF
of 1004
 
RL78/G1A CHAPTER 4 PORT FUNCTIONS
R01UH0305EJ0200 Rev.2.00 126
Jul 04, 2013
Table 4-6. Setting Examples of Registers and Output Latches When Using Alternate Function (6/17)
Used Function Pin Name
Function
Name
I/O
ADPC ADM2 PIOR PMxx Pxx 25-pin 32-pin 48-pin 64-pin
Input ADPC = 01H × 1 × P20
Output ADPC = 01H × 0 0/1
ANI0 Analog input
ADPC = 00H/02H to 0FH
00x0xx0x,
10x0xx0x
× 1 ×
P20
AV
REFP Reference voltage ADPC = 00H/02H to 0FH 01x0xx0x × 1 ×
Input ADPC = 01H/02H × 1 × P21
Output ADPC = 01H/02H × 0 0/1
ANI1 Analog input ADPC = 00H/03H to 0FH xx00xx0x × 1 ×
P21
AV
REFM Reference voltage ADPC = 00H/03H to 0FH xx10xx0x × 1 ×
Input ADPC = 01H to 03H × 1 × P22
Output ADPC = 01H to 03H × 0 0/1
ANI2 Analog input ADPC = 00H/04H to 0FH × × 1 ×
(KR2) Input ADPC = 01H to 03H ×
02H
Note 1
1 × × ×
(KR3) Input ADPC = 01H to 03H ×
02H
Note 2
1 × × × ×
P22
(KR5) Input ADPC = 01H to 03H ×
02H
Note 3
1 × × × ×
Input ADPC = 01H to 04H × 1 × P23
Output ADPC = 01H to 04H × 0 0/1
ANI3 Analog input ADPC = 00H/05H to 0FH × × 1 ×
(KR3) Input ADPC = 01H to 04H ×
02H
Note 1
1 × × ×
(KR4) Input ADPC = 01H to 04H ×
02H
Note 2
1 × × × ×
P23
(KR6) Input ADPC = 01H to 04H ×
02H
Note 3
1 × × × ×
Notes 1. 25- and 48-pin products only
2. 32-pin products only
3. 64-pin products only
<R>