www
.mcu.com.cn
216
/
239
Rev.
1.00
CMS80F731x Reference Manual
23.6.4
AD Channel Selection Register ADCCHS
0xD9
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
ADCCHS
--
--
CHS5
CHS4
CHS3
CHS2
CHS1
CHS0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset value
0
0
0
0
0
0
0
0
Bit7
--
Reserved, must be 0.
Bit5~Bit0
CHS<5:0>:
Analog channel selection bits;
000000=
AIN0;
010000=
AIN16;
100000=
Prohibited access;
000001=
AIN1;
010001=
AIN17;
100001=
Prohibited access;
000010=
AIN2;
010010=
AIN18;
100010=
Prohibited access;
000011=
AIN3;
010011=
AIN19;
100011=
Prohibited access;
000100=
AIN4;
010100=
Prohibited access;
100100=
Prohibited access;
000101=
AIN5;
010101=
Prohibited access;
100101=
Prohibited access;
000110=
AIN6;
010110=
Prohibited access;
100110=
Prohibited access;
000111=
AIN7;
010111=
Prohibited access;
100111=
AIN39;
001000=
AIN8;
011000=
Prohibited access;
101000=
AIN40;
001001=
AIN9;
011001=
Prohibited access;
101001=
AIN41;
001010=
AIN10;
011010=
Prohibited access;
101010=
AIN42;
001011=
AIN11;
011011=
Prohibited access;
101011=
AIN43;
001100=
AIN12;
011100=
Prohibited access;
101100=
AIN44;
001101=
AIN13;
011101=
Prohibited access;
101101=
Prohibited access;
001110=
AIN14;
011110=
Prohibited access;
Other =
Prohibited access;
001111=
AIN15;
011111=
Prohibited access;
111111=
See ADCON0.ANACH
description.