Type Alias stm32f4xx_hal::gpio::gpiob::PB15

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

PB15 pin

Aliased Type§

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

Trait Implementations§

source§

impl<MODE, Otype> TryFrom<Ch2<Otype>> for PB15<MODE>
where MODE: PinMode, Alternate<9, 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, Otype> TryFrom<Ch3N<Otype>> for PB15<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: Ch3N<Otype>) -> Result<Self, Self::Error>

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

impl<MODE> TryFrom<Mosi> for PB15<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<Refin> for PB15<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: Refin) -> Result<Self, Self::Error>

Performs the conversion.
source§

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

Performs the conversion.