[−][src]Struct sodaq_one::sercom::Sercom1Pad0
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> Sercom1Pad0<PIN>
[src]
pub fn new(pin: PIN) -> Sercom1Pad0<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<Sercom1Pad0<Pa0<PfD>>> for Pa0<MODE>
[src]
impl<MODE> PadPin<Sercom1Pad0<Pa16<PfC>>> for Pa16<MODE>
[src]
Auto Trait Implementations
impl<PIN> Unpin for Sercom1Pad0<PIN> where
PIN: Unpin,
PIN: Unpin,
impl<PIN> Sync for Sercom1Pad0<PIN> where
PIN: Sync,
PIN: Sync,
impl<PIN> Send for Sercom1Pad0<PIN> where
PIN: Send,
PIN: Send,
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self