X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Fadc.h;h=d34accfe0eb3ffc4839efc9eacf9463f8e8a4116;hb=HEAD;hp=b1e587ed3e8fb9de000a8bb569d9d27b0d662d00;hpb=9ba9dcf2a59a952609e19154e11de3e2478cbf42;p=bertos.git diff --git a/drv/adc.h b/drv/adc.h deleted file mode 100644 index b1e587ed..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 */