Type Alias stm32f4xx_hal::gpio::gpiob::PB3

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

PB3 pin

Aliased Type§

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

Trait Implementations§

source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.