[][src]Struct trellis_m4::sercom::Sercom1Pad2

pub struct Sercom1Pad2<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> Sercom1Pad2<PIN>[src]

pub fn new(pin: PIN) -> Sercom1Pad2<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<Sercom1Pad2<Pb22<PfC>>> for Pb22<MODE>[src]

impl<MODE> PadPin<Sercom1Pad2<Pa30<PfD>>> for Pa30<MODE>[src]

impl<MODE> PadPin<Sercom1Pad2<Pa18<PfC>>> for Pa18<MODE>[src]

Auto Trait Implementations

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

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

impl<PIN> Send for Sercom1Pad2<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