HAL
LL_ADC_INJ_SetTrigAuto() is only used within HAL.
 
Symbols
loading...
Files
loading...

LL_ADC_INJ_SetTrigAuto() function

Set ADC group injected conversion trigger: independent or from ADC group regular.

Syntax

__STATIC_INLINE void LL_ADC_INJ_SetTrigAuto(ADC_TypeDef *ADCx,     uint32_t TrigAuto);

Arguments

ADCx

ADC instance

TrigAuto

This parameter can be one of the following values: @arg LL_ADC_INJ_TRIG_INDEPENDENT @arg LL_ADC_INJ_TRIG_FROM_GRP_REGULAR

Return value

None

Notes

This mode can be used to extend number of data registers updated after one ADC conversion trigger and with data permanently kept (not erased by successive conversions of scan of ADC sequencer ranks), up to 5 data registers: 1 data register on ADC group regular, 4 data registers on ADC group injected. If ADC group injected injected trigger source is set to an external trigger, this feature must be must be set to independent trigger. ADC group injected automatic trigger is compliant only with group injected trigger source set to SW start, without any further action on ADC group injected conversion start or stop: in this case, ADC group injected is controlled only from ADC group regular. It is not possible to enable both ADC group injected auto-injected mode and sequencer discontinuous mode.

References

LocationText
stm32f4xx_ll_adc.h:3115
__STATIC_INLINE void LL_ADC_INJ_SetTrigAuto(ADC_TypeDef *ADCx, uint32_t TrigAuto)

Data Use

Data read by LL_ADC_INJ_SetTrigAuto()
LL_ADC_INJ_SetTrigAuto()