ADC Peripheral State functions.
More...
ADC Peripheral State functions.
===============================================================================
##### Peripheral State and errors functions #####
===============================================================================
[..]
This subsection provides functions allowing to
(+) Check the ADC state
(+) Check the ADC Error
◆ HAL_ADC_GetError()
Return the ADC error code.
- Parameters
-
hadc | pointer to a ADC_HandleTypeDef structure that contains the configuration information for the specified ADC. |
- Return values
-
Definition at line 1886 of file stm32f4xx_hal_adc.c.
◆ HAL_ADC_GetState()
return the ADC state
- Parameters
-
hadc | pointer to a ADC_HandleTypeDef structure that contains the configuration information for the specified ADC. |
- Return values
-
Definition at line 1874 of file stm32f4xx_hal_adc.c.