STM32F103xB HAL User Manual
Functions
Peripheral State functions
ADC Exported Functions

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

Peripheral State functions.

 ===============================================================================
            ##### Peripheral State and Errors functions #####
 ===============================================================================  
    [..]
    This subsection provides functions to get in run-time the status of the  
    peripheral.
      (+) Check the ADC state
      (+) Check the ADC error code


Function Documentation

uint32_t HAL_ADC_GetError ( ADC_HandleTypeDef hadc)

Return the ADC error code.

Parameters:
hadc,:ADC handle
Return values:
ADCError Code

Definition at line 2215 of file stm32f1xx_hal_adc.c.

References __ADC_HandleTypeDef::ErrorCode.

uint32_t HAL_ADC_GetState ( ADC_HandleTypeDef hadc)

return the ADC state

Parameters:
hadc,:ADC handle
Return values:
HALstate

Definition at line 2204 of file stm32f1xx_hal_adc.c.

References __ADC_HandleTypeDef::State.