adc_avr.h

Go to the documentation of this file.
00001 
00037 #ifndef DRV_ADC_AVR_H
00038 #define DRV_ADC_AVR_H
00039 
00040 #include <cfg/compiler.h>
00041 
00042 #define ADC_MUX_MAXCH 7
00043 #define ADC_BITS      10
00044 
00045 void adc_hw_select_ch(uint8_t ch);
00046 uint16_t adc_hw_read(void);
00047 void adc_hw_init(void);
00048 
00049 #endif /* DRV_ADC_AVR_H */