__LL_ADC_MULTI_CONV_DATA_MASTER_SLAVE macro
Helper macro to get the ADC multimode conversion data of ADC master or ADC slave from raw value with both ADC conversion data concatenated.
Syntax
#define __LL_ADC_MULTI_CONV_DATA_MASTER_SLAVE(__ADC_MULTI_MASTER_SLAVE__, __ADC_MULTI_CONV_DATA__) \
(((__ADC_MULTI_CONV_DATA__) >> POSITION_VAL((__ADC_MULTI_MASTER_SLAVE__))) & ADC_CDR_RDATA_MST)
Arguments
__ADC_MULTI_MASTER_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.