pub struct Pad<S, N, P> where
P: IsPad<Sercom = S, PadNum = N>,
N: PadNum,
S: Sercom, { /* fields omitted */ }
Expand description
A GPIO Pin
configured to act as a SERCOM Pad
This type is just a wrapper around a correctly-configured Pin
. The
SercomXPadY
types of the original, v1
API are recreated as type aliases
of the form
type SercomXPadY<Z> = Pad<SercomX, PadY, Z>
Consume the Pad
and recover the corresponding Pin
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.