STM32L443xx HAL User Manual
|
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. |
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
uint32_t HAL_ADC_GetError | ( | ADC_HandleTypeDef * | hadc | ) |
Return the ADC error code.
hadc | ADC handle |
ADC | error code (bitfield on 32 bits) |
Definition at line 3224 of file stm32l4xx_hal_adc.c.
References assert_param, __ADC_HandleTypeDef::ErrorCode, and __ADC_HandleTypeDef::Instance.
uint32_t HAL_ADC_GetState | ( | ADC_HandleTypeDef * | hadc | ) |
Return the ADC handle state.
hadc | ADC handle |
ADC | handle state (bitfield on 32 bits) |
Definition at line 3210 of file stm32l4xx_hal_adc.c.
References assert_param, __ADC_HandleTypeDef::Instance, and __ADC_HandleTypeDef::State.