Type Alias stm32f4xx_hal::gpio::gpiob::PB4

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

PB4 pin

Aliased Type§

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

Trait Implementations§

source§

impl<MODE, Otype> TryFrom<Ch1<Otype>> for PB4<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<ExtSd> for PB4<MODE>
where MODE: PinMode, Alternate<7, PushPull>: PinMode,

§

type Error = ()

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

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

Performs the conversion.
source§

impl<MODE> TryFrom<Jtrst> for PB4<MODE>
where MODE: PinMode, Alternate<0, PushPull>: PinMode,

§

type Error = ()

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

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.