Type Alias PF0

Source
pub type PF0<MODE = DefaultMode> = Pin<'F', 0, MODE>;
Expand description

PF0 pin

Aliased Type§

pub struct PF0<MODE = DefaultMode> { /* private fields */ }

Trait Implementations§

Source§

impl<MODE> TryFrom<A0> for PF0<MODE>
where MODE: PinMode, Alternate<12, PushPull>: PinMode,

Source§

type Error = ()

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

fn try_from(a: A0) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<MODE> TryFrom<Address> for PF0<MODE>
where MODE: PinMode, Alternate<12, PushPull>: PinMode,

Source§

type Error = ()

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

fn try_from(a: Address) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<MODE> TryFrom<Sda> for PF0<MODE>
where MODE: PinMode, Alternate<4, OpenDrain>: PinMode,

Source§

type Error = ()

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

fn try_from(a: Sda) -> Result<Self, Self::Error>

Performs the conversion.