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 #700 background imageLoading...
Page #700 background image
LL ADC Generic Driver
UM1940
700/1371
DocID028236 Rev 2
LL_DMA_DIRECTION_PERIPH_TO_MEMORY);
For devices with several ADC: in multimode, some devices
use a different data register outside of ADC instance scope
(common data register). This macro manages this register
difference, only ADC instance has to be set as parameter.
Reference Manual to
LL API cross
reference:
DR RDATA LL_ADC_DMA_GetRegAddr
CDR RDATA_MST LL_ADC_DMA_GetRegAddr
CDR RDATA_SLV LL_ADC_DMA_GetRegAddr
LL_ADC_SetCommonClock
Function name
__STATIC_INLINE void LL_ADC_SetCommonClock
(ADC_Common_TypeDef * ADCxy_COMMON, uint32_t
CommonClock)
Function description
Set parameter common to several ADC: Clock source and
prescaler.
Parameters
ADCxy_COMMON: ADC common instance (can be set
directly from CMSIS definition or by using helper macro
__LL_ADC_COMMON_INSTANCE() )
CommonClock: This parameter can be one of the following
values:
LL_ADC_CLOCK_SYNC_PCLK_DIV2
LL_ADC_CLOCK_SYNC_PCLK_DIV4
LL_ADC_CLOCK_SYNC_PCLK_DIV6
LL_ADC_CLOCK_SYNC_PCLK_DIV8
Return values
None:
Reference Manual to
LL API cross
reference:
CCR ADCPRE LL_ADC_SetCommonClock
LL_ADC_GetCommonClock
Function name
__STATIC_INLINE uint32_t LL_ADC_GetCommonClock
(ADC_Common_TypeDef * ADCxy_COMMON)
Function description
Get parameter common to several ADC: Clock source and
prescaler.
Parameters
ADCxy_COMMON: ADC common instance (can be set
directly from CMSIS definition or by using helper macro
__LL_ADC_COMMON_INSTANCE() )
Return values
Returned: value can be one of the following values:
LL_ADC_CLOCK_SYNC_PCLK_DIV2
LL_ADC_CLOCK_SYNC_PCLK_DIV4
LL_ADC_CLOCK_SYNC_PCLK_DIV6
LL_ADC_CLOCK_SYNC_PCLK_DIV8
Reference Manual to
LL API cross
reference:
CCR ADCPRE LL_ADC_GetCommonClock

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