HAL
LL_ADC_GetAnalogWDMonitChannels() is only used within HAL.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Return value

Returned value can be one of the following values: @arg LL_ADC_AWD_DISABLE @arg LL_ADC_AWD_ALL_CHANNELS_REG @arg LL_ADC_AWD_ALL_CHANNELS_INJ @arg LL_ADC_AWD_ALL_CHANNELS_REG_INJ @arg LL_ADC_AWD_CHANNEL_0_REG @arg LL_ADC_AWD_CHANNEL_0_INJ @arg LL_ADC_AWD_CHANNEL_0_REG_INJ @arg LL_ADC_AWD_CHANNEL_1_REG @arg LL_ADC_AWD_CHANNEL_1_INJ @arg LL_ADC_AWD_CHANNEL_1_REG_INJ @arg LL_ADC_AWD_CHANNEL_2_REG @arg LL_ADC_AWD_CHANNEL_2_INJ @arg LL_ADC_AWD_CHANNEL_2_REG_INJ @arg LL_ADC_AWD_CHANNEL_3_REG @arg LL_ADC_AWD_CHANNEL_3_INJ @arg LL_ADC_AWD_CHANNEL_3_REG_INJ @arg LL_ADC_AWD_CHANNEL_4_REG @arg LL_ADC_AWD_CHANNEL_4_INJ @arg LL_ADC_AWD_CHANNEL_4_REG_INJ @arg LL_ADC_AWD_CHANNEL_5_REG @arg LL_ADC_AWD_CHANNEL_5_INJ @arg LL_ADC_AWD_CHANNEL_5_REG_INJ @arg LL_ADC_AWD_CHANNEL_6_REG @arg LL_ADC_AWD_CHANNEL_6_INJ @arg LL_ADC_AWD_CHANNEL_6_REG_INJ @arg LL_ADC_AWD_CHANNEL_7_REG @arg LL_ADC_AWD_CHANNEL_7_INJ @arg LL_ADC_AWD_CHANNEL_7_REG_INJ @arg LL_ADC_AWD_CHANNEL_8_REG @arg LL_ADC_AWD_CHANNEL_8_INJ @arg LL_ADC_AWD_CHANNEL_8_REG_INJ @arg LL_ADC_AWD_CHANNEL_9_REG @arg LL_ADC_AWD_CHANNEL_9_INJ @arg LL_ADC_AWD_CHANNEL_9_REG_INJ @arg LL_ADC_AWD_CHANNEL_10_REG @arg LL_ADC_AWD_CHANNEL_10_INJ @arg LL_ADC_AWD_CHANNEL_10_REG_INJ @arg LL_ADC_AWD_CHANNEL_11_REG @arg LL_ADC_AWD_CHANNEL_11_INJ @arg LL_ADC_AWD_CHANNEL_11_REG_INJ @arg LL_ADC_AWD_CHANNEL_12_REG @arg LL_ADC_AWD_CHANNEL_12_INJ @arg LL_ADC_AWD_CHANNEL_12_REG_INJ @arg LL_ADC_AWD_CHANNEL_13_REG @arg LL_ADC_AWD_CHANNEL_13_INJ @arg LL_ADC_AWD_CHANNEL_13_REG_INJ @arg LL_ADC_AWD_CHANNEL_14_REG @arg LL_ADC_AWD_CHANNEL_14_INJ @arg LL_ADC_AWD_CHANNEL_14_REG_INJ @arg LL_ADC_AWD_CHANNEL_15_REG @arg LL_ADC_AWD_CHANNEL_15_INJ @arg LL_ADC_AWD_CHANNEL_15_REG_INJ @arg LL_ADC_AWD_CHANNEL_16_REG @arg LL_ADC_AWD_CHANNEL_16_INJ @arg LL_ADC_AWD_CHANNEL_16_REG_INJ @arg LL_ADC_AWD_CHANNEL_17_REG @arg LL_ADC_AWD_CHANNEL_17_INJ @arg LL_ADC_AWD_CHANNEL_17_REG_INJ @arg LL_ADC_AWD_CHANNEL_18_REG @arg LL_ADC_AWD_CHANNEL_18_INJ @arg LL_ADC_AWD_CHANNEL_18_REG_INJ

Notes

Usage of the returned channel number: - To reinject this channel into another function LL_ADC_xxx: the returned channel number is only partly formatted on definition of literals LL_ADC_CHANNEL_x. Therefore, it has to be compared with parts of literals LL_ADC_CHANNEL_x or using helper macro __LL_ADC_CHANNEL_TO_DECIMAL_NB (). Then the selected literal LL_ADC_CHANNEL_x can be used as parameter for another function. - To get the channel number in decimal format: process the returned value with the helper macro __LL_ADC_CHANNEL_TO_DECIMAL_NB (). Applicable only when the analog watchdog is set to monitor one channel. On this STM32 series, there is only 1 kind of analog watchdog instance: - AWD standard (instance AWD1): - channels monitored: can monitor 1 channel or all channels. - groups monitored: ADC groups regular and-or injected. - resolution: resolution is not limited (corresponds to ADC resolution configured). CR1 AWD1SGL LL_ADC_GetAnalogWDMonitChannels\n CR1 AWD1EN LL_ADC_GetAnalogWDMonitChannels

References

from examples