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

HAL_ADC_PollForEvent() function

Poll for conversion event

Syntax

HAL_StatusTypeDef HAL_ADC_PollForEvent(ADC_HandleTypeDef *hadc,     uint32_t EventType,     uint32_t Timeout);
Implemented in stm32f4xx_hal_adc.c:971

Arguments

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: @arg ADC_AWD_EVENT: ADC Analog watch Dog event. @arg ADC_OVR_EVENT: ADC Overrun event.

Timeout

Timeout value in millisecond.

Return value

HAL status

References

LocationText
stm32f4xx_hal_adc.c:971
HAL_StatusTypeDef HAL_ADC_PollForEvent(ADC_HandleTypeDef *hadc, uint32_t EventType, uint32_t Timeout)
stm32f4xx_hal_adc.h:587
HAL_StatusTypeDef HAL_ADC_PollForEvent(ADC_HandleTypeDef *hadc, uint32_t EventType, uint32_t Timeout);

Call Tree

Functions called by HAL_ADC_PollForEvent()
HAL_ADC_PollForEvent()
assert_failed()
all items filtered out
Data read by HAL_ADC_PollForEvent()
Data written by HAL_ADC_PollForEvent()
HAL_ADC_PollForEvent()
HAL_ADC_PollForEvent()::tickstart
all items filtered out
Type of HAL_ADC_PollForEvent()
HAL_ADC_PollForEvent()
uint32_t
all items filtered out