(4) 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 sets this register to 00H.
Figure 13-8. Format of Analog Input Channel Specification Register (ADS)
Address: FF29H
Symbol
ADS
Cautions 1. Be sure to clear bits 3 to 7 to 0.
2 Set a channel to be used for A/D conversion in the input mode by using port mode register 2
(PM2).
3. Do not set a pin to be used as a digital I/O pin with ADPC with ADS.
4. If data is written to ADS, a wait cycle is generated. Do not write data to ADS when the CPU is
operating on the subsystem clock and the peripheral hardware clock is stopped. For details,
see CHAPTER 31 CAUTIONS FOR WAIT.
312
CHAPTER 13 A/D CONVERTER
After reset: 00H
R/W
7
6
5
0
0
0
ADS2
ADS1
ADS0
0
0
0
ANI0
0
0
1
ANI1
0
1
0
ANI2
0
1
1
ANI3
1
0
0
ANI4
1
0
1
ANI5
1
1
0
ANI6
1
1
1
ANI7
Preliminary User's Manual U17260EJ3V1UD
4
3
2
1
0
0
ADS2
ADS1
Analog input channel specification
0
ADS0