Type Alias stm32f4xx_hal::gpio::gpiok::PK2

source ·
pub type PK2<MODE = DefaultMode> = Pin<'K', 2, MODE>;
Expand description

PK2 pin

Aliased Type§

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

Trait Implementations§

source§

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

Performs the conversion.