STM32L486xx HAL User Manual
Defines
ADC Extended Exported Macros
ADCEx

Defines

#define ADC_FORCE_MODE_INDEPENDENT(__HANDLE__)   LL_ADC_SetMultimode(__LL_ADC_COMMON_INSTANCE((__HANDLE__)->Instance), LL_ADC_MULTI_INDEPENDENT)
 Force ADC instance in multimode mode independant (multimode disable).

Define Documentation

#define ADC_FORCE_MODE_INDEPENDENT (   __HANDLE__)    LL_ADC_SetMultimode(__LL_ADC_COMMON_INSTANCE((__HANDLE__)->Instance), LL_ADC_MULTI_INDEPENDENT)

Force ADC instance in multimode mode independant (multimode disable).

Note:
This macro must be used only in case of transition from multimode to mode independent and in case of unknown previous state, to ensure ADC configuration is in mode independent.
Standard way of multimode configuration change is done from HAL ADC handle of ADC master using function "HAL_ADCEx_MultiModeConfigChannel(..., ADC_MODE_INDEPENDENT)" )". Usage of this macro is not the Standard way of multimode configuration and can lead to have HAL ADC handles status misaligned. Usage of this macro must be limited to cases mentionned above.
Parameters:
__HANDLE__ADC handle.
Return values:
None

Definition at line 438 of file stm32l4xx_hal_adc_ex.h.