English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (414/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 10 12-BIT A/D CONVERTER (μ PD78F150xA),
10-BIT A/D CONVERTER (μ PD78F151xA)
(8) Analog input channel specification register (ADS)
This register specifies the input channel of the analog voltage to be A/D converted.
ADS can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 10-13. Format of Analog Input Channel Specification Register (ADS)
Address: FFF31H After reset: 00H R/W
Symbol
7
6
5
ADS
0
0
0
4
3
2
1
0
0
ADS3
ADS2
ADS1
ADS0
Note →
Note →
Note →
Note →
ADS3
0
0
0
0
0
0
0
0
1
1
1
1
ADS2
ADS1
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1
0
0
0
0
0
1
1
1
Other than the above
ADS0
0
1
0
1
0
1
0
1
0
1
0
1
Analog input channel
ANI0
ANI1
ANI2
ANI3
ANI4
ANI5
ANI6
ANI7
ANI8
ANI9
ANI10
ANI15
Setting prohibited
Note This setting is prohibited for 78K0R/LF3.
Cautions 1. Be sure to clear bits 4 to 7 to “0”.
2 Set a channel to be used for A/D conversion in the input mode by using port mode registers 2
and 15 (PM2, PM15).
3. Do not set the pin that is set by ADPC as digital I/O by ADS.
4. When using an operational amplifier n, the output signal of an operational amplifier n can be
used as an analog input.
Remark 78K0R/LF3:
n = 0, 1
78K0R/LG3, 78K0R/LH3: n = 0 to 2
R01UH0004EJ0501 Rev.5.01
398
Jun 20, 2011