X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fadc.h;h=acc0786c9793d9a733a3dc1c8e831ed3d9a96460;hb=107463176ed534c103d07724177beafe0c21a466;hp=1aa0a4ac18ea200c6616901bf53b625c16184c0c;hpb=1434ec3a7450293523828337c195c3d339e3003a;p=bertos.git diff --git a/bertos/drv/adc.h b/bertos/drv/adc.h index 1aa0a4ac..acc0786c 100644 --- a/bertos/drv/adc.h +++ b/bertos/drv/adc.h @@ -30,13 +30,18 @@ * * --> * + * \defgroup adc Generic ADC driver + * \ingroup drivers + * \{ * \brief Analog to Digital Converter driver (ADC). * + * Configuration file: cfg_adc.h + * * \author Francesco Sacchi * * $WIZ$ module_name = "adc" * $WIZ$ module_configuration = "bertos/cfg/cfg_adc.h" - * $WIZ$ module_supports = "not atmega103 and not atmega168 and not atmega8" + * $WIZ$ module_supports = "not atmega103" */ @@ -67,4 +72,5 @@ void adc_init(void); */ #define ADC_RANGECONV(data, y1, y2) (((((int32_t)(data)) * ((y2) - (y1))) / ((1 << ADC_BITS) - 1)) + (y1)) +/** \} */ //defgroup adc #endif /* DRV_ADC_H */