pub struct LL_ADC_INJ_InitTypeDef {
    pub TriggerSource: u32,
    pub SequencerLength: u32,
    pub SequencerDiscont: u32,
    pub TrigAuto: u32,
}
Expand description

@brief Structure definition of some features of ADC group injected. @note These parameters have an impact on ADC scope: ADC group injected. Refer to corresponding unitary functions into @ref ADC_LL_EF_Configuration_ADC_Group_Regular (functions with prefix “INJ”). @note The setting of these parameters by function @ref LL_ADC_INJ_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.

Fields

TriggerSource: u32

< Set ADC group injected conversion trigger source: internal (SW start) or from external peripheral (timer event, external interrupt line). This parameter can be a value of @ref ADC_LL_EC_INJ_TRIGGER_SOURCE @note On this STM32 serie, setting trigger source to external trigger also set trigger polarity to rising edge (default setting for compatibility with some ADC on other STM32 families having this setting set by HW default value). In case of need to modify trigger edge, use function @ref LL_ADC_INJ_SetTriggerEdge().

This feature can be modified afterwards using unitary function @ref LL_ADC_INJ_SetTriggerSource().

SequencerLength: u32

< Set ADC group injected sequencer length. This parameter can be a value of @ref ADC_LL_EC_INJ_SEQ_SCAN_LENGTH

This feature can be modified afterwards using unitary function @ref LL_ADC_INJ_SetSequencerLength().

SequencerDiscont: u32

< Set ADC group injected sequencer discontinuous mode: sequence subdivided and scan conversions interrupted every selected number of ranks. This parameter can be a value of @ref ADC_LL_EC_INJ_SEQ_DISCONT_MODE @note This parameter has an effect only if group injected sequencer is enabled (scan length of 2 ranks or more).

This feature can be modified afterwards using unitary function @ref LL_ADC_INJ_SetSequencerDiscont().

TrigAuto: u32

< Set ADC group injected conversion trigger: independent or from ADC group regular. This parameter can be a value of @ref ADC_LL_EC_INJ_TRIG_AUTO Note: This parameter must be set to set to independent trigger if injected trigger source is set to an external trigger.

This feature can be modified afterwards using unitary function @ref LL_ADC_INJ_SetTrigAuto().

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.