ATTINY15 ATMEL [ATMEL Corporation], ATTINY15 Datasheet - Page 46

no-image

ATTINY15

Manufacturer Part Number
ATTINY15
Description
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY15L
Manufacturer:
ATMEL
Quantity:
5 510
Part Number:
ATTINY15L
Manufacturer:
SIEMENS
Quantity:
5 510
Part Number:
ATTINY15L-1PC
Quantity:
1 670
Part Number:
ATTINY15L-1PI
Manufacturer:
AIMEL
Quantity:
5 510
Part Number:
ATTINY15L-1PI
Manufacturer:
VISHAY
Quantity:
5 510
Part Number:
ATTINY15L-1PI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATTINY15L-1SC
Manufacturer:
ATMEL
Quantity:
3 447
Part Number:
ATTINY15L-1SC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATTINY15L-1SI
Manufacturer:
ATMEL
Quantity:
8
Part Number:
ATTINY15L-1SI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATTINY15L-1SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
ADC Noise Canceler
Function
The ADC Multiplexer Selection
Register – ADMUX
46
ATtiny15L
The ADC features a noise canceler that enables conversion during ADC Noise Reduc-
tion mode (see “Sleep Modes” on page 23) to reduce noise induced from the CPU core
and other I/O peripherals. If other I/O peripherals must be active during conversion, this
mode works equivalently for Idle mode. To make use of this feature, the following proce-
dure should be used:
1. Make sure that the ADC is enabled and is not busy converting. Single Conver-
2. Enter ADC Noise Reduction mode (or Idle mode). The ADC will start a conver-
3. If no other interrupts occur before the ADC conversion completes, the ADC inter-
• Bits 7..6 – REFS1..REFS0: Reference Selection Bits
These bits select the voltage reference for the ADC, as shown in Table 19. If these bits
are changed during a conversion, the change will not go into effect until this conversion
is complete (ADIF in ADCSR is set). Whenever these bits are changed, the next
conversion will take 25 ADC clock cycles. If active channels are used, using AVCC or an
external AREF higher than (AVCC - 1V) is not recommended, as this will affect ADC
accuracy. The internal voltage reference options may not be used if an external
reference voltage is being applied to the AREF pin.
Table 19. Voltage Reference Selections for ADC
• Bit 5 – ADLAR: ADC Left Adjust Result
The ADLAR bit affects the presentation of the ADC conversion result in the ADC Data
Register. If ADLAR is cleared, the result is right-adjusted. If ADLAR is set, the result is
left-adjusted. Changing the ADLAR bit will affect the ADC Data Register immediately,
regardless of any ongoing conversions. For a complete description of this bit, see “The
ADC Data Register – ADCL and ADCH” on page 48.
Bit
$07
Read/Write
Initial Value
REFS1
ADEN = 1
ADSC = 0
ADFR = 0
ADIE = 1
0
0
1
1
sion mode must be selected and the ADC conversion complete interrupt must be
enabled.
sion once the CPU has been halted.
rupt will wake up the MCU and execute the ADC conversion complete interrupt
routine.
REFS0
0
1
0
1
REFS1
R/W
7
0
Voltage Reference Selection
VCC used as analog reference, disconnected from PB0 (AREF).
External Voltage Reference at PB0 (AREF) pin, Internal Voltage
Reference turned off.
Internal Voltage Reference without external bypass capacitor,
disconnected from PB0 (AREF).
Internal Voltage Reference with external bypass capacitor at PB0 (AREF)
pin.
REFS0
R/W
6
0
ADLAR
R/W
5
0
R
4
0
R
3
0
MUX2
R/W
2
0
MUX1
R/W
1
0
MUX0
R/W
0
0
1187D–12/01
ADMUX

Related parts for ATTINY15