[][src]Enum arduino_mkrzero::sercom::Sercom5Pad0

pub enum Sercom5Pad0 {
    Pa22(Pa22<PfD>),
    Pb2(Pb2<PfD>),
    Pb16(Pb16<PfC>),
    Pb30(Pb30<PfD>),
}

Represents a numbered pad for the associated sercom instance

Variants

Pa22(Pa22<PfD>)Pb2(Pb2<PfD>)Pb16(Pb16<PfC>)Pb30(Pb30<PfD>)

Methods

impl Sercom5Pad0[src]

pub fn pa22<MODE>(pin: Pa22<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 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.

pub fn pb30<MODE>(pin: Pb30<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 Pb30<MODE>[src]

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

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

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

Auto Trait Implementations

impl Send for Sercom5Pad0

impl Sync for Sercom5Pad0

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]