[][src]Enum feather_m4::sercom::Sercom5Pad0

pub enum Sercom5Pad0 {
    Pa23(Pa23<PfD>),
    Pb2(Pb2<PfD>),
    Pb31(Pb31<PfD>),
    Pb16(Pb16<PfC>),
}

Represents a numbered pad for the associated sercom instance

Variants

Pa23(Pa23<PfD>)Pb2(Pb2<PfD>)Pb31(Pb31<PfD>)Pb16(Pb16<PfC>)

Methods

impl Sercom5Pad0[src]

pub fn pa23<MODE>(pin: Pa23<MODE>, port: &mut Port) -> Sercom5Pad0[src]

Construct pad from the appropriate pin in any mode. You may find it more convenient to use the into_pad trait and avoid referencing the pad type.

pub fn pb2<MODE>(pin: Pb2<MODE>, port: &mut Port) -> Sercom5Pad0[src]

Construct pad from the appropriate pin in any mode. You may find it more convenient to use the into_pad trait and avoid referencing the pad type.

pub fn pb31<MODE>(pin: Pb31<MODE>, port: &mut Port) -> Sercom5Pad0[src]

Construct pad from the appropriate pin in any mode. You may find it more convenient to use the into_pad trait and avoid referencing the pad type.

pub fn pb16<MODE>(pin: Pb16<MODE>, port: &mut Port) -> Sercom5Pad0[src]

Construct pad from the appropriate pin in any mode. You may find it more convenient to use the into_pad trait and avoid referencing the pad type.

Trait Implementations

impl<MODE> PadPin<Sercom5Pad0> for Pb2<MODE>[src]

impl<MODE> PadPin<Sercom5Pad0> for Pb31<MODE>[src]

impl<MODE> PadPin<Sercom5Pad0> for Pa23<MODE>[src]

impl<MODE> PadPin<Sercom5Pad0> for Pb16<MODE>[src]

Auto Trait Implementations

impl Send for Sercom5Pad0

impl Sync for Sercom5Pad0

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self