UM1940
__HAL_ADC_GET_FLAG
ADC Exported Types
HAL_ADC_STATE_RESET
HAL_ADC_STATE_READY
HAL_ADC_STATE_BUSY_INTERNAL
HAL_ADC_STATE_TIMEOUT
HAL_ADC_STATE_ERROR_INTERNAL
HAL_ADC_STATE_ERROR_CONFIG
HAL_ADC_STATE_ERROR_DMA
HAL_ADC_STATE_REG_BUSY
HAL_ADC_STATE_REG_EOC
HAL_ADC_STATE_REG_OVR
HAL_ADC_STATE_INJ_BUSY
HAL_ADC_STATE_INJ_EOC
HAL_ADC_STATE_AWD1
ADC External Trigger Edge Regular
ADC_EXTERNALTRIGCONVEDGE_NONE
ADC_EXTERNALTRIGCONVEDGE_RISING
ADC_EXTERNALTRIGCONVEDGE_FALLING
ADC_EXTERNALTRIGCONVEDGE_RISINGFALLING
ADC External Trigger Source Regular
ADC_EXTERNALTRIGCONV_T1_CC1
ADC_EXTERNALTRIGCONV_T1_CC2
None
Description:
Get the selected ADC's flag status.
Parameters:
__HANDLE__: specifies the ADC Handle.
__FLAG__: ADC flag.
Return value:
None
ADC not yet initialized or disabled
ADC peripheral ready for use
ADC is busy to internal process (initialization,
calibration)
TimeOut occurrence
Internal error occurrence
Configuration error occurrence
DMA error occurrence
A conversion on group regular is ongoing or
can occur (either by continuous mode, external
trigger, low power auto power-on (if feature
available), multimode ADC master control (if
feature available))
Conversion data available on group regular
Overrun occurrence
A conversion on group injected is ongoing or
can occur (either by auto-injection mode,
external trigger, low power auto power-on (if
feature available), multimode ADC master
control (if feature available))
Conversion data available on group injected
Out-of-window occurrence of analog watchdog
1
DocID028236 Rev 2
HAL ADC Generic Driver
93/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers