530
Chapter 15
A/D Converter
Preliminary User’s Manual U15839EE1V0UM00
(2)
A/D converter register (ADS)
The ADS register is an 8-bit register that selects the analog input channel for the A/D conversion.
It can be read or written in 1-bit or 8-bit units. Writing to the ADS register during A/D conversion
operation interrupts the conversion operation and the data is lost. The conversion operation
restarts from the beginning.
Figure 15-3:
A/D Converter Register (ADS)
7
6
5
4
3
2
1
0
Address
Initial
value
ADS
0
0
0
0
ADS3
ADS2
ADS1
ADS0
FFFFF201H
0000H
Bit Position
Bit Name
Function
3 to 0
ADS3 to
ADS0
The bits ADS3 to ADS0 specify the analog input channel for which the A/D conversion
is performed. .
ADS3
ADS2
ADS1
ADS0
Analog input channel
0
0
0
0
AIN0
0
0
0
1
AIN1
0
0
1
0
AIN2
0
0
1
1
AIN3
0
1
0
0
AIN4
0
1
0
1
AIN5
0
1
1
0
AIN6
0
1
1
1
AIN7
1
0
0
0
AIN8
1
0
0
1
AIN9
1
0
1
0
AIN10
1
0
1
1
AIN11
Others than above
Setting prohibited
Summary of Contents for mPD703128
Page 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Page 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Page 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Page 612: ......