Type Alias stm32f4xx_hal::gpio::gpiob::PB8

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

PB8 pin

Aliased Type§

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

Trait Implementations§

source§

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

Performs the conversion.
source§

impl<MODE, Otype> TryFrom<Ch1<Otype>> for PB8<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<Ch3<Otype>> for PB8<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: Ch3<Otype>) -> Result<Self, Self::Error>

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

impl<MODE> TryFrom<Sd> for PB8<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<Txd3> for PB8<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: Txd3) -> Result<Self, Self::Error>

Performs the conversion.