embassy-stm32

Crates

git

Versions

stm32g473qb

Flavors

ADC2

Struct ADC2 

Source
pub struct ADC2 { /* private fields */ }
Expand description

ADC2 peripheral

Implementations§

Source§

impl ADC2

Source

pub const unsafe fn steal() -> Peri<'static, Self>

Unsafely create an instance of this peripheral out of thin air.

§Safety

You must ensure that you’re only using one instance of this type at a time.

Trait Implementations§

Source§

impl AdcChannel<ADC2> for (Peri<'_, PA0>, Peri<'_, PA1>)

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for (Peri<'_, PA1>, Peri<'_, PA6>)

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for (Peri<'_, PA6>, Peri<'_, PA7>)

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for (Peri<'_, PA7>, Peri<'_, PC4>)

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for (Peri<'_, PB11>, Peri<'_, PA5>)

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for (Peri<'_, PB15>, Peri<'_, PB11>)

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for (Peri<'_, PC0>, Peri<'_, PC1>)

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for (Peri<'_, PC1>, Peri<'_, PC2>)

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for (Peri<'_, PC2>, Peri<'_, PC3>)

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for (Peri<'_, PC3>, Peri<'_, PF1>)

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for (Peri<'_, PC4>, Peri<'_, PC0>)

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for (Peri<'_, PC5>, Peri<'_, PB2>)

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for (Peri<'_, PF1>, Peri<'_, PC5>)

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl<'d> AdcChannel<ADC2> for OpAmpInternalOutput<'d, OPAMP2>

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl<'d> AdcChannel<ADC2> for OpAmpInternalOutput<'d, OPAMP3>

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl<'d> AdcChannel<ADC2> for OpAmpOutput<'d, OPAMP2>

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl<'d> AdcChannel<ADC2> for OpAmpOutput<'d, OPAMP6>

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for Peri<'_, PA0>

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for Peri<'_, PA1>

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for Peri<'_, PA4>

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for Peri<'_, PA5>

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for Peri<'_, PA6>

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for Peri<'_, PA7>

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for Peri<'_, PB11>

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for Peri<'_, PB15>

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for Peri<'_, PB2>

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for Peri<'_, PC0>

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for Peri<'_, PC1>

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for Peri<'_, PC2>

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for Peri<'_, PC3>

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for Peri<'_, PC4>

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for Peri<'_, PC5>

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl AdcChannel<ADC2> for Peri<'_, PF1>

Source§

fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
where Self: 'a,

Source§

impl BasicInstance for ADC2

Source§

type Regs = Adc

Source§

impl Clone for ADC2

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ADC2

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Format for ADC2
where (): Format,

Source§

fn format(&self, f: Formatter<'_>)

Writes the defmt representation of self to fmt.
Source§

impl InjectedTrigger<ADC2> for EXTI15_TRG

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for HRTIM_ADC_TRG10

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for HRTIM_ADC_TRG2

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for HRTIM_ADC_TRG4

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for HRTIM_ADC_TRG5

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for HRTIM_ADC_TRG6

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for HRTIM_ADC_TRG7

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for HRTIM_ADC_TRG8

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for HRTIM_ADC_TRG9

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for LPTIMOUT

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for TIM15_TRGO

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for TIM16_CC1

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for TIM1_CC4

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for TIM1_TRGO

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for TIM1_TRGO2

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for TIM20_CC4

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for TIM20_TRGO

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for TIM20_TRGO2

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for TIM2_CC1

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for TIM2_TRGO

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for TIM3_CC1

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for TIM3_CC3

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for TIM3_CC4

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for TIM3_TRGO

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for TIM4_TRGO

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for TIM6_TRGO

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for TIM7_TRGO

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for TIM8_CC4

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for TIM8_TRGO

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl InjectedTrigger<ADC2> for TIM8_TRGO2

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asInjectedTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl Instance for ADC2

Source§

impl RegularTrigger<ADC2> for EXTI11_TRG

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for HRTIM_ADC_TRG1

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for HRTIM_ADC_TRG10

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for HRTIM_ADC_TRG3

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for HRTIM_ADC_TRG5

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for HRTIM_ADC_TRG6

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for HRTIM_ADC_TRG7

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for HRTIM_ADC_TRG8

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for HRTIM_ADC_TRG9

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for LPTIMOUT

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for TIM15_TRGO

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for TIM1_CC1

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for TIM1_CC2

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for TIM1_CC3

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for TIM1_TRGO

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for TIM1_TRGO2

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for TIM20_CC1

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for TIM20_CC2

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for TIM20_CC3

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for TIM20_TRGO

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for TIM20_TRGO2

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for TIM2_CC2

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for TIM2_TRGO

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for TIM3_CC4

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for TIM3_TRGO

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for TIM4_CC4

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for TIM4_TRGO

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for TIM6_TRGO

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for TIM7_TRGO

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for TIM8_TRGO

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RegularTrigger<ADC2> for TIM8_TRGO2

Source§

fn signal(&self) -> u8

Get the signal number needed to use this trigger asRegularTrigger Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

impl RxDma<ADC2> for DMA1_CH1

Source§

fn request(&self) -> Request

Get the DMA request number needed to use this channel asRxDma Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

fn remap(&self)

Remap the DMA channel
Source§

impl RxDma<ADC2> for DMA1_CH2

Source§

fn request(&self) -> Request

Get the DMA request number needed to use this channel asRxDma Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

fn remap(&self)

Remap the DMA channel
Source§

impl RxDma<ADC2> for DMA1_CH3

Source§

fn request(&self) -> Request

Get the DMA request number needed to use this channel asRxDma Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

fn remap(&self)

Remap the DMA channel
Source§

impl RxDma<ADC2> for DMA1_CH4

Source§

fn request(&self) -> Request

Get the DMA request number needed to use this channel asRxDma Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

fn remap(&self)

Remap the DMA channel
Source§

impl RxDma<ADC2> for DMA1_CH5

Source§

fn request(&self) -> Request

Get the DMA request number needed to use this channel asRxDma Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

fn remap(&self)

Remap the DMA channel
Source§

impl RxDma<ADC2> for DMA1_CH6

Source§

fn request(&self) -> Request

Get the DMA request number needed to use this channel asRxDma Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

fn remap(&self)

Remap the DMA channel
Source§

impl RxDma<ADC2> for DMA1_CH7

Source§

fn request(&self) -> Request

Get the DMA request number needed to use this channel asRxDma Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

fn remap(&self)

Remap the DMA channel
Source§

impl RxDma<ADC2> for DMA1_CH8

Source§

fn request(&self) -> Request

Get the DMA request number needed to use this channel asRxDma Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

fn remap(&self)

Remap the DMA channel
Source§

impl RxDma<ADC2> for DMA2_CH1

Source§

fn request(&self) -> Request

Get the DMA request number needed to use this channel asRxDma Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

fn remap(&self)

Remap the DMA channel
Source§

impl RxDma<ADC2> for DMA2_CH2

Source§

fn request(&self) -> Request

Get the DMA request number needed to use this channel asRxDma Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

fn remap(&self)

Remap the DMA channel
Source§

impl RxDma<ADC2> for DMA2_CH3

Source§

fn request(&self) -> Request

Get the DMA request number needed to use this channel asRxDma Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

fn remap(&self)

Remap the DMA channel
Source§

impl RxDma<ADC2> for DMA2_CH4

Source§

fn request(&self) -> Request

Get the DMA request number needed to use this channel asRxDma Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

fn remap(&self)

Remap the DMA channel
Source§

impl RxDma<ADC2> for DMA2_CH5

Source§

fn request(&self) -> Request

Get the DMA request number needed to use this channel asRxDma Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

fn remap(&self)

Remap the DMA channel
Source§

impl RxDma<ADC2> for DMA2_CH6

Source§

fn request(&self) -> Request

Get the DMA request number needed to use this channel asRxDma Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

fn remap(&self)

Remap the DMA channel
Source§

impl RxDma<ADC2> for DMA2_CH7

Source§

fn request(&self) -> Request

Get the DMA request number needed to use this channel asRxDma Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

fn remap(&self)

Remap the DMA channel
Source§

impl RxDma<ADC2> for DMA2_CH8

Source§

fn request(&self) -> Request

Get the DMA request number needed to use this channel asRxDma Note: in some chips, ST calls this the “channel”, and calls channels “streams”. embassy-stm32 always uses the “channel” and “request number” names.
Source§

fn remap(&self)

Remap the DMA channel
Source§

impl Copy for ADC2

Source§

impl PeripheralType for ADC2

Source§

impl RccPeripheral for ADC2

Auto Trait Implementations§

§

impl Freeze for ADC2

§

impl RefUnwindSafe for ADC2

§

impl Send for ADC2

§

impl Sync for ADC2

§

impl Unpin for ADC2

§

impl UnwindSafe for ADC2

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<_INNER> DefaultInstance for _INNER
where _INNER: Instance<Regs = Adc>,