diff --git a/include/libopencm3/stm32/common/adc_common_v2_single.h b/include/libopencm3/stm32/common/adc_common_v2_single.h index 060e03cc..32616cf4 100644 --- a/include/libopencm3/stm32/common/adc_common_v2_single.h +++ b/include/libopencm3/stm32/common/adc_common_v2_single.h @@ -68,7 +68,7 @@ specific memorymap.h header before including this header file.*/ /**@}*/ /* ADC_CHSELR Values --------------------------------------------------------*/ -/** @addtogroup adc_chselr +/** @defgroup adc_chselr CHSELR ADC Channel Selection register @{*/ #define ADC_CHSELR_CHSEL(x) (1 << (x)) /**@}*/ diff --git a/include/libopencm3/stm32/g0/adc.h b/include/libopencm3/stm32/g0/adc.h index b00c59ca..b40e32b5 100644 --- a/include/libopencm3/stm32/g0/adc.h +++ b/include/libopencm3/stm32/g0/adc.h @@ -234,7 +234,7 @@ /**@}*/ -/** @addtogroup adc_chselr CHSELR ADC Channel Selection register +/** @addtogroup adc_chselr @{*/ /** ADC_CHSELR_MAX_CHANNELS Maximum number of channel in regular sequence */