Type Alias stm32f4xx_hal::gpio::PG12

source ·
pub type PG12<MODE = DefaultMode> = Pin<'G', 12, MODE>;
Expand description

PG12 pin

Aliased Type§

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

Trait Implementations§

source§

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

Performs the conversion.
source§

impl<MODE> TryFrom<B4> for PG12<MODE>
where MODE: PinMode, Alternate<9, PushPull>: PinMode,

§

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<Miso> for PG12<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: Miso) -> Result<Self, Self::Error>

Performs the conversion.
source§

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

Performs the conversion.
source§

impl<MODE> TryFrom<Rts> for PG12<MODE>
where MODE: PinMode, Alternate<8, PushPull>: PinMode,

§

type Error = ()

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

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

Performs the conversion.