EasyManua.ls Logo

ST STM32F31xx

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
Loading...
UM1581
Analog-to-digital converter (ADC)
DocID023800 Rev 1
75/584
Function Description
Configures the discontinuous mode for the selected ADC regular
group channel.
Parameters
ADCx : where x can be 1, 2, 3 or 4 to select the ADC
peripheral.
Number : specifies the discontinuous mode regular channel
count value. This number must be between 1 and 8.
Return values
None.
Notes
None.
3.2.12.8 ADC_DiscModeCmd
Function Name
void ADC_DiscModeCmd ( ADC_TypeDef * ADCx,
FunctionalState NewState)
Function Description
Enables or disables the discontinuous mode on regular group
channel for the specified ADC.
Parameters
ADCx : where x can be 1, 2, 3 or 4 to select the ADC
peripheral.
NewState : new state of the selected ADC discontinuous
mode on regular group channel. This parameter can be:
ENABLE or DISABLE.
Return values
None.
Notes
None.
3.2.12.9 ADC_GetConversionValue
Function Name
uint16_t ADC_GetConversionValue ( ADC_TypeDef * ADCx)
Function Description
Returns the last ADCx conversion result data for regular channel.
Parameters
ADCx : where x can be 1, 2, 3 or 4 to select the ADC
peripheral.
Return values
The Data conversion value.
Notes
None.

Table of Contents

Related product manuals