Type Alias stm32f4xx_hal::gpio::gpioi::PI0

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

PI0 pin

Aliased Type§

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,

§

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,

§

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,

§

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,

§

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,

§

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,

§

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.