Type Alias stm32f4xx_hal::gpio::gpiob::PB9

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

PB9 pin

Aliased Type§

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

Trait Implementations§

source§

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

Performs the conversion.
source§

impl<MODE, Otype> TryFrom<Ch1<Otype>> for PB9<MODE>
where MODE: PinMode, Alternate<3, 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, Otype> TryFrom<Ch4<Otype>> for PB9<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: Ch4<Otype>) -> Result<Self, Self::Error>

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

impl<MODE> TryFrom<Sda> for PB9<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<Tx> for PB9<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.
source§

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

Performs the conversion.