Hal_Adc_Leveloutofwindowcallback; Hal_Adc_Errorcallback; Hal_Adc_Configchannel; Hal_Adc_Analogwdgconfig - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents

Save PDF