embassy-stm32

Crates

git

Versions

stm32f103re

Flavors

embassy_stm32::adc

Trait AdcChannel

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

ADC channel.

Provided Methods§

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 PA0

Source§

impl AdcChannel<ADC1> for PA1

Source§

impl AdcChannel<ADC1> for PA2

Source§

impl AdcChannel<ADC1> for PA3

Source§

impl AdcChannel<ADC1> for PA4

Source§

impl AdcChannel<ADC1> for PA5

Source§

impl AdcChannel<ADC1> for PA6

Source§

impl AdcChannel<ADC1> for PA7

Source§

impl AdcChannel<ADC1> for PB0

Source§

impl AdcChannel<ADC1> for PB1

Source§

impl AdcChannel<ADC1> for PC0

Source§

impl AdcChannel<ADC1> for PC1

Source§

impl AdcChannel<ADC1> for PC2

Source§

impl AdcChannel<ADC1> for PC3

Source§

impl AdcChannel<ADC1> for PC4

Source§

impl AdcChannel<ADC1> for PC5

Source§

impl AdcChannel<ADC2> for PA0

Source§

impl AdcChannel<ADC2> for PA1

Source§

impl AdcChannel<ADC2> for PA2

Source§

impl AdcChannel<ADC2> for PA3

Source§

impl AdcChannel<ADC2> for PA4

Source§

impl AdcChannel<ADC2> for PA5

Source§

impl AdcChannel<ADC2> for PA6

Source§

impl AdcChannel<ADC2> for PA7

Source§

impl AdcChannel<ADC2> for PB0

Source§

impl AdcChannel<ADC2> for PB1

Source§

impl AdcChannel<ADC2> for PC0

Source§

impl AdcChannel<ADC2> for PC1

Source§

impl AdcChannel<ADC2> for PC2

Source§

impl AdcChannel<ADC2> for PC3

Source§

impl AdcChannel<ADC2> for PC4

Source§

impl AdcChannel<ADC2> for PC5

Source§

impl AdcChannel<ADC3> for PA0

Source§

impl AdcChannel<ADC3> for PA1

Source§

impl AdcChannel<ADC3> for PA2

Source§

impl AdcChannel<ADC3> for PA3

Source§

impl AdcChannel<ADC3> for PC0

Source§

impl AdcChannel<ADC3> for PC1

Source§

impl AdcChannel<ADC3> for PC2

Source§

impl AdcChannel<ADC3> for PC3

Source§

impl<T: Instance> AdcChannel<T> for AnyAdcChannel<T>

Source§

impl<T: Instance> AdcChannel<T> for Temperature

Source§

impl<T: Instance> AdcChannel<T> for Vref