embassy-stm32

Crates

git

Versions

stm32g431kb

Flavors

Skip to main content

AdcChannel

Trait AdcChannel 

Source
pub trait AdcChannel<T>: SealedAdcChannel<T> + Sized {
    // Provided methods
    fn degrade_adc<'a>(&'a mut self) -> BorrowedAdcChannel<'a, T> { ... }
    fn reborrow_adc<'a>(&'a mut self) -> BorrowedAdcChannel<'a, T> { ... }
}
Expand description

ADC channel.

Provided Methodsยง

Source

fn degrade_adc<'a>(&'a mut self) -> BorrowedAdcChannel<'a, T>

๐Ÿ‘ŽDeprecated:

use reborrow_adc

Source

fn reborrow_adc<'a>(&'a mut self) -> BorrowedAdcChannel<'a, T>

Dyn Compatibilityยง

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Typesยง

Sourceยง

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

Sourceยง

impl AdcChannel<ADC1> for (Peri<'_, PA1>, Peri<'_, PA2>)

Sourceยง

impl AdcChannel<ADC1> for (Peri<'_, PA2>, Peri<'_, PA3>)

Sourceยง

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

Sourceยง

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

Sourceยง

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

Implementorsยง