Type Alias stm32f4xx_hal::gpio::gpiob::PB6

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

PB6 pin

Aliased Type§

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

Trait Implementations§

source§

impl<MODE, Otype> TryFrom<Ch1<Otype>> for PB6<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: Ch1<Otype>) -> Result<Self, Self::Error>

Performs the conversion.
source§

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

Performs the conversion.
source§

impl<MODE> TryFrom<Scl> for PB6<MODE>
where MODE: PinMode, Alternate<4, OpenDrain>: PinMode,

§

type Error = ()

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

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

Performs the conversion.
source§

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

Performs the conversion.
source§

impl<MODE, Otype> TryFrom<Tx<Otype>> for PB6<MODE>
where MODE: PinMode, Alternate<7, Otype>: PinMode,

§

type Error = ()

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

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

Performs the conversion.
source§

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

Performs the conversion.