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 #723 background imageLoading...
Page #723 background image
UM1940
LL ADC Generic Driver
DocID028236 Rev 2
723/1371
controlled only from ADC group regular.
It is not possible to enable both ADC group injected auto-
injected mode and sequencer discontinuous mode.
Reference Manual to
LL API cross
reference:
CR1 JAUTO LL_ADC_INJ_SetTrigAuto
LL_ADC_INJ_GetTrigAuto
Function name
__STATIC_INLINE uint32_t LL_ADC_INJ_GetTrigAuto
(ADC_TypeDef * ADCx)
Function description
Get ADC group injected conversion trigger: independent or from
ADC group regular.
Parameters
ADCx: ADC instance
Return values
Returned: value can be one of the following values:
LL_ADC_INJ_TRIG_INDEPENDENT
LL_ADC_INJ_TRIG_FROM_GRP_REGULAR
Reference Manual to
LL API cross
reference:
CR1 JAUTO LL_ADC_INJ_GetTrigAuto
LL_ADC_INJ_SetOffset
Function name
__STATIC_INLINE void LL_ADC_INJ_SetOffset (ADC_TypeDef
* ADCx, uint32_t Rank, uint32_t OffsetLevel)
Function description
Set 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
OffsetLevel: Value between Min_Data=0x000 and
Max_Data=0xFFF
Return values
None:
Notes
It sets: ADC group injected rank to which the offset
programmed will be appliedOffset 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.
Offset cannot be enabled or disabled. To emulate offset
disabled, set an offset value equal to 0.
Reference Manual to
LL API cross
reference:
JOFR1 JOFFSET1 LL_ADC_INJ_SetOffset
JOFR2 JOFFSET2 LL_ADC_INJ_SetOffset
JOFR3 JOFFSET3 LL_ADC_INJ_SetOffset
JOFR4 JOFFSET4 LL_ADC_INJ_SetOffset

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