Description:
Get the selected ADC's flag status.
Parameters:
__HANDLE__: specifies the ADC Handle.
__FLAG__: ADC flag.
Return value:
None
ADC Exported Types
ADC not yet initialized or disabled
ADC peripheral ready for use
HAL_ADC_STATE_BUSY_INTERNAL
ADC is busy to internal process (initialization,
calibration)
HAL_ADC_STATE_ERROR_INTERNAL
Internal error occurrence
HAL_ADC_STATE_ERROR_CONFIG
Configuration 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
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
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