Type Alias PF2

Source
pub type PF2<MODE = DefaultMode> = Pin<'F', 2, MODE>;
Expand description

PF2 pin

Aliased Type§

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

Trait Implementations§

Source§

impl<MODE> TryFrom<A2> for PF2<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: A2) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<MODE> TryFrom<Address> for PF2<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<Smba> for PF2<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: Smba) -> Result<Self, Self::Error>

Performs the conversion.