X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Fadc.h;h=d34accfe0eb3ffc4839efc9eacf9463f8e8a4116;hb=HEAD;hp=908c462c87cbbeab31a5e0b3865c223292877ff7;hpb=77c1d6ba65a199f60faa0e0a68e63ef0eb87677c;p=bertos.git diff --git a/drv/adc.h b/drv/adc.h deleted file mode 100644 index 908c462c..00000000 --- a/drv/adc.h +++ /dev/null @@ -1,69 +0,0 @@ -/** - * \file - * - * - * \version $Id$ - * - * \brief ADC driver (interface) - * - * \version $Id$ - * \author Francesco Sacchi - */ - -/*#* - *#* $Log$ - *#* Revision 1.3 2006/09/20 17:32:46 marco - *#* Use MOD_* macros instead of DB. - *#* - *#* Revision 1.2 2006/07/19 12:56:25 bernie - *#* Convert to new Doxygen style. - *#* - *#* Revision 1.1 2005/06/27 21:28:31 bernie - *#* Import ADC driver. - *#* - *#*/ - -#ifndef DRV_ADC_H -#define DRV_ADC_H - -#include -#include -#include - -/** Type for ADC return value. */ -typedef uint16_t adcread_t; - -#define adc_bits() ADC_BITS - -adcread_t adc_read(uint16_t ch); -void adc_init(void); - -#endif /* DRV_ADC_H */