Ll_Adc_Reg_Readconversiondata6; Ll_Adc_Reg_Readmulticonversiondata32 - ST STM32F2 User Manual

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

Advertisement

LL ADC Generic Driver
Reference Manual to
LL API cross
reference:

LL_ADC_REG_ReadConversionData6

Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL API cross
reference:

LL_ADC_REG_ReadMultiConversionData32

Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL API cross
reference:
740/1371
DR RDATA LL_ADC_REG_ReadConversionData8
__STATIC_INLINE uint8_t
LL_ADC_REG_ReadConversionData6 (ADC_TypeDef * ADCx)
Get ADC group regular conversion data, range fit for ADC
resolution 6 bits.
ADCx: ADC instance
Value: between Min_Data=0x00 and Max_Data=0x3F
For devices with feature oversampling: Oversampling can
increase data width, function for extended range may be
needed: LL_ADC_REG_ReadConversionData32.
DR RDATA LL_ADC_REG_ReadConversionData6
__STATIC_INLINE uint32_t
LL_ADC_REG_ReadMultiConversionData32
(ADC_Common_TypeDef * ADCxy_COMMON, uint32_t
ConversionData)
Get ADC multimode conversion data of ADC master, ADC slave or
raw data with ADC master and slave concatenated.
ADCxy_COMMON: ADC common instance (can be set
directly from CMSIS definition or by using helper macro
__LL_ADC_COMMON_INSTANCE() )
ConversionData: This parameter can be one of the following
values:
LL_ADC_MULTI_MASTER
LL_ADC_MULTI_SLAVE
LL_ADC_MULTI_MASTER_SLAVE
Value: between Min_Data=0x00000000 and
Max_Data=0xFFFFFFFF
If raw data with ADC master and slave concatenated is
retrieved, a macro is available to get the conversion data of
ADC master or ADC slave: see helper macro
__LL_ADC_MULTI_CONV_DATA_MASTER_SLAVE().
(however this macro is mainly intended for multimode transfer
by DMA, because this function can do the same by getting
multimode conversion data of ADC master or ADC slave
separately).
CDR DATA1 LL_ADC_REG_ReadMultiConversionData32
CDR DATA2 LL_ADC_REG_ReadMultiConversionData32
DocID028236 Rev 2
UM1940

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