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