RF42/43
Register 0Fh. ADC Configuration
Bit
D7
adcstart/
adcdone
R
D6
D5
adcsel[2:0]
R
D4
D3
D2
adcref[1:0]
R/w
D1
adcgain[1:0]
R/w R/w
D0
Name
Type
R
R
R/w
Reset value = 00000000
Bit
Name
adcstart/adcdone ADC Measurement Start Bit.
Function
7
Reading this bit gives 1 if the ADC measurement cycle has been finished.
ADC Input Source Selection.
The internal 8-bit ADC input source can be selected as follows:
000:
001:
010:
011:
100:
101:
110:
111:
Internal Temperature Sensor
GPIO0, single-ended
GPIO1, single-ended
6:4
adcsel[2:0]
GPIO2, single-ended
GPIO0(+) – GPIO1(–), differential
GPIO1(+) – GPIO2(–), differential
GPIO0(+) – GPIO2(–), differential
GND
ADC Reference Voltage Selection.
The reference voltage of the internal 8-bit ADC can be selected as follows:
0X: bandgap voltage (1.2 V)
3:2
1:0
adcref[1:0]
10:
11:
VDD / 3
VDD / 2
ADC Sensor Amplifier Gain Selection.
The full scale range of the internal 8-bit ADC in differential mode (see adcsel)
can be set
as follows:
adcgain[1:0]
adcref[0] = 0:
adcref[0] = 1:
FS = 0.014 x (adcgain[1:0] + 1) x VDD FS = 0.021 x (adcgain[1:0] + 1) x VDD
70
Tel: +86-755-82973805
Fax: +86-755-82973550
E-mail: sales@hoperf.com
http://www.hoperf.com