Type Alias stm32f4xx_hal::gpio::PG6

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

PG6 pin

Aliased Type§

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

Trait Implementations§

source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.