BAT32G1x9 user manual | Chapter 15 A/D converter
495 / 1149
Rev.1.02
15.2.6 Analog input channel specified register (ADS).
This is the register that specifies the analog voltage input channel to be converted
to A/D.
Set the ADS registers via the 8-bit memory operation instructions.
After generating a reset signal, the value of this register changes to "00H".
Figure15-9 The analog input channel specifies the format of the register (ADS).
Reset value: 00H R/W
7
6
5
4
3
2
1
0
ADS
ADISS
ADCHPGA1
ADCHPGA0
ADS4
ADS3
ADS2
ADS1
ADS0
○ Selection mode (ADM1. ADMD=0)
ADS register setting value
CH Selection
ADISS
ADCHPGA1
ADCHPGA0
ADS4
ADS3
ADS2
ADS1
ADS0
0
0
0
0
0
0
0
0
ANI0(P20)
0
0
0
0
0
0
0
1
ANI1(P21)
0
0
0
0
0
0
1
0
ANI2(P22)
0
0
0
0
0
0
1
1
ANI3(P23)
0
0
0
0
0
1
0
0
ANI4(P24)
0
0
0
0
0
1
0
1
ANI5(P25)
0
0
0
0
0
1
1
0
ANI6(P26)
0
0
0
0
0
1
1
1
ANI7(P27)
0
0
0
0
1
0
0
0
ANI8(P11)
0
0
0
0
1
0
0
1
ANI9(P10)
0
0
0
0
1
0
1
0
ANI10(P03)
0
0
0
0
1
0
1
1
ANI11(P02)
0
0
0
0
1
1
0
0
ANI12(P147)
0
0
0
0
1
1
0
1
ANI13(P04)
0
0
0
0
1
1
1
0
ANI14(P120)
0
0
0
0
1
1
1
1
ANI15(P146)
0
0
0
1
0
0
0
0
ANI16(P100)
0
0
0
1
0
0
0
1
ANI17(P150)
0
0
0
1
0
0
1
0
ANI18(P151)
0
0
0
1
0
0
1
1
ANI19(P152)
0
0
0
1
0
1
0
0
ANI20(P153)
0
0
0
1
0
1
0
1
ANI21(P154)
0
0
0
1
0
1
1
0
ANI22(P155)
0
0
0
1
0
1
1
1
ANI23(P156)
0
0
0
1
1
0
0
0
ANI24(P101)
0
0
0
1
1
0
0
1
ANI25(P102)
0
0
0
1
1
0
1
0
ANI26(P144)
0
0
0
1
1
0
1
1
ANI27(P145)
0
0
0
1
1
1
1
1
SW ALL OFF
1
0
0
0
0
0
0
0
Output Voltage
Note 1
for
Temperature Sensor
1
0
0
0
0
0
0
1
Internal Reference
Voltage (1.45V)
0
1
0
0
0
0
0
0
PGA1
0
0
1
0
0
0
0
0
PGA0
Others disable from setting