Ll_Adc_Dma_Getregaddr; Adc Firmware Driver Api Description; Detailed Description Of Functions - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

UM1940
uint32_t LL_ADC_INJ_InitTypeDef::TriggerSource
Set ADC group injected conversion trigger source: internal (SW start) or from external
IP (timer event, external interrupt line). This parameter can be a value of
ADC_LL_EC_INJ_TRIGGER_SOURCE
Note:On this STM32 serie, setting of external trigger edge is performed using function
LL_ADC_INJ_StartConversionExtTrig(). This feature can be modified afterwards
using unitary function LL_ADC_INJ_SetTriggerSource().
uint32_t LL_ADC_INJ_InitTypeDef::SequencerLength
Set ADC group injected sequencer length. This parameter can be a value of
ADC_LL_EC_INJ_SEQ_SCAN_LENGTH
Note:This parameter is discarded if scan mode is disabled (refer to parameter
'ADC_SequencersScanMode'). This feature can be modified afterwards using unitary
function LL_ADC_INJ_SetSequencerLength().
uint32_t LL_ADC_INJ_InitTypeDef::SequencerDiscont
Set ADC group injected sequencer discontinuous mode: sequence subdivided and
scan conversions interrupted every selected number of ranks. This parameter can be
a value of
Note:This parameter has an effect only if group injected sequencer is enabled (scan
length of 2 ranks or more). This feature can be modified afterwards using unitary
function LL_ADC_INJ_SetSequencerDiscont().
uint32_t LL_ADC_INJ_InitTypeDef::TrigAuto
Set ADC group injected conversion trigger: independent or from ADC group regular.
This parameter can be a value of
parameter must be set to set to independent trigger if injected trigger source is set to
an external trigger.This feature can be modified afterwards using unitary function
LL_ADC_INJ_SetTrigAuto().
50.2

ADC Firmware driver API description

50.2.1

Detailed description of functions

LL_ADC_DMA_GetRegAddr

Function name
Function description
Parameters
Return values
Notes
ADC_LL_EC_INJ_SEQ_DISCONT_MODE
__STATIC_INLINE uint32_t LL_ADC_DMA_GetRegAddr
(ADC_TypeDef * ADCx, uint32_t Register)
Function to help to configure DMA transfer from ADC: retrieve the
ADC register address from ADC instance and a list of ADC
registers intended to be used (most commonly) with DMA transfer.
ADCx: ADC instance
Register: This parameter can be one of the following values:
(1) Available on devices with several ADC instances.
LL_ADC_DMA_REG_REGULAR_DATA
LL_ADC_DMA_REG_REGULAR_DATA_MULTI (1)
ADC: register address
These ADC registers are data registers: when ADC
conversion data is available in ADC data registers, ADC
generates a DMA transfer request.
This macro is intended to be used with LL DMA driver, refer to
function "LL_DMA_ConfigAddresses()". Example:
LL_DMA_ConfigAddresses(DMA1, LL_DMA_CHANNEL_1,
LL_ADC_DMA_GetRegAddr(ADC1,
LL_ADC_DMA_REG_REGULAR_DATA), (uint32_t)&< array
or variable >,
DocID028236 Rev 2
ADC_LL_EC_INJ_TRIG_AUTO
LL ADC Generic Driver
Note: This
699/1371

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF