Merge branch "preempt" in "trunk".
[bertos.git] / bertos / cpu / avr / drv / adc_avr.h
index ddd2ce729f6f371857f1d180358ebd7fa5f61fec..fc076f194c5c01877a2badea63e11eaa3b52b81c 100644 (file)
 #ifndef DRV_ADC_AVR_H
 #define DRV_ADC_AVR_H
 
+#include <cfg/compiler.h>
+
 #define ADC_MUX_MAXCH 7
 #define ADC_BITS      10
 
+void adc_hw_select_ch(uint8_t ch);
+uint16_t adc_hw_read(void);
+void adc_hw_init(void);
+
 #endif /* DRV_ADC_AVR_H */