projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: Add further documentation for fatfile_open().
[bertos.git]
/
bertos
/
cpu
/
avr
/
drv
/
adc_avr.h
diff --git
a/bertos/cpu/avr/drv/adc_avr.h
b/bertos/cpu/avr/drv/adc_avr.h
index ddd2ce729f6f371857f1d180358ebd7fa5f61fec..fc076f194c5c01877a2badea63e11eaa3b52b81c 100644
(file)
--- a/
bertos/cpu/avr/drv/adc_avr.h
+++ b/
bertos/cpu/avr/drv/adc_avr.h
@@
-15,7
+15,13
@@
#ifndef DRV_ADC_AVR_H
#define DRV_ADC_AVR_H
#ifndef DRV_ADC_AVR_H
#define DRV_ADC_AVR_H
+#include <cfg/compiler.h>
+
#define ADC_MUX_MAXCH 7
#define ADC_BITS 10
#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 */
#endif /* DRV_ADC_AVR_H */