Type Alias stm32f4xx_hal::gpio::gpioa::PA4

source ·
pub type PA4<MODE = DefaultMode> = Pin<'A', 4, MODE>;
Expand description

PA4 pin

Aliased Type§

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

Trait Implementations§

source§

impl Channel<ADC1> for PA4<Analog>

§

type ID = u8

Channel ID type Read more
source§

fn channel() -> u8

Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8.
source§

impl Channel<ADC2> for PA4<Analog>

§

type ID = u8

Channel ID type Read more
source§

fn channel() -> u8

Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8.
source§

impl Pins<DAC> for PA4<Analog>

§

type Output = C1

source§

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

Performs the conversion.
source§

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

Performs the conversion.
source§

impl<MODE> TryFrom<Nss> for PA4<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<Sof> for PA4<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: Sof) -> Result<Self, Self::Error>

Performs the conversion.
source§

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

Performs the conversion.
source§

impl<MODE> TryFrom<Ws> for PA4<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.