Symbols
loading...
Files
loading...

__LL_ADC_COMMON_INSTANCE macro

Helper macro to select the ADC common instance to which is belonging the selected ADC instance.

Syntax

#define __LL_ADC_COMMON_INSTANCE(__ADCx__) \     (ADC123_COMMON)

Arguments

__ADCx__

ADC instance

Return value

ADC common register instance

Notes

ADC common register instance can be used for: - Set parameters common to several ADC instances - Multimode (for devices with several ADC instances) Refer to functions having argument "ADCxy_COMMON" as parameter.

Examples

__LL_ADC_COMMON_INSTANCE is referenced by 10 libraries and example projects.

References

LocationText
stm32f4xx_ll_adc.h:1548
#define __LL_ADC_COMMON_INSTANCE(__ADCx__) \
stm32f4xx_ll_adc.h:1554
#define __LL_ADC_COMMON_INSTANCE(__ADCx__) \
stm32f4xx_ll_adc.h:1874
data_reg_addr = (uint32_t) & ((__LL_ADC_COMMON_INSTANCE(ADCx))->CDR);