[][src]Enum samd21_mini::sercom::Sercom5Pad1

pub enum Sercom5Pad1 {
    Pa23(Pa23<PfD>),
    Pb3(Pb3<PfD>),
    Pb17(Pb17<PfC>),
    Pb31(Pb31<PfD>),
}

Represents a numbered pad for the associated sercom instance

Variants

Pa23(Pa23<PfD>)Pb3(Pb3<PfD>)Pb17(Pb17<PfC>)Pb31(Pb31<PfD>)

Methods

impl Sercom5Pad1[src]

pub fn pa23<MODE>(pin: Pa23<MODE>, port: &mut Port) -> Sercom5Pad1[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 pb3<MODE>(pin: Pb3<MODE>, port: &mut Port) -> Sercom5Pad1[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 pb17<MODE>(pin: Pb17<MODE>, port: &mut Port) -> Sercom5Pad1[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) -> Sercom5Pad1[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<Sercom5Pad1> for Pa23<MODE>[src]

impl<MODE> PadPin<Sercom5Pad1> for Pb17<MODE>[src]

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

impl<MODE> PadPin<Sercom5Pad1> for Pb3<MODE>[src]

Auto Trait Implementations

impl Send for Sercom5Pad1

impl Sync for Sercom5Pad1

Blanket Implementations

impl<T> From for T[src]

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> 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, U> Into for T where
    U: From<T>, 
[src]

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]