HAL_ADC_MspDeInit
void HAL_ADC_MspDeInit (ADC_HandleTypeDef * hadc)
DeInitializes the ADC MSP.
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
HAL_ADC_Start
HAL_StatusTypeDef HAL_ADC_Start (ADC_HandleTypeDef *
hadc)
Enables ADC and starts conversion of the regular channels.
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
HAL_ADC_Stop
HAL_StatusTypeDef HAL_ADC_Stop (ADC_HandleTypeDef *
hadc)
Disables ADC and stop conversion of regular channels.
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
Caution: This function will stop also injected channels.
HAL_ADC_PollForConversion
HAL_StatusTypeDef HAL_ADC_PollForConversion
(ADC_HandleTypeDef * hadc, uint32_t Timeout)
Poll for regular conversion complete.
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
Timeout: Timeout value in millisecond.
ADC conversion flags EOS (end of sequence) and EOC (end
of conversion) are cleared by this function.
This function cannot be used in a particular setup: ADC
configured in DMA mode and polling for end of each
conversion (ADC init parameter "EOCSelection" set to
ADC_EOC_SINGLE_CONV). In this case, DMA resets the
flag EOC and polling cannot be performed on each
conversion. Nevertheless, polling can still be performed on