Type Alias stm32f4xx_hal::gpio::gpiob::PB13

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

PB13 pin

Aliased Type§

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

Trait Implementations§

source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

impl<MODE> TryFrom<Sck> for PB13<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.
source§

impl<MODE> TryFrom<Tx> for PB13<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<Txd1> for PB13<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: Txd1) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<MODE> TryFrom<UlpiD6> for PB13<MODE>
where MODE: PinMode, Alternate<10, PushPull>: PinMode,

§

type Error = ()

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

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

Performs the conversion.