[][src]Struct trellis_m4::sercom::Sercom5Pad0

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

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

impl<MODE> PadPin<Sercom5Pad0<Pb31<PfD>>> for Pb31<MODE>[src]

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

impl<MODE> PadPin<Sercom5Pad0<Pa23<PfD>>> for Pa23<MODE>[src]

Auto Trait Implementations

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

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

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