Type Alias stm32f4xx_hal::gpio::gpiob::PB5

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

PB5 pin

Aliased Type§

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

Trait Implementations§

source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

impl<MODE> TryFrom<Mosi> for PB5<MODE>
where MODE: PinMode, Alternate<6, PushPull>: PinMode,

§

type Error = ()

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

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

Performs the conversion.
source§

impl<MODE> TryFrom<Mosi> for PB5<MODE>
where MODE: PinMode, Alternate<5, PushPull>: PinMode,

§

type Error = ()

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

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

impl<MODE> TryFrom<Sd> for PB5<MODE>
where MODE: PinMode, Alternate<6, PushPull>: PinMode,

§

type Error = ()

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

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.