Type Alias stm32f4xx_hal::gpio::PA7

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

PA7 pin

Aliased Type§

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

Trait Implementations§

source§

impl Channel<ADC1> for PA7<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 PA7<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<MODE, Otype> TryFrom<Ch1<Otype>> for PA7<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: Ch1<Otype>) -> Result<Self, Self::Error>

Performs the conversion.
source§

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

Performs the conversion.
source§

impl<MODE, Otype> TryFrom<Ch1N<Otype>> for PA7<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, Otype> TryFrom<Ch2<Otype>> for PA7<MODE>
where MODE: PinMode, Alternate<2, 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> TryFrom<CrsDv> for PA7<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: CrsDv) -> Result<Self, Self::Error>

Performs the conversion.
source§

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

Performs the conversion.