PA1

Type Alias PA1 

Source
pub type PA1<MODE = DefaultMode> = Pin<'A', 1, MODE>;
Expand description

PA1 pin

Aliased Type§

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

Trait Implementations§

Source§

impl Channel<Periph<RegisterBlock, 1073815552>> for PA1<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<Periph<RegisterBlock, 1073815808>> for PA1<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<Periph<RegisterBlock, 1073816064>> for PA1<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<Ch2<Otype>> for PA1<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: Ch2<Otype>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

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

Performs the conversion.
Source§

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

Performs the conversion.
Source§

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

Performs the conversion.
Source§

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

Performs the conversion.
Source§

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

Performs the conversion.
Source§

impl<MODE> TryFrom<Sd> for PA1<MODE>
where MODE: PinMode, Alternate<5, PushPull>: PinMode,

Source§

type Error = ()

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

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

Performs the conversion.