STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
ADC Peripheral State functions. More...
Functions | |
uint32_t | HAL_ADC_GetState (ADC_HandleTypeDef *hadc) |
return the ADC state | |
uint32_t | HAL_ADC_GetError (ADC_HandleTypeDef *hadc) |
Return the ADC error code. | |
ADC Peripheral State functions.
=============================================================================== ##### Peripheral State and errors functions ##### =============================================================================== [..] This subsection provides functions allowing to (+) Check the ADC state (+) Check the ADC Error
uint32_t HAL_ADC_GetState | ( | ADC_HandleTypeDef * | hadc | ) |
#include <stm32f4xx_hal_adc.h>
return the ADC state
hadc | pointer to a ADC_HandleTypeDef structure that contains the configuration information for the specified ADC. |
HAL | state |
Definition at line 1874 of file stm32f4xx_hal_adc.c.
References ADC_HandleTypeDef::State.
uint32_t HAL_ADC_GetError | ( | ADC_HandleTypeDef * | hadc | ) |
#include <stm32f4xx_hal_adc.h>
Return the ADC error code.
hadc | pointer to a ADC_HandleTypeDef structure that contains the configuration information for the specified ADC. |
ADC | Error Code |
Definition at line 1886 of file stm32f4xx_hal_adc.c.
References ADC_HandleTypeDef::ErrorCode.