attiny25v ATMEL Corporation, attiny25v Datasheet - Page 142

no-image

attiny25v

Manufacturer Part Number
attiny25v
Description
Microcontroller With 2/4/8k Bytes In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
attiny25v-10MU
Manufacturer:
ATMEL
Quantity:
1 650
Part Number:
attiny25v-10MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
attiny25v-10PU
Manufacturer:
Atmel
Quantity:
29 497
Part Number:
attiny25v-10PU
Manufacturer:
Atmel
Quantity:
5 000
Part Number:
attiny25v-10SU
Manufacturer:
ATMEL
Quantity:
2 110
Part Number:
attiny25v-10SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
attiny25v-15ST
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
17.13.5
142
ATtiny25/45/85
DIDR0 – Digital Input Disable Register 0
are supported and the voltage on the positive input must always be larger than the voltage on
the negative input. Otherwise the result is saturated to the voltage reference. In the bipolar mode
two-sided conversions are supported and the result is represented in the two’s complement
form. In the unipolar mode the resolution is 10 bits and the bipolar mode the resolution is 9 bits +
1 sign bit.
• Bit 5 – IPR: Input Polarity Reversal
The Input Polarity mode allows software selectable differential input pairs and full 10 bit ADC
resolution, in the unipolar input mode, assuming a pre-determined input polarity. If the input
polarity is not known it is actually possible to determine the polarity first by using the bipolar input
mode (with 9 bit resolution + 1 sign bit ADC measurement). And once determined, set or clear
the polarity reversal bit, as needed, for a succeeding 10 bit unipolar measurement.
• Bits 4:3 – Res: Reserved Bits
These bits are reserved bits in the ATtiny25/45/85 and will always read as zero.
• Bits 2:0 – ADTS2:0: ADC Auto Trigger Source
If ADATE in ADCSRA is written to one, the value of these bits selects which source will trigger
an ADC conversion. If ADATE is cleared, the ADTS2:0 settings will have no effect. A conversion
will be triggered by the rising edge of the selected Interrupt Flag. Note that switching from a trig-
ger source that is cleared to a trigger source that is set, will generate a positive edge on the
trigger signal. If ADEN in ADCSRA is set, this will start a conversion. Switching to Free Running
mode (ADTS[2:0]=0) will not cause a trigger event, even if the ADC Interrupt Flag is set
Table 17-6.
• Bits 5:2 – ADC3D:ADC0D: ADC3:0 Digital Input Disable
When this bit is written logic one, the digital input buffer on the corresponding ADC pin is dis-
abled. The corresponding PIN register bit will always read as zero when this bit is set. When an
analog signal is applied to the ADC3:0 pin and the digital input from this pin is not needed, this
bit should be written logic one to reduce power consumption in the digital input buffer.
Bit
0x14
Read/Write
Initial Value
ADTS2
0
0
0
0
1
1
1
ADC Auto Trigger Source Selections
7
0
R
6
R
0
ADTS1
0
0
1
1
0
0
1
5
ADC0D
R/W
0
4
ADC2D
R/W
0
ADTS0
0
1
0
1
0
1
0
3
ADC3D
R/W
0
Trigger Source
Free Running mode
Analog Comparator
External Interrupt Request 0
Timer/Counter0 Compare Match A
Timer/Counter0 Overflow
Timer/Counter0 Compare Match B
Pin Change Interrupt Request
2
ADC1D
R/W
0
1
AIN1D
R/W
0
0
AIN0D
R/W
0
2586K–AVR–01/08
DIDR0
.

Related parts for attiny25v