EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #88 background imageLoading...
Page #88 background image
HAL ADC Generic Driver
UM1940
88/1371
DocID028236 Rev 2
Parameters
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
Return values
None:
HAL_ADC_LevelOutOfWindowCallback
Function name
void HAL_ADC_LevelOutOfWindowCallback
(ADC_HandleTypeDef * hadc)
Function description
Analog watchdog callback in non blocking mode.
Parameters
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
Return values
None:
HAL_ADC_ErrorCallback
Function name
void HAL_ADC_ErrorCallback (ADC_HandleTypeDef * hadc)
Function description
Error ADC callback.
Parameters
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
Return values
None:
Notes
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_ADC_ConfigChannel
Function name
HAL_StatusTypeDef HAL_ADC_ConfigChannel
(ADC_HandleTypeDef * hadc, ADC_ChannelConfTypeDef *
sConfig)
Function description
Configures for the selected ADC regular channel its corresponding
rank in the sequencer and its sample time.
Parameters
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
sConfig: ADC configuration structure.
Return values
HAL: status
HAL_ADC_AnalogWDGConfig
Function name
HAL_StatusTypeDef HAL_ADC_AnalogWDGConfig
(ADC_HandleTypeDef * hadc, ADC_AnalogWDGConfTypeDef *
AnalogWDGConfig)
Function description
Configures the analog watchdog.
Parameters
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals