Rainbow-electronics ATmega128RFA1 User Manual Page 412

  • Download
  • Add to my manuals
  • Print
  • Page
    / 524
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 411
412
8266A-MCU Wireless-12/09
ATmega128RFA1
cause instable operation of the internal reference voltage buffer and will not improve
noise immunity.
The analog input channel is selected by writing to the MUX bits in ADMUX and
ADCSRB. Any of the ADC input pins, as well as AVSS and a fixed bandgap voltage
reference can be selected as single ended inputs to the ADC. A choice of ADC input
pins can be selected as positive and negative inputs to the differential amplifier.
Furthermore the temperature sensor and the DRT voltages of SRAM2 can also be
processed with the ADC.
If differential channels are selected, the amplified voltage difference between the
selected input channel pair then becomes the input of the ADC. The respective pin
voltages for a differential measurement can be in the range from 0V to EVDD. In this
way it is possible to handle differential input voltages with a common mode value higher
than AVDD e.g. process a 50mV differential signal with a 2.5V common mode voltage.
If single ended channels are used, the gain amplifier is bypassed altogether. Any ADC
input voltage (single-ended or amplified-differential) exceeding AVDD will be internally
clamped to AVDD to avoid damaging the ADC circuitry. Note that the pin input current
will not increase if the clamp circuit is active.
The ADC is enabled by setting ADEN bit in ADCSRA. Voltage reference and input
channel selections will not go into effect until ADEN is set. The ADC does not consume
power when ADEN is cleared. It is required to disable the ADC before entering power
saving sleep modes.
The ADC generates a 10-bit result which is presented in the ADC Data Registers,
ADCH and ADCL. By default, the result is presented right adjusted, but can optionally
be presented left adjusted by setting the ADLAR bit in ADMUX.
If the result is left adjusted and no more than 8-bit precision is required, it is sufficient to
read ADCH. Otherwise, ADCL must be read first, then ADCH, to ensure that the
content of the Data Registers belongs to the same conversion. Once ADCL is read,
ADC access to Data Registers is blocked. This means that if ADCL has been read, and
a conversion completes before ADCH is read, neither register is updated and the result
from the conversion is lost. When ADCH is read, ADC access to the ADCH and ADCL
Registers is re-enabled.
The ADC has its own interrupt which can be triggered when a conversion completes.
When ADC access to the Data Registers is prohibited between reading of ADCH and
ADCL, the interrupt will trigger even if the result is lost.
27.3 ADC Start-Up
After the ADC is enabled by setting ADEN, it will go through a start-up phase. The
analog supply voltage AVDD is turned on. It takes time t
AVREG
(see "Power Management
Electrical Characteristics" on page 503) µs for AVDD to stabilize. A stable AVDD
voltage is indicated by the AVDDOK bit in ADCSRB. After this the ADC and, for
differential input channels also the gain amplifier, is powered up. The duration of this
phase depends on the ADC clock period and the configuration of the Start-Up and
Track-And–Hold Time bits, ADSUT4:0 and ADTHT1:0 in ADCSRC. For details about
the start-up timing refer to section "Pre-scaling and Conversion Timing" on page 413.
During the ADC start-up phase a conversion start can already be requested by writing a
logical one to the ADC Start Conversion bit, ADSC in ADCSRA. In this case a
conversion is started directly after the start-up phase. During the start-up phase it is still
possible to change the analog input channel until the AVDDOK bit changes to logic one
or, if the AVDDOK bit is one, until the ADSC bit is set.
Page view 411
1 2 ... 407 408 409 410 411 412 413 414 415 416 417 ... 523 524

Comments to this Manuals

No comments

BLANCO Contemporary Kitchen Faucet with Pull-Down Spray 157-099 manuály

Uživatelské manuály a uživatelské příručky pro ne BLANCO Contemporary Kitchen Faucet with Pull-Down Spray 157-099.
Poskytujeme 1 manuály pdf BLANCO Contemporary Kitchen Faucet with Pull-Down Spray 157-099 ke stažení zdarma podle typů dokumentů: Uživatelský manuál






Další produkty a příručky pro ne BLANCO

Modely Typ Dokumentu
500-312 Uživatelský manuál   Blanco 500-312 User's Manual [en] , 1 stránky
Medallian 157-085 Uživatelský manuál Blanco Medallian 157-085 User's Manual, 2 stránky
157-139 Uživatelský manuál Blanco 157-139 User's Manual, 2 stránky
157-079 Uživatelský manuál   Blanco 157-079 User's Manual, 2 stránky
Norstar 513-622 Uživatelský manuál   Blanco Norstar 513-622 User's Manual, 1 stránky
501-103 Uživatelský manuál   Blanco 501-103 User's Manual, 1 stránky
Traditional Kitchen Faucet Bridge Without Side Spray 157-144 Uživatelský manuál Blanco Traditional Kitchen Faucet Bridge Without Side Spray 157-144 User's Manual [en] , 2 stránky
512-748 Uživatelský manuál   Blanco 512-748 User's Manual, 1 stránky
Traditional Kitchen Faucet with Pull-Out Spray 157-089 Uživatelský manuál Blanco Traditional Kitchen Faucet with Pull-Out Spray 157-089 User's Manual, 2 stránky
157-045 Uživatelský manuál   Blanco 157-045 User's Manual, 2 stránky
157-061 Uživatelský manuál Blanco 157-061 User's Manual, 2 stránky
157-123 Uživatelský manuál Blanco 157-123 User's Manual, 2 stránky
512-067 Uživatelský manuál   Blanco 512-067 User's Manual, 1 stránky
512-746 Uživatelský manuál   Blanco 512-746 User's Manual, 1 stránky
511-639 Uživatelský manuál   Blanco 511-639 User's Manual, 1 stránky
501-114 Uživatelský manuál   Blanco 501-114 User's Manual, 1 stránky
513-641 Uživatelský manuál Blanco 513-641 User's Manual, 1 stránky
Wave 510-877 Uživatelský manuál   Blanco Wave 510-877 User's Manual, 1 stránky
513-637 Uživatelský manuál Blanco 513-637 User's Manual, 1 stránky
Traditional Bar Faucet 157-054 Uživatelský manuál   Blanco Traditional Bar Faucet 157-054 User's Manual [ua] , 2 stránky