embassy-stm32

Crates

git

Versions

stm32f038f6

Flavors

AdcChannel

Trait AdcChannel 

Source
pub trait AdcChannel<T>: SealedAdcChannel<T> + Sized {
    // Provided method
    fn degrade_adc<'a>(self) -> AnyAdcChannel<'a, T>
       where Self: 'a { ... }
}
Expand description

ADC channel.

Provided Methods§

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

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

Source§

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

Source§

impl AdcChannel<ADC1> for Peri<'_, PA2>

Source§

impl AdcChannel<ADC1> for Peri<'_, PA3>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<C: SpecialChannel, T: Instance + SealedSpecialConverter<C>> AdcChannel<T> for C

Source§

impl<T: AnyInstance> AdcChannel<T> for AnyAdcChannel<'_, T>