Type Alias PI4

Source
pub type PI4<MODE = DefaultMode> = Pin<'I', 4, MODE>;
Expand description

PI4 pin

Aliased Type§

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

Trait Implementations§

Source§

impl<MODE> TryFrom<B4> for PI4<MODE>
where MODE: PinMode, Alternate<14, PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Bkin> for PI4<MODE>
where MODE: PinMode, Alternate<3, PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE> TryFrom<D5> for PI4<MODE>
where MODE: PinMode, Alternate<13, PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

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

Performs the conversion.