TUKS MCU Introductory course / TUKS-COURSE-THERMOMETER

Fork of TUKS-COURSE-TIMER by TUKS MCU Introductory course

Embed: (wiki syntax)

« Back to documentation index

Peripheral State functions

Peripheral State functions
[ADC Exported Functions]

ADC Peripheral State functions. More...

Functions

uint32_t HAL_ADC_GetState (ADC_HandleTypeDef *hadc)
 Return the ADC handle 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 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 (uint32_t bit-map)

Definition at line 2622 of file stm32l4xx_hal_adc.c.

uint32_t HAL_ADC_GetState ( ADC_HandleTypeDef *  hadc )

Return the ADC handle state.

Parameters:
hadc,:ADC handle
Return values:
HALstate (uint32_t bit-map)

Definition at line 2607 of file stm32l4xx_hal_adc.c.