Type Alias stm32f4xx_hal::gpio::PG4

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

PG4 pin

Aliased Type§

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

Trait Implementations§

source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.