[][src]Trait trellis_m4::pad::PadPin

pub trait PadPin<T>: Sealed {
    pub fn into_pad(self, port: &mut Port) -> T;
}

The PadPin trait makes it more ergonomic to convert a pin into a Sercom pad. You should not implement this trait for yourself; only the implementations in the sercom module make sense.

Required methods

pub fn into_pad(self, port: &mut Port) -> T[src]

Loading content...

Implementors

impl<S, P, I, M> PadPin<Pad<S, P, Pin<<I as Map<S, P>>::Id, <I as Map<S, P>>::Mode>>> for Pin<I, M> where
    P: PadNum,
    M: PinMode,
    I: PinId + Map<S, P>,
    S: Sercom,
    Pin<I, M>: IntoFunction<Pin<<I as Map<S, P>>::Id, <I as Map<S, P>>::Mode>>,
    Pin<<I as Map<S, P>>::Id, <I as Map<S, P>>::Mode>: Map<S, P>,
    <Pin<<I as Map<S, P>>::Id, <I as Map<S, P>>::Mode> as Map<S, P>>::Id == <I as Map<S, P>>::Id,
    <Pin<<I as Map<S, P>>::Id, <I as Map<S, P>>::Mode> as Map<S, P>>::Mode == <I as Map<S, P>>::Mode
[src]

Loading content...