Type Alias stm32f4xx_hal::gpio::gpiob::PB12

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

PB12 pin

Aliased Type§

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

Trait Implementations§

source§

impl<MODE> TryFrom<Bkin> for PB12<MODE>
where MODE: PinMode, Alternate<1, PushPull>: PinMode,

§

type Error = ()

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

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

impl<MODE> TryFrom<Ws> for PB12<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.
source§

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

Performs the conversion.