STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
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
 
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

◆ HAL_ADC_GetState()

uint32_t HAL_ADC_GetState ( ADC_HandleTypeDef * hadc)

#include <stm32f4xx_hal_adc.h>

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.

References ADC_HandleTypeDef::State.

◆ HAL_ADC_GetError()

uint32_t HAL_ADC_GetError ( ADC_HandleTypeDef * hadc)

#include <stm32f4xx_hal_adc.h>

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.

References ADC_HandleTypeDef::ErrorCode.