STM32F103xB HAL User Manual
|
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. |
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 |
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
hadc,: | ADC handle |
HAL | state |
Definition at line 2204 of file stm32f1xx_hal_adc.c.
References __ADC_HandleTypeDef::State.