adc_avr.h
Go to the documentation of this file.00001 00015 #ifndef DRV_ADC_AVR_H 00016 #define DRV_ADC_AVR_H 00017 00018 #include <cfg/compiler.h> 00019 00020 #define ADC_MUX_MAXCH 7 00021 #define ADC_BITS 10 00022 00023 void adc_hw_select_ch(uint8_t ch); 00024 uint16_t adc_hw_read(void); 00025 void adc_hw_init(void); 00026 00027 #endif /* DRV_ADC_AVR_H */
