X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Fadc.h;h=d34accfe0eb3ffc4839efc9eacf9463f8e8a4116;hb=HEAD;hp=6a36683d65202a2ea339d310ba2b2a54dd771ddc;hpb=bcf38f772b397e7a8ba781a69aacb9380e54b32a;p=bertos.git diff --git a/drv/adc.h b/drv/adc.h deleted file mode 100755 index 6a36683d..00000000 --- a/drv/adc.h +++ /dev/null @@ -1,41 +0,0 @@ -/** - * \file - * - * - * \version $Id$ - * - * \brief ADC driver (interface) - * - * \version $Id$ - * \author Francesco Sacchi - */ - -/*#* - *#* $Log$ - *#* 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); -DB(extern bool adc_initialized;) -#endif /* DRV_ADC_H */