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...
Analog-to-digital converter (ADC)
UM1581
76/584
DocID023800 Rev 1
3.2.12.10 ADC_GetDualModeConversionValue
Function Name
uint32_t ADC_GetDualModeConversionValue ( ADC_TypeDef
* ADCx)
Function Description
Returns the last ADC1, ADC2, ADC3 and ADC4 regular
conversions results data in the selected dual mode.
Parameters
ADCx : where x can be 1, 2, 3 or 4 to select the ADC
peripheral.
Return values
The Data conversion value.
Notes
In dual mode, the value returned by this function is as
following Data[15:0] : these bits contain the regular data of the
Master ADC. Data[31:16]: these bits contain the regular data
of the Slave ADC.
3.2.12.11 ADC_SetChannelOffset1
Function Name
void ADC_SetChannelOffset1 ( ADC_TypeDef * ADCx, uint8_t
ADC_Channel, uint16_t Offset)
Function Description
Set the ADC channels conversion value offset1.
Parameters
ADCx : where x can be 1, 2, 3 or 4 to select the ADC
peripheral.
ADC_Channel : the ADC channel to configure. This
parameter can be one of the following values:
ADC_Channel_1 : ADC Channel1 selected
ADC_Channel_2 : ADC Channel2 selected
ADC_Channel_3 : ADC Channel3 selected
ADC_Channel_4 : ADC Channel4 selected
ADC_Channel_5 : ADC Channel5 selected
ADC_Channel_6 : ADC Channel6 selected
ADC_Channel_7 : ADC Channel7 selected
ADC_Channel_8 : ADC Channel8 selected
ADC_Channel_9 : ADC Channel9 selected
ADC_Channel_10 : ADC Channel10 selected
ADC_Channel_11 : ADC Channel11 selected
ADC_Channel_12 : ADC Channel12 selected
ADC_Channel_13 : ADC Channel13 selected
ADC_Channel_14 : ADC Channel14 selected
ADC_Channel_15 : ADC Channel15 selected
ADC_Channel_16 : ADC Channel16 selected

Table of Contents

Related product manuals