EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #100 background imageLoading...
Page #100 background image
HAL ADC Extension Driver
UM1940
100/1371
DocID028236 Rev 2
7.2.3 Detailed description of functions
HAL_ADCEx_InjectedStart
Function name
HAL_StatusTypeDef HAL_ADCEx_InjectedStart
(ADC_HandleTypeDef * hadc)
Function description
Enables the selected ADC software start conversion of the injected
channels.
Parameters
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
Return values
HAL: status
HAL_ADCEx_InjectedStop
Function name
HAL_StatusTypeDef HAL_ADCEx_InjectedStop
(ADC_HandleTypeDef * hadc)
Function description
Stop conversion of injected channels.
Parameters
hadc: ADC handle
Return values
None:
Notes
If ADC must be disabled and if conversion is on going on
regular group, function HAL_ADC_Stop must be used to stop
both injected and regular groups, and disable the ADC.
If injected group mode auto-injection is enabled, function
HAL_ADC_Stop must be used.
In case of auto-injection mode, HAL_ADC_Stop must be
used.
HAL_ADCEx_InjectedPollForConversion
Function name
HAL_StatusTypeDef HAL_ADCEx_InjectedPollForConversion
(ADC_HandleTypeDef * hadc, uint32_t Timeout)
Function description
Poll for injected conversion complete.
Parameters
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
Timeout: Timeout value in millisecond.
Return values
HAL: status
HAL_ADCEx_InjectedStart_IT
Function name
HAL_StatusTypeDef HAL_ADCEx_InjectedStart_IT
(ADC_HandleTypeDef * hadc)
Function description
Enables the interrupt and starts ADC conversion of injected
channels.
Parameters
hadc: pointer to a ADC_HandleTypeDef structure that
contains the configuration information for the specified ADC.
Return values
HAL: status.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals