*
* -->
*
- * \version $Id$
- *
+ * \defgroup adc Generic ADC driver
+ * \ingroup drivers
+ * \{
* \brief Analog to Digital Converter driver (ADC).
*
- * \version $Id$
+ * <b>Configuration file</b>: cfg_adc.h
+ *
* \author Francesco Sacchi <batt@develer.com>
*
* $WIZ$ module_name = "adc"
* $WIZ$ module_configuration = "bertos/cfg/cfg_adc.h"
+ * $WIZ$ module_supports = "not atmega103"
*/
*/
#define ADC_RANGECONV(data, y1, y2) (((((int32_t)(data)) * ((y2) - (y1))) / ((1 << ADC_BITS) - 1)) + (y1))
+/** \} */ //defgroup adc
#endif /* DRV_ADC_H */