Description:
Helper macro to check if all ADC instances
sharing the same ADC common instance are
disabled.
Parameters:
__ADCXY_COMMON__: ADC common
instance (can be set directly from CMSIS
definition or by using helper macro
Return value:
Value: "0" if all ADC instances sharing the same
ADC common instance are disabled. Value "1"
if at least one ADC instance sharing the same
ADC common instance is enabled.
Notes:
This check is required by functions with setting
conditioned to ADC state: All ADC instances of
the ADC common group must be disabled.
Refer to functions having argument
"ADCxy_COMMON" as parameter. On devices
with only 1 ADC common instance, parameter
of this macro is useless and can be ignored
(parameter kept for compatibility with devices
featuring several ADC common instances).
Description:
Helper macro to define the ADC conversion
data full-scale digital value corresponding to the
selected ADC resolution.
Parameters:
__ADC_RESOLUTION__: This parameter can
be one of the following values:
LL_ADC_RESOLUTION_12B
LL_ADC_RESOLUTION_10B
LL_ADC_RESOLUTION_8B
LL_ADC_RESOLUTION_6B
Return value:
ADC: conversion data equivalent voltage value
(unit: mVolt)
Notes:
ADC conversion data full-scale corresponds to
voltage range determined by analog voltage
references Vref+ and Vref- (refer to reference
manual).