HAL_ADC_PollForEvent
HAL_StatusTypeDef HAL_ADC_PollForEvent
(ADC_HandleTypeDef * hadc, uint32_t EventType, uint32_t
Timeout)
Poll for conversion event.
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
EventType: the ADC event type. This parameter can be one
of the following values:
ADC_AWD_EVENT: ADC Analog watch Dog event.
ADC_OVR_EVENT: ADC Overrun event.
Timeout: Timeout value in millisecond.
HAL_ADC_Start_IT
HAL_StatusTypeDef HAL_ADC_Start_IT (ADC_HandleTypeDef
* hadc)
Enables the interrupt and starts ADC conversion of regular
channels.
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
HAL_ADC_Stop_IT
HAL_StatusTypeDef HAL_ADC_Stop_IT (ADC_HandleTypeDef
* hadc)
Disables the interrupt and stop ADC 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_IRQHandler
void HAL_ADC_IRQHandler (ADC_HandleTypeDef * hadc)
Handles ADC interrupt request.
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.