ATTIny13-12PI ATMEL Corporation, ATTIny13-12PI Datasheet - Page 88

no-image

ATTIny13-12PI

Manufacturer Part Number
ATTIny13-12PI
Description
8-bit AVR Microcontroller with 1K Bytes In-System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
ADC Conversion Result
ADC Multiplexer Selection
Register – ADMUX
88
ATtiny13
Figure 50. Differential Non-linearity (DNL)
After the conversion is complete (ADIF is high), the conversion result can be found in
the ADC Result Registers (ADCL, ADCH).
For single ended conversion, the result is
where V
ence (see Table 37 on page 89 and Table 38 on page 89). 0x000 represents analog
ground, and 0x3FF represents the selected reference voltage minus one LSB.
• Bit 7 – Res: Reserved Bit
This bit is reserved bit in the ATtiny13 and will always read as zero.
• Bit 6 – REFS0: Reference Selection Bit
Bit
Read/Write
Initial Value
Quantization Error: Due to the quantization of the input voltage into a finite number
of codes, a range of input voltages (1 LSB wide) will code to the same value. Always
± 0.5 LSB.
Absolute Accuracy: The maximum deviation of an actual (unadjusted) transition
compared to an ideal transition for any code. This is the compound effect of offset,
gain error, differential error, non-linearity, and quantization error. Ideal value: ± 0.5
LSB.
IN
is the voltage on the selected input pin and V
Output Code
R
7
0
0x000
0x3FF
REFS0
R/W
6
0
0
1 LSB
ADLAR
R/W
5
0
ADC
=
R
4
0
V
--------------------------
IN
V
REF
1024
R
3
0
R
REF
2
0
V
REF
the selected voltage refer-
MUX1
Input Voltage
R/W
1
0
MUX0
R/W
0
0
2535B–AVR–01/04
ADMUX

Related parts for ATTIny13-12PI