HAL ADC Generic Driver
Parameters
Return values
HAL_ADC_LevelOutOfWindowCallback
Function name
Function description
Parameters
Return values
HAL_ADC_ErrorCallback
Function name
Function description
Parameters
Return values
Notes
HAL_ADC_ConfigChannel
Function name
Function description
Parameters
Return values
HAL_ADC_AnalogWDGConfig
Function name
Function description
Parameters
88/1371
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
None:
void HAL_ADC_LevelOutOfWindowCallback
(ADC_HandleTypeDef * hadc)
Analog watchdog callback in non blocking mode.
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
None:
void HAL_ADC_ErrorCallback (ADC_HandleTypeDef * hadc)
Error ADC callback.
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
None:
In case of error due to overrun when using ADC with DMA
transfer (HAL ADC handle paramater "ErrorCode" to state
"HAL_ADC_ERROR_OVR"): Reinitialize the DMA using
function "HAL_ADC_Stop_DMA()".If needed, restart a new
ADC conversion using function "HAL_ADC_Start_DMA()"
(this function is also clearing overrun flag)
HAL_StatusTypeDef HAL_ADC_ConfigChannel
(ADC_HandleTypeDef * hadc, ADC_ChannelConfTypeDef *
sConfig)
Configures for the selected ADC regular channel its corresponding
rank in the sequencer and its sample time.
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
sConfig: ADC configuration structure.
HAL: status
HAL_StatusTypeDef HAL_ADC_AnalogWDGConfig
(ADC_HandleTypeDef * hadc, ADC_AnalogWDGConfTypeDef *
AnalogWDGConfig)
Configures the analog watchdog.
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
DocID028236 Rev 2
UM1940
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers