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
Functions | |
HAL_StatusTypeDef | ADC_ConversionStop (ADC_HandleTypeDef *hadc, uint32_t ConversionGroup) |
Stop ADC conversion. | |
HAL_StatusTypeDef | ADC_Enable (ADC_HandleTypeDef *hadc) |
Enable the selected ADC. | |
HAL_StatusTypeDef | ADC_Disable (ADC_HandleTypeDef *hadc) |
Disable the selected ADC. | |
void | ADC_DMAConvCplt (DMA_HandleTypeDef *hdma) |
DMA transfer complete callback. | |
void | ADC_DMAHalfConvCplt (DMA_HandleTypeDef *hdma) |
DMA half transfer complete callback. | |
void | ADC_DMAError (DMA_HandleTypeDef *hdma) |
DMA error callback. |
Function Documentation
HAL_StatusTypeDef ADC_ConversionStop | ( | ADC_HandleTypeDef * | hadc, |
uint32_t | ConversionGroup | ||
) |
Stop ADC conversion.
- Parameters:
-
hadc,: ADC handle ConversionGroup,: ADC group regular and/or injected. This parameter can be one of the following values: - ADC_REGULAR_GROUP ADC regular conversion type.
- ADC_INJECTED_GROUP ADC injected conversion type.
- ADC_REGULAR_INJECTED_GROUP ADC regular and injected conversion type.
- Return values:
-
HAL status.
Definition at line 2654 of file stm32l4xx_hal_adc.c.
HAL_StatusTypeDef ADC_Disable | ( | ADC_HandleTypeDef * | hadc ) |
Disable the selected ADC.
- Note:
- Prerequisite condition to use this function: ADC conversions must be stopped.
- Parameters:
-
hadc,: ADC handle
- Return values:
-
HAL status.
Definition at line 2837 of file stm32l4xx_hal_adc.c.
void ADC_DMAConvCplt | ( | DMA_HandleTypeDef * | hdma ) |
DMA transfer complete callback.
- Parameters:
-
hdma,: pointer to DMA handle.
- Return values:
-
None
Definition at line 2891 of file stm32l4xx_hal_adc.c.
void ADC_DMAError | ( | DMA_HandleTypeDef * | hdma ) |
DMA error callback.
- Parameters:
-
hdma,: pointer to DMA handle.
- Return values:
-
None
Definition at line 2970 of file stm32l4xx_hal_adc.c.
void ADC_DMAHalfConvCplt | ( | DMA_HandleTypeDef * | hdma ) |
DMA half transfer complete callback.
- Parameters:
-
hdma,: pointer to DMA handle.
- Return values:
-
None
Definition at line 2956 of file stm32l4xx_hal_adc.c.
HAL_StatusTypeDef ADC_Enable | ( | ADC_HandleTypeDef * | hadc ) |
Enable the selected ADC.
- Note:
- Prerequisite condition to use this function: ADC must be disabled and voltage regulator must be enabled (done into HAL_ADC_Init()).
- Parameters:
-
hadc,: ADC handle
- Return values:
-
HAL status.
Definition at line 2774 of file stm32l4xx_hal_adc.c.
Generated on Tue Jul 12 2022 17:38:53 by
