Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
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:
-
ADC Error 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:
-
HAL state (uint32_t bit-map)
Definition at line 2607 of file stm32l4xx_hal_adc.c.
Generated on Tue Jul 12 2022 17:38:53 by
