Electronic Components Datasheet Search
  English  ▼

X  

AVR125 Datasheet(PDF) 2 Page - ATMEL Corporation

Part # AVR125
Description  ADC of tinyAVR in Single Ended Mode Up to 10bit resolution
PDF  11 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AVR125 Datasheet(HTML) 2 Page - ATMEL Corporation

  AVR125 Datasheet HTML 1Page - ATMEL Corporation AVR125 Datasheet HTML 2Page - ATMEL Corporation AVR125 Datasheet HTML 3Page - ATMEL Corporation AVR125 Datasheet HTML 4Page - ATMEL Corporation AVR125 Datasheet HTML 5Page - ATMEL Corporation AVR125 Datasheet HTML 6Page - ATMEL Corporation AVR125 Datasheet HTML 7Page - ATMEL Corporation AVR125 Datasheet HTML 8Page - ATMEL Corporation AVR125 Datasheet HTML 9Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 2 / 11 page
background image
2
AVR125
8352A-AVR-01/12
2 Module overview
This section provides an overview of the functionality and basic configuration options
of the ADC. Section 3 then walks you through the basic steps to get you up and
running, with register descriptions and configuration details.
2.1 ADC operation
To make use of the ADC, the PRADC bit in the Power Reduction Register must be
disabled. This is done by clearing the PRADC bit. ADC module must be disabled
before disabling in PRR. The ADC module converts the analog input voltage to a 10-
bit digital value. The minimum value represents GND and maximum value denotes
the reference voltage used. The Reference voltage is chosen by the REFS0 bit in the
ADMUX register. The possible reference voltages are internal 1.1V and AVcc.
The analog input channel for conversion is selected by the bits in the ADMUX
register. This includes the ADC input pins along with internal voltage from
temperature sensor, GND and fixed bandgap reference voltage. To enable the ADC,
ADEN bit in the ADCSRA register must be set. The channels selected for conversion
will not go into effect until this ADEN bit is set. Before entering Sleep mode, the ADC
module can be disabled by clearing ADEN bit. This reduces the power consumption
caused by ADC.
The 10-bit digital value after conversion is stored in ADCH and ADCL. ADCH holds
the higher byte and ADCL holds the lower byte. Optionally left adjustment of the result
can be done by setting the ADLAR bit in the ADMUX register if necessary. If ADLAR
is enabled and the application needs only 8 bit accuracy then ADCH alone can be
read. Otherwise ADCL must be read first followed by ADCH, to ensure that the
content of the Data Registers belong to the same conversion. Access to ADC is
blocked, once ADCL is read. It is re-enabled only after ADCH is read.
ADC module owns one interrupt which is triggered once a conversion is complete. If
an interrupt occurs between reading ADCL and ADCH, it will get triggered and the
result will be lost.



Html Pages

1 2 3 4 5 6 7 8 9 10 11


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com