Type Alias PI0

Source
pub type PI0<MODE = DefaultMode> = Pin<'I', 0, MODE>;
Expand description

PI0 pin

Aliased Type§

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

Trait Implementations§

Source§

impl<MODE, Otype> TryFrom<Ch4<Otype>> for PI0<MODE>
where MODE: PinMode, Alternate<2, Otype>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

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

Performs the conversion.
Source§

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

Performs the conversion.
Source§

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Nss> for PI0<MODE>
where MODE: PinMode, Alternate<5, PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Ws> for PI0<MODE>
where MODE: PinMode, Alternate<5, PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.