
CHAPTER 12 A/D CONVERTER
User’s Manual U16228EJ2V0UD
256
(2) Analog input channel specification register (ADS)
This register specifies the input port of the analog voltage to be A/D converted.
ADS can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input clears this register to 00H.
Figure 12-4. Format of Analog Input Channel Specification Register (ADS)
Address: FF29H After reset: 00H R/W
ADS0
ADS1
ADS2
0
0
0
0
0
Analog input channel specification
ANI0
ANI1
ANI2
ANI3
ANI4
ANI5
ANI6
ANI7
ADS0
0
1
0
1
0
1
0
1
ADS1
0
0
1
1
0
0
1
1
ADS2
0
0
0
0
1
1
1
1
0
1
2
3
4
5
6
7
ADS
Symbol
Cautions 1. Be sure to clear bits 3 to 7 of ADS to 0.
2. 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 X1 input clock is stopped. For details, see
CHAPTER 34 CAUTIONS FOR WAIT.