EasyManua.ls Logo

Cmsemicon CMS32L051 - Analog Input Channel Specification Register (ADS)

Default Icon
703 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
V1.2.2
CMS32L051 User Manual |Chapter 11 A/D Converter
www.mcu.com.cn 277 / 703
11.2.6 Analog input channel specification register (ADS)
This is the register that specifies the analog voltage input channel to be A/D converted. The ADS
registers are set with 8-bit memory operating instructions.
After the reset signal is generated, the value of this register becomes 00H.
Figure11-9 Format of analog input channel specification register (ADS)
Reset value: 00H R/W
7
6
5
4
3
2
1
0
ADS
ADISS
0
ADS5
ADS4
ADS3
ADS2
ADS1
ADS0
)
ADS register setting value
Analog input channel
ADISS
ADS[5:0]
0
6'h00
ANI0(P20)
0
6'h01
ANI1(P21)
0
6'h02
ANI2(P22)
0
6'h03
ANI3(P23)
0
6'h04
ANI4(P24)
0
6'h05
ANI5(P25)
0
6'h06
ANI6(P26)
0
6'h07
ANI7(P27)
0
6'h08
ANI8(P11)
0
6'h09
ANI9(P10)
0
6'h0a
ANI10(P01)
0
6'h0b
ANI11(P00)
0
6'h0c
ANI12(P147)
0
6'h0d
ANI13(P12)
0
6'h0e
ANI14(P120)
0
6'h0f
ANI15(P146)
0
6'h10
ANI16(P13)
0
6'h11
ANI17(P14)
0
6'h12
ANI18(P15)
0
6'h13
ANI19(P16)
0
6'h14
ANI20(P17)
0
6'h15
ANI21(P30)
0
6'h16
ANI22(P31)
0
6'h17
ANI23(P50)
0
6'h18
ANI24(P51)
0
6'h19
ANI25(P60)
0
6'h1a
ANI26(P61)
0
6'h1b
ANI27(P62)
0
6'h1c
ANI28(P63)
0
6'h1d
ANI29(P70)
0
6'h1e
ANI30(P71)
0
6'h1f
ANI31(P72)
0
6'h20
ANI32(P73)
0
6'h21
ANI33(P74)
0
6'h22
ANI34(P75)
0
6'h23
ANI35(P130)
0
6'h24
ANI36(P136)
0
6'h3f
SW ALL OFF
1
6'h00
BGR (temperature sensor0)
1
6'h01
BGR (1.45V)
Beyond the above
Disable settings.
Note 1 The analog input channels of A/D converters vary from product to product. Detailed channel assignment
information can be found in the data sheet.

Table of Contents

Related product manuals