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

Return value

An ErrorStatus enumeration value: - SUCCESS: ADC registers are initialized - ERROR: ADC registers are not initialized

Notes

These parameters have an impact on ADC scope: ADC group injected. Refer to corresponding unitary functions into ADC_LL_EF_Configuration_ADC_Group_Regular (functions with prefix "INJ"). The setting of these parameters by function LL_ADC_Init() is conditioned to ADC state: ADC instance must be disabled. This condition is applied to all ADC features, for efficiency and compatibility over all STM32 families. However, the different features can be set under different ADC state conditions (setting possible with ADC enabled without conversion on going, ADC enabled with conversion on going, ...) Each feature can be updated afterwards with a unitary function and potentially with ADC in a different state than disabled, refer to description of each function for setting conditioned to ADC state. After using this function, other features must be configured using LL unitary functions. The minimum configuration remaining to be done is: - Set ADC group injected sequencer: map channel on the selected sequencer rank. Refer to function LL_ADC_INJ_SetSequencerRanks(). - Set ADC channel sampling time Refer to function LL_ADC_SetChannelSamplingTime();

References

from examples