Type Alias stm32f4xx_hal::gpio::gpiob::PB11

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

PB11 pin

Aliased Type§

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

Trait Implementations§

source§

impl<MODE, Otype> TryFrom<Ch4<Otype>> for PB11<MODE>
where MODE: PinMode, Alternate<1, Otype>: PinMode,

§

type Error = ()

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

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

impl<MODE> TryFrom<TxEn> for PB11<MODE>
where MODE: PinMode, Alternate<11, PushPull>: PinMode,

§

type Error = ()

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

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

Performs the conversion.
source§

impl<MODE> TryFrom<UlpiD4> for PB11<MODE>
where MODE: PinMode, Alternate<10, PushPull>: PinMode,

§

type Error = ()

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

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

Performs the conversion.