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 #724 background imageLoading...
Page #724 background image
LL ADC Generic Driver
UM1940
724/1371
DocID028236 Rev 2
LL_ADC_INJ_GetOffset
Function name
__STATIC_INLINE uint32_t LL_ADC_INJ_GetOffset
(ADC_TypeDef * ADCx, uint32_t Rank)
Function description
Get ADC group injected offset.
Parameters
ADCx: ADC instance
Rank: This parameter can be one of the following values:
LL_ADC_INJ_RANK_1
LL_ADC_INJ_RANK_2
LL_ADC_INJ_RANK_3
LL_ADC_INJ_RANK_4
Return values
Value: between Min_Data=0x000 and Max_Data=0xFFF
Notes
It gives offset level (offset to be subtracted from the raw
converted data). Caution: Offset format is dependent to ADC
resolution: offset has to be left-aligned on bit 11, the LSB
(right bits) are set to 0.
Reference Manual to
LL API cross
reference:
JOFR1 JOFFSET1 LL_ADC_INJ_GetOffset
JOFR2 JOFFSET2 LL_ADC_INJ_GetOffset
JOFR3 JOFFSET3 LL_ADC_INJ_GetOffset
JOFR4 JOFFSET4 LL_ADC_INJ_GetOffset
LL_ADC_SetChannelSamplingTime
Function name
__STATIC_INLINE void LL_ADC_SetChannelSamplingTime
(ADC_TypeDef * ADCx, uint32_t Channel, uint32_t
SamplingTime)
Function description
Set sampling time of the selected ADC channel Unit: ADC clock
cycles.
Parameters
ADCx: ADC instance
Channel: This parameter can be one of the following values:
(1) On STM32F4, parameter available only on ADC instance:
ADC1.
LL_ADC_CHANNEL_0
LL_ADC_CHANNEL_1
LL_ADC_CHANNEL_2
LL_ADC_CHANNEL_3
LL_ADC_CHANNEL_4
LL_ADC_CHANNEL_5
LL_ADC_CHANNEL_6
LL_ADC_CHANNEL_7
LL_ADC_CHANNEL_8
LL_ADC_CHANNEL_9
LL_ADC_CHANNEL_10
LL_ADC_CHANNEL_11
LL_ADC_CHANNEL_12
LL_ADC_CHANNEL_13
LL_ADC_CHANNEL_14
LL_ADC_CHANNEL_15
LL_ADC_CHANNEL_16
LL_ADC_CHANNEL_17

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