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

__HAL_ADC_GET_FLAG macro

Get the selected ADC's flag status.

Syntax

#define __HAL_ADC_GET_FLAG(__HANDLE__, __FLAG__) ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__))

Arguments

__HANDLE__

specifies the ADC Handle.

__FLAG__

ADC flag.

Return value

None

References

LocationText
stm32f4xx_hal_adc.h:547
#define __HAL_ADC_GET_FLAG(__HANDLE__, __FLAG__) ((((__HANDLE__)->Instance->SR) & (__FLAG__)) == (__FLAG__))
stm32f4xx_hal_adc.c:908
while (!(__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_EOC)))
stm32f4xx_hal_adc.c:916
if (!(__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_EOC)))
stm32f4xx_hal_adc.c:983
while (!(__HAL_ADC_GET_FLAG(hadc, EventType)))
stm32f4xx_hal_adc.c:991
if (!(__HAL_ADC_GET_FLAG(hadc, EventType)))
stm32f4xx_hal_adc.c:1312
if (__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_AWD))
stm32f4xx_hal_adc_ex.c:422
while (!(__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_JEOC)))
stm32f4xx_hal_adc_ex.c:430
if (!(__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_JEOC)))