mos/dev/include/avr-adc.h File Reference

Implements the lowest level control of the analog to digital conversion system on the atmega128. More...

Go to the source code of this file.

Defines

#define AVR_ADC_AVERAGING_ON   1
#define AVR_ADC_AVERAGING_OFF   2
#define AVR_ADC_PRESCALE_2   0x00
#define AVR_ADC_PRESCALE_4   0x02
#define AVR_ADC_PRESCALE_8   0x03
#define AVR_ADC_PRESCALE_16   0x04
#define AVR_ADC_PRESCALE_32   0x05
#define AVR_ADC_PRESCALE_64   0x06
#define AVR_ADC_PRESCALE_128   0x07
#define AVR_ADC_PRESCALE_MASK   0x07
#define AVR_ADC_VREF_AVCC   0x01
#define AVR_ADC_VREF_IREF   0x03
#define AVR_ADC_VREF_MASK   0xC0
#define AVR_ADC_CH_0   0x00
#define AVR_ADC_CH_1   0x01
#define AVR_ADC_CH_2   0x02
#define AVR_ADC_CH_3   0x03
#define AVR_ADC_CH_4   0x04
#define AVR_ADC_CH_5   0x05
#define AVR_ADC_CH_6   0x06
#define AVR_ADC_CH_7   0x07
#define AVR_ADC_CH_MASK   0x07


Detailed Description

Author:
Jeff Rose

Modified: Brian Shucker

Date:
Created: 01/21/2003

Modified: 04/14/2004

Definition in file avr-adc.h.


Generated on Mon Nov 23 06:25:59 2009 for MANTIS by  doxygen 1.4.6