HAL
HAL_ADC_AnalogWDGConfig() is only used within HAL.
 
Symbols
loading...
Files
loading...

HAL_ADC_AnalogWDGConfig() function

Configures the analog watchdog.

Arguments

hadc

pointer to a ADC_HandleTypeDef structure that contains the configuration information for the specified ADC.

AnalogWDGConfig

pointer to an ADC_AnalogWDGConfTypeDef structure that contains the configuration information of ADC analog watchdog.

Return value

HAL status

Notes

Analog watchdog thresholds can be modified while ADC conversion is on going. In this case, some constraints must be taken into account: The programmed threshold values are effective from the next ADC EOC (end of unitary conversion). Considering that registers write delay may happen due to bus activity, this might cause an uncertainty on the effective timing of the new programmed threshold values.