STM32F439xx HAL User Manual
Functions
ADC Peripheral State functions
ADC Exported Functions

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.

Detailed Description

ADC Peripheral State functions.

 ===============================================================================
            ##### Peripheral State and errors functions #####
 ===============================================================================  
    [..]
    This subsection provides functions allowing to
      (+) Check the ADC state
      (+) Check the ADC Error
         

Function Documentation

uint32_t HAL_ADC_GetError ( ADC_HandleTypeDef hadc)

Return the ADC error code.

Parameters:
hadcpointer to a ADC_HandleTypeDef structure that contains the configuration information for the specified ADC.
Return values:
ADCError Code

Definition at line 1501 of file stm32f4xx_hal_adc.c.

References ADC_HandleTypeDef::ErrorCode.

uint32_t HAL_ADC_GetState ( ADC_HandleTypeDef hadc)

return the ADC state

Parameters:
hadcpointer to a ADC_HandleTypeDef structure that contains the configuration information for the specified ADC.
Return values:
HALstate

Definition at line 1489 of file stm32f4xx_hal_adc.c.

References ADC_HandleTypeDef::State.