STM32F4xx_HAL_Driver  1.8.3
ADC Peripheral State functions

ADC Peripheral State functions. More...

+ Collaboration diagram for ADC Peripheral State functions:

Functions

uint32_t HAL_ADC_GetState (ADC_HandleTypeDef *hadc)
 return the ADC state More...
 
uint32_t HAL_ADC_GetError (ADC_HandleTypeDef *hadc)
 Return the ADC error code. More...
 

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

◆ HAL_ADC_GetError()

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 1886 of file stm32f4xx_hal_adc.c.

◆ HAL_ADC_GetState()

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 1874 of file stm32f4xx_hal_adc.c.