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 #86 background imageLoading...
Page #86 background image
Analog-to-digital converter (ADC)
UM1581
86/584
DocID023800 Rev 1
3.2.15.3 ADC_ClearFlag
Function Name
void ADC_ClearFlag ( ADC_TypeDef * ADCx, uint32_t
ADC_FLAG)
Function Description
Clears the ADCx's pending flags.
Parameters
ï‚· ADCx : where x can be 1, 2, 3 or 4 to select the ADC
peripheral.
ï‚· ADC_FLAG : specifies the flag to clear. This parameter can
be any combination of the following values:
 ADC_FLAG_RDY : ADC Ready (ADRDY) flag
 ADC_FLAG_EOSMP : ADC End of Sampling flag
 ADC_FLAG_EOC : ADC End of Regular Conversion
flag
 ADC_FLAG_EOS : ADC End of Regular sequence of
Conversions flag
 ADC_FLAG_OVR : ADC overrun flag
 ADC_FLAG_JEOC : ADC End of Injected Conversion
flag
 ADC_FLAG_JEOS : ADC End of Injected sequence of
Conversions flag
 ADC_FLAG_AWD1 : ADC Analog watchdog 1 flag
 ADC_FLAG_AWD2 : ADC Analog watchdog 2 flag
 ADC_FLAG_AWD3 : ADC Analog watchdog 3 flag
 ADC_FLAG_JQOVF : ADC Injected Context Queue
Overflow flag
Return values
ï‚· None.
Notes
ï‚· None.
3.2.15.4 ADC_GetCommonFlagStatus
Function Name
FlagStatus ADC_GetCommonFlagStatus ( ADC_TypeDef *
ADCx, uint32_t ADC_FLAG)
Function Description
Checks whether the specified ADC flag is set or not.
Parameters
ï‚· ADCx : where x can be 1, 2, 3 or 4 to select the ADC
peripheral.
ï‚· ADC_FLAG : specifies the master or slave flag to check.
This parameter can be one of the following values:
 ADC_FLAG_MSTRDY : ADC master Ready (ADRDY)
flag
 ADC_FLAG_MSTEOSMP : ADC master End of
Sampling flag

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