EasyManua.ls Logo

ST STM32F2

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
Loading...
UM1940
LL ADC Generic Driver
DocID028236 Rev 2
785/1371
Notes:
To be used with function
LL_ADC_GetAnalogWDThresholds(). Example,
with a ADC resolution of 8 bits, to get the value
of analog watchdog threshold high (on 8 bits): <
threshold_value_6_bits> =
__LL_ADC_ANALOGWD_GET_THRESHOLD_
RESOLUTION (LL_ADC_RESOLUTION_8B,
LL_ADC_GetAnalogWDThresholds(<ADCx
param>, LL_ADC_AWD_THRESHOLD_HIGH)
);
__LL_ADC_MULTI_CONV_DATA_
MASTER_SLAVE
Description:
Helper macro to get the ADC multimode
conversion data of ADC master or ADC slave
from raw value with both ADC conversion data
concatenated.
Parameters:
__ADC_MULTI_MASTER_SLAVE__: This
parameter can be one of the following values:
LL_ADC_MULTI_MASTER
LL_ADC_MULTI_SLAVE
__ADC_MULTI_CONV_DATA__: Value
between Min_Data=0x000 and
Max_Data=0xFFF
Return value:
Value: between Min_Data=0x000 and
Max_Data=0xFFF
Notes:
This macro is intended to be used when
multimode transfer by DMA is enabled: refer to
function LL_ADC_SetMultiDMATransfer(). In
this case the transferred data need to
processed with this macro to separate the
conversion data of ADC master and ADC slave.
__LL_ADC_COMMON_INSTANCE
Description:
Helper macro to select the ADC common
instance to which is belonging the selected
ADC instance.
Parameters:
__ADCx__: ADC instance
Return value:
ADC: common register instance
Notes:
ADC common register instance can be used
for: Set parameters common to several ADC
instancesMultimode (for devices with several

Table of Contents

Related product manuals