EasyManuals Logo

ST STM32F31xx User Manual

ST STM32F31xx
584 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 #84 background imageLoading...
Page #84 background image
Analog-to-digital converter (ADC)
UM1581
84/584
DocID023800 Rev 1
3.2.14.6 ADC_GetInjectedConversionValue
Function Name
uint16_t ADC_GetInjectedConversionValue ( ADC_TypeDef *
ADCx, uint8_t ADC_InjectedChannel)
Function Description
Returns the ADC injected channel conversion result.
Parameters
ï‚· ADCx : where x can be 1, 2, 3 or 4 to select the ADC
peripheral.
ï‚· ADC_InjectedChannel : the converted ADC injected
channel. This parameter can be one of the following values:
 ADC_InjectedChannel_1 : Injected Channel1 selected
 ADC_InjectedChannel_2 : Injected Channel2 selected
 ADC_InjectedChannel_3 : Injected Channel3 selected
 ADC_InjectedChannel_4 : Injected Channel4 selected
Return values
ï‚· The Data conversion value.
Notes
ï‚· None.
3.2.15 Interrupts and flags management functions
3.2.15.1 ADC_ITConfig
Function Name
void ADC_ITConfig ( ADC_TypeDef * ADCx, uint32_t ADC_IT,
FunctionalState NewState)
Function Description
Enables or disables the specified ADC interrupts.
Parameters
ï‚· ADCx : where x can be 1, 2 or 3 to select the ADC
peripheral.
ï‚· ADC_IT : specifies the ADC interrupt sources to be enabled
or disabled. This parameter can be any combination of the
following values:
 ADC_IT_RDY : ADC Ready (ADRDY) interrupt source
 ADC_IT_EOSMP : ADC End of Sampling interrupt
source
 ADC_IT_EOC : ADC End of Regular Conversion
interrupt source
 ADC_IT_EOS : ADC End of Regular sequence of
Conversions interrupt source
 ADC_IT_OVR : ADC overrun interrupt source
 ADC_IT_JEOC : ADC End of Injected Conversion
interrupt source
 ADC_IT_JEOS : ADC End of Injected sequence of
Conversions interrupt source
 ADC_IT_AWD1 : ADC Analog watchdog 1 interrupt
source

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals