Type Alias stm32f4xx_hal::gpio::gpiog::PG1

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

PG1 pin

Aliased Type§

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

Trait Implementations§

source§

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

Performs the conversion.
source§

impl<MODE> TryFrom<Address> for PG1<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.