HAL
__HAL_ADC_ENABLE is only used within HAL.
 
Symbols
loading...
Files
loading...

__HAL_ADC_ENABLE macro

Enable the ADC peripheral.

Syntax

#define __HAL_ADC_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR2 |= ADC_CR2_ADON)

Arguments

__HANDLE__

ADC handle

Return value

None

References

LocationText
stm32f4xx_hal_adc.h:501
#define __HAL_ADC_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR2 |= ADC_CR2_ADON)
stm32f4xx_hal_adc.c:734
__HAL_ADC_ENABLE(hadc);
stm32f4xx_hal_adc.c:1055
__HAL_ADC_ENABLE(hadc);
stm32f4xx_hal_adc.c:1382
__HAL_ADC_ENABLE(hadc);
stm32f4xx_hal_adc_ex.c:162
__HAL_ADC_ENABLE(hadc);
stm32f4xx_hal_adc_ex.c:265
__HAL_ADC_ENABLE(hadc);
stm32f4xx_hal_adc_ex.c:616
__HAL_ADC_ENABLE(hadc);