UM1940
__LL_ADC_MULTI_CONV_DATA_
MASTER_SLAVE
__LL_ADC_COMMON_INSTANCE
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)
);
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.
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
DocID028236 Rev 2
LL ADC Generic Driver
785/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers