[][src]Struct trellis_m4::sercom::Sercom5Pad2

pub struct Sercom5Pad2<PIN>(_);

Represents a numbered pad for the associated sercom instance. The pad is generic over any pin, only the PadPin implementations in this the sercom module make sense.

Methods

impl<PIN> Sercom5Pad2<PIN>[src]

pub fn new(pin: PIN) -> Sercom5Pad2<PIN>[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<Sercom5Pad2<Pa24<PfD>>> for Pa24<MODE>[src]

impl<MODE> PadPin<Sercom5Pad2<Pb22<PfD>>> for Pb22<MODE>[src]

impl<MODE> PadPin<Sercom5Pad2<Pa20<PfC>>> for Pa20<MODE>[src]

impl<MODE> PadPin<Sercom5Pad2<Pb0<PfD>>> for Pb0<MODE>[src]

Auto Trait Implementations

impl<PIN> Unpin for Sercom5Pad2<PIN> where
    PIN: Unpin

impl<PIN> Sync for Sercom5Pad2<PIN> where
    PIN: Sync

impl<PIN> Send for Sercom5Pad2<PIN> where
    PIN: Send

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> 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<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self