Ll_Adc_Setresolution; Ll_Adc_Getresolution; Ll_Adc_Setdataalignment - 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
Notes
Reference Manual to
LL API cross
reference:

LL_ADC_SetResolution

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

LL_ADC_GetResolution

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

LL_ADC_SetDataAlignment

Function name
Function description
Parameters
702/1371
One or several values can be selected. Example:
(LL_ADC_PATH_INTERNAL_VREFINT |
LL_ADC_PATH_INTERNAL_TEMPSENSOR)
CCR TSVREFE LL_ADC_GetCommonPathInternalCh
CCR VBATE LL_ADC_GetCommonPathInternalCh
__STATIC_INLINE void LL_ADC_SetResolution
(ADC_TypeDef * ADCx, uint32_t Resolution)
Set ADC resolution.
ADCx: ADC instance
Resolution: This parameter can be one of the following
values:
LL_ADC_RESOLUTION_12B
LL_ADC_RESOLUTION_10B
LL_ADC_RESOLUTION_8B
LL_ADC_RESOLUTION_6B
None:
CR1 RES LL_ADC_SetResolution
__STATIC_INLINE uint32_t LL_ADC_GetResolution
(ADC_TypeDef * ADCx)
Get ADC resolution.
ADCx: ADC instance
Returned: value can be one of the following values:
LL_ADC_RESOLUTION_12B
LL_ADC_RESOLUTION_10B
LL_ADC_RESOLUTION_8B
LL_ADC_RESOLUTION_6B
CR1 RES LL_ADC_GetResolution
__STATIC_INLINE void LL_ADC_SetDataAlignment
(ADC_TypeDef * ADCx, uint32_t DataAlignment)
Set ADC conversion data alignment.
ADCx: ADC instance
DataAlignment: This parameter can be one of the following
values:
LL_ADC_DATA_ALIGN_RIGHT
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?

Table of Contents

Save PDF