Type Alias PF1

Source
pub type PF1<MODE = DefaultMode> = Pin<'F', 1, MODE>;
Expand description

PF1 pin

Aliased Type§

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

Trait Implementations§

Source§

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

Performs the conversion.
Source§

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

Performs the conversion.