In case of ADC resolution different of 12 bits, analog
watchdog thresholds data require a specific shift. Use helper
macro
__LL_ADC_ANALOGWD_GET_THRESHOLD_RESOLUTIO
N().
Reference Manual to
LL API cross
reference:
HTR HT LL_ADC_GetAnalogWDThresholds
LTR LT LL_ADC_GetAnalogWDThresholds
LL_ADC_SetMultimode
__STATIC_INLINE void LL_ADC_SetMultimode
(ADC_Common_TypeDef * ADCxy_COMMON, uint32_t
Multimode)
Set ADC multimode configuration to operate in independent mode
or multimode (for devices with several ADC instances).
ADCxy_COMMON: ADC common instance (can be set
directly from CMSIS definition or by using helper macro
__LL_ADC_COMMON_INSTANCE() )
Multimode: This parameter can be one of the following
values:
LL_ADC_MULTI_INDEPENDENT
LL_ADC_MULTI_DUAL_REG_SIMULT
LL_ADC_MULTI_DUAL_REG_INTERL
LL_ADC_MULTI_DUAL_INJ_SIMULT
LL_ADC_MULTI_DUAL_INJ_ALTERN
LL_ADC_MULTI_DUAL_REG_SIM_INJ_SIM
LL_ADC_MULTI_DUAL_REG_SIM_INJ_ALT
LL_ADC_MULTI_DUAL_REG_INT_INJ_SIM
LL_ADC_MULTI_TRIPLE_REG_SIM_INJ_SIM
LL_ADC_MULTI_TRIPLE_REG_SIM_INJ_ALT
LL_ADC_MULTI_TRIPLE_INJ_SIMULT
LL_ADC_MULTI_TRIPLE_REG_SIMULT
LL_ADC_MULTI_TRIPLE_REG_INTERL
LL_ADC_MULTI_TRIPLE_INJ_ALTERN
If multimode configuration: the selected ADC instance is
either master or slave depending on hardware. Refer to
reference manual.
Reference Manual to
LL API cross
reference:
CCR MULTI LL_ADC_SetMultimode
LL_ADC_GetMultimode
__STATIC_INLINE uint32_t LL_ADC_GetMultimode
(ADC_Common_TypeDef * ADCxy_COMMON)
Get ADC multimode configuration to operate in independent mode
or multimode (for devices with several ADC instances).