Type Alias PA0

Source
pub type PA0<MODE = DefaultMode> = Pin<'A', 0, MODE>;
Expand description

PA0 pin

Aliased Type§

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

Trait Implementations§

Source§

impl Channel<ADC1> for PA0<Analog>

Source§

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 PA0<Analog>

Source§

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<ADC3> for PA0<Analog>

Source§

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 PA0<MODE>
where MODE: PinMode, Alternate<1, Otype>: PinMode,

Source§

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<Ch1<Otype>> for PA0<MODE>
where MODE: PinMode, Alternate<2, Otype>: PinMode,

Source§

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> TryFrom<Crs> for PA0<MODE>
where MODE: PinMode, Alternate<11, PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Cts> for PA0<MODE>
where MODE: PinMode, Alternate<7, PushPull>: PinMode,

Source§

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<Etr> for PA0<MODE>
where MODE: PinMode, Alternate<1, PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Etr> for PA0<MODE>
where MODE: PinMode, Alternate<3, PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.
Source§

impl<MODE, Otype> TryFrom<Tx<Otype>> for PA0<MODE>
where MODE: PinMode, Alternate<8, Otype>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.