Struct Adc0

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

Wrapper around the ADC instance

Trait Implementations§

Source§

impl AdcInstance for Adc0

Source§

impl AdcPin<Adc0> for Pin<PA02, AlternateB>

Source§

const CHANNEL: u8 = 0u8

Source§

impl AdcPin<Adc0> for Pin<PA03, AlternateB>

Source§

const CHANNEL: u8 = 1u8

Source§

impl AdcPin<Adc0> for Pin<PA04, AlternateB>

Source§

const CHANNEL: u8 = 4u8

Source§

impl AdcPin<Adc0> for Pin<PA05, AlternateB>

Source§

const CHANNEL: u8 = 5u8

Source§

impl AdcPin<Adc0> for Pin<PA06, AlternateB>

Source§

const CHANNEL: u8 = 6u8

Source§

impl AdcPin<Adc0> for Pin<PA07, AlternateB>

Source§

const CHANNEL: u8 = 7u8

Source§

impl AdcPin<Adc0> for Pin<PA08, AlternateB>

Source§

const CHANNEL: u8 = 16u8

Source§

impl AdcPin<Adc0> for Pin<PA09, AlternateB>

Source§

const CHANNEL: u8 = 17u8

Source§

impl AdcPin<Adc0> for Pin<PA10, AlternateB>

Source§

const CHANNEL: u8 = 18u8

Source§

impl AdcPin<Adc0> for Pin<PA11, AlternateB>

Source§

const CHANNEL: u8 = 19u8

Source§

impl AdcPin<Adc0> for Pin<PB00, AlternateB>

Source§

const CHANNEL: u8 = 8u8

Source§

impl AdcPin<Adc0> for Pin<PB01, AlternateB>

Source§

const CHANNEL: u8 = 9u8

Source§

impl AdcPin<Adc0> for Pin<PB02, AlternateB>

Source§

const CHANNEL: u8 = 10u8

Source§

impl AdcPin<Adc0> for Pin<PB03, AlternateB>

Source§

const CHANNEL: u8 = 11u8

Source§

impl AdcPin<Adc0> for Pin<PB04, AlternateB>

Source§

const CHANNEL: u8 = 12u8

Source§

impl AdcPin<Adc0> for Pin<PB05, AlternateB>

Source§

const CHANNEL: u8 = 13u8

Source§

impl AdcPin<Adc0> for Pin<PB06, AlternateB>

Source§

const CHANNEL: u8 = 14u8

Source§

impl AdcPin<Adc0> for Pin<PB07, AlternateB>

Source§

const CHANNEL: u8 = 15u8

Source§

impl AdcPin<Adc0> for Pin<PB08, AlternateB>

Source§

const CHANNEL: u8 = 2u8

Source§

impl AdcPin<Adc0> for Pin<PB09, AlternateB>

Source§

const CHANNEL: u8 = 3u8

Source§

impl PrimaryAdc for Adc0

Auto Trait Implementations§

§

impl Freeze for Adc0

§

impl RefUnwindSafe for Adc0

§

impl Send for Adc0

§

impl !Sync for Adc0

§

impl Unpin for Adc0

§

impl UnwindSafe for Adc0

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> 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> Same for T

Source§

type Output = T

Should always be Self
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.