Convert to new Doxygen style.
[bertos.git] / drv / adc.h
1 /**
2  * \file
3  * <!--
4  * Copyright 2005 Develer S.r.l. (http://www.develer.com/)
5  * This file is part of DevLib - See README.devlib for information.
6  * -->
7  *
8  * \version $Id$
9  *
10  * \brief ADC driver (interface)
11  *
12  * \version $Id$
13  * \author Francesco Sacchi <batt@develer.com>
14  */
15
16 /*#*
17  *#* $Log$
18  *#* Revision 1.2  2006/07/19 12:56:25  bernie
19  *#* Convert to new Doxygen style.
20  *#*
21  *#* Revision 1.1  2005/06/27 21:28:31  bernie
22  *#* Import ADC driver.
23  *#*
24  *#*/
25
26 #ifndef DRV_ADC_H
27 #define DRV_ADC_H
28
29 #include <hw_adc.h>
30 #include <cfg/compiler.h>
31 #include <cfg/debug.h>
32
33 /**Type for ADC return value. */
34 typedef uint16_t adcread_t;
35
36 #define adc_bits() ADC_BITS
37
38 adcread_t adc_read(uint16_t ch);
39 void adc_init(void);
40 DB(extern bool adc_initialized;)
41 #endif /* DRV_ADC_H */