Figure 7.4. Adc2 Data Word Example; Sfr Definition 7.5. Adc2: Adc2 Data Word - Silicon Laboratories C8051F12 Series Manual

8k isp flash mcu
Table of Contents

Advertisement

C8051F120/1/2/3/4/5/6/7 C8051F130/1/2/3

SFR Definition 7.5. ADC2: ADC2 Data Word

2
SFR Page:
0xBE
SFR Address:
R/W
R/W
Bit7
Bit6
Bits7–0: ADC2 Data Word.
Single-Ended Example:
8-bit ADC Data Word appears in the ADC2 Data Word Register as follows:
Example: ADC2 Data Word Conversion Map, Single-Ended AIN2.0 Input
(AMX2CF = 0x00; AMX2SL = 0x00)
AIN2.0–AGND
(Volts)
VREF * (255/256)
VREF * (128/256)
VREF * (64/256)
0
Code
=
Vin
Differential Example:
8-bit ADC Data Word appears in the ADC2 Data Word Register as follows:
Example: ADC2 Data Word Conversion Map, Differential AIN2.0-AIN2.1 Input
(AMX2CF = 0x01; AMX2SL = 0x00)
AIN2.0–AIN2.1
(Volts)
VREF * (127/128)
VREF * (64/128)
0
–VREF * (64/128)
–VREF * (128/128)
Code
=
Vin
R/W
R/W
R/W
Bit5
Bit4
Bit3
ADC2
0xFF
0x80
0x40
0x00
Gain
×
×
-------------- -
256
VREF
ADC2
0x7F
0x40
0x00
0xC0 (-64d)
0x80 (-128d)
Gain
×
×
------------------------ -
256
× REF
2
V

Figure 7.4. ADC2 Data Word Example

R/W
R/W
Bit2
Bit1
Rev. 1.4
R/W
Reset Value
00000000
Bit0
99

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the C8051F12 Series and is the answer not in the manual?

Questions and answers

Table of Contents