Datasheet

254
8011O–AVR–07/10
ATmega164P/324P/644P
Figure 20-14. Differential Measurement Range
Table 20-2. Correlation between Input Voltage and Output Codes
V
ADCn
Read code Corresponding Decimal Value
V
ADCm
+ V
REF
/GAIN 0x1FF 511
V
ADCm
+ 0.999 V
REF
/GAIN 0x1FF 511
V
ADCm
+ 0.998 V
REF
/GAIN 0x1FE 510
... ... ...
V
ADCm
+ 0.001 V
REF
/GAIN 0x001 1
V
ADCm
0x000 0
V
ADCm
- 0.001 V
REF
/GAIN 0x3FF -1
... ... ...
V
ADCm
- 0.999 V
REF
/GAIN 0x201 -511
V
ADCm
- V
REF
/GAIN 0x200 -512
0
Output Code
0x1FF
0x000
V
REF
/GAIN
Differential Input
Voltage (Volts)
0x3FF
0x200
- V
REF
/GAIN