doc: adc: fix syntax and missing groupings

This commit is contained in:
Karl Palsson 2016-08-18 18:11:57 +00:00 committed by Karl Palsson
parent c09ebbc956
commit 41fa001620
5 changed files with 17 additions and 5 deletions

View File

@ -180,7 +180,7 @@ specific memorymap.h header before including this header file.*/
#define ADC_CHANNEL16 0x10
#define ADC_CHANNEL17 0x11
#define ADC_CHANNEL18 0x12
/**@}*/
#define ADC_CHANNEL_MASK 0x1F
@ -406,5 +406,7 @@ void adc_disable_external_trigger_injected(uint32_t adc);
END_DECLS
#endif
#endif /* ADC_COMMON_V1_H */
/** @cond */
#endif
/** @endcond */
/**@}*/

View File

@ -206,5 +206,7 @@ void adc_start_conversion_regular(uint32_t adc);
END_DECLS
#endif
#endif /* LIBOPENCM3_ADC_H */
/** @cond */
#endif
/** @endcond */
/**@}*/

View File

@ -178,5 +178,7 @@ void adc_disable_regulator(uint32_t adc);
END_DECLS
#endif
#endif /* LIBOPENCM3_ADC_H */
/** @cond */
#endif
/** @endcond */
/**@}*/

View File

@ -68,5 +68,7 @@ BEGIN_DECLS
END_DECLS
#endif
#endif /* LIBOPENCM3_ADC_H */
/** @cond */
#endif
/** @endcond */
/**@}*/

View File

@ -37,10 +37,14 @@
#include <libopencm3/stm32/common/adc_common_v2.h>
#include <libopencm3/stm32/common/adc_common_v2_multi.h>
/** @defgroup adc_reg_base ADC register base addresses
@ingroup STM32xx_adc_defines
@{*/
#define ADC1 ADC1_BASE
#define ADC2 ADC2_BASE
#define ADC3 ADC3_BASE
#define ADC4 ADC4_BASE
/**@}*/
/* Master and slave ADCs common registers (ADC12 or ADC34) */