ST STM32F2 User Manual page 781

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

UM1940
__LL_ADC_IS_CHANNEL_INTER
NAL_AVAILABLE
__LL_ADC_ANALOGWD_CHANN
EL_GROUP
Description:
Helper macro to determine whether the internal
channel selected is available on the ADC
instance selected.
Parameters:
__ADC_INSTANCE__: ADC instance
__CHANNEL__: This parameter can be one of
the following values:
LL_ADC_CHANNEL_VREFINT (1)
LL_ADC_CHANNEL_TEMPSENSOR
(1)(2)
LL_ADC_CHANNEL_VBAT (1)
Return value:
Value: "0" if the internal channel selected is not
available on the ADC instance selected. Value
"1" if the internal channel selected is available
on the ADC instance selected.
Notes:
The channel parameter must be a value defined
from parameter definition of a ADC internal
channel (LL_ADC_CHANNEL_VREFINT,
LL_ADC_CHANNEL_TEMPSENSOR, ...), must
not be a value defined from parameter definition
of ADC external channel
(LL_ADC_CHANNEL_1,
LL_ADC_CHANNEL_2, ...) or a value from
functions where a channel number is returned
from ADC registers, because internal and
external channels share the same channel
number in ADC registers. The differentiation is
made only with parameters definitions of driver.
Description:
Helper macro to define ADC analog watchdog
parameter: define a single channel to monitor
with analog watchdog from sequencer channel
and groups definition.
Parameters:
__CHANNEL__: This parameter can be one of
the following values:
LL_ADC_CHANNEL_0
LL_ADC_CHANNEL_1
LL_ADC_CHANNEL_2
LL_ADC_CHANNEL_3
LL_ADC_CHANNEL_4
LL_ADC_CHANNEL_5
LL_ADC_CHANNEL_6
LL_ADC_CHANNEL_7
LL_ADC_CHANNEL_8
LL_ADC_CHANNEL_9
DocID028236 Rev 2
LL ADC Generic Driver
781/1371

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF