doc: adc: fix syntax and missing groupings
This commit is contained in:
parent
c09ebbc956
commit
41fa001620
@ -180,7 +180,7 @@ specific memorymap.h header before including this header file.*/
|
|||||||
#define ADC_CHANNEL16 0x10
|
#define ADC_CHANNEL16 0x10
|
||||||
#define ADC_CHANNEL17 0x11
|
#define ADC_CHANNEL17 0x11
|
||||||
#define ADC_CHANNEL18 0x12
|
#define ADC_CHANNEL18 0x12
|
||||||
|
/**@}*/
|
||||||
#define ADC_CHANNEL_MASK 0x1F
|
#define ADC_CHANNEL_MASK 0x1F
|
||||||
|
|
||||||
|
|
||||||
@ -406,5 +406,7 @@ void adc_disable_external_trigger_injected(uint32_t adc);
|
|||||||
END_DECLS
|
END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
#endif /* ADC_COMMON_V1_H */
|
/** @cond */
|
||||||
|
#endif
|
||||||
|
/** @endcond */
|
||||||
/**@}*/
|
/**@}*/
|
||||||
|
@ -206,5 +206,7 @@ void adc_start_conversion_regular(uint32_t adc);
|
|||||||
END_DECLS
|
END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
#endif /* LIBOPENCM3_ADC_H */
|
/** @cond */
|
||||||
|
#endif
|
||||||
|
/** @endcond */
|
||||||
/**@}*/
|
/**@}*/
|
||||||
|
@ -178,5 +178,7 @@ void adc_disable_regulator(uint32_t adc);
|
|||||||
END_DECLS
|
END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
#endif /* LIBOPENCM3_ADC_H */
|
/** @cond */
|
||||||
|
#endif
|
||||||
|
/** @endcond */
|
||||||
/**@}*/
|
/**@}*/
|
||||||
|
@ -68,5 +68,7 @@ BEGIN_DECLS
|
|||||||
END_DECLS
|
END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
#endif /* LIBOPENCM3_ADC_H */
|
/** @cond */
|
||||||
|
#endif
|
||||||
|
/** @endcond */
|
||||||
/**@}*/
|
/**@}*/
|
||||||
|
@ -37,10 +37,14 @@
|
|||||||
#include <libopencm3/stm32/common/adc_common_v2.h>
|
#include <libopencm3/stm32/common/adc_common_v2.h>
|
||||||
#include <libopencm3/stm32/common/adc_common_v2_multi.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 ADC1 ADC1_BASE
|
||||||
#define ADC2 ADC2_BASE
|
#define ADC2 ADC2_BASE
|
||||||
#define ADC3 ADC3_BASE
|
#define ADC3 ADC3_BASE
|
||||||
#define ADC4 ADC4_BASE
|
#define ADC4 ADC4_BASE
|
||||||
|
/**@}*/
|
||||||
|
|
||||||
/* Master and slave ADCs common registers (ADC12 or ADC34) */
|
/* Master and slave ADCs common registers (ADC12 or ADC34) */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user