pub struct Pads<S, SDA, SCL>where
S: Sercom,
SDA: IsI2cPad<PadNum = Pad0, Sercom = S>,
SCL: IsI2cPad<PadNum = Pad1, Sercom = S>,
(SDA, SCL): ShareIoSet,{ /* private fields */ }
Expand description
Container for a set of SERCOM Pad
s
See the module-level documentation for more
details on specifying a Pads
type and creating instances.
Implementations§
Source§impl<S, DI, CI> Pads<S, Pin<DI, <DI as GetPad<S>>::PinMode>, Pin<CI, <CI as GetPad<S>>::PinMode>>
impl<S, DI, CI> Pads<S, Pin<DI, <DI as GetPad<S>>::PinMode>, Pin<CI, <CI as GetPad<S>>::PinMode>>
Source§impl<S, SDA, SCL> Pads<S, SDA, SCL>where
S: Sercom,
SDA: IsI2cPad<PadNum = Pad0, Sercom = S>,
SCL: IsI2cPad<PadNum = Pad1, Sercom = S>,
(SDA, SCL): ShareIoSet,
impl<S, SDA, SCL> Pads<S, SDA, SCL>where
S: Sercom,
SDA: IsI2cPad<PadNum = Pad0, Sercom = S>,
SCL: IsI2cPad<PadNum = Pad1, Sercom = S>,
(SDA, SCL): ShareIoSet,
Sourcepub fn free(self) -> (SDA, SCL)
pub fn free(self) -> (SDA, SCL)
Trait Implementations§
Auto Trait Implementations§
impl<S, SDA, SCL> Freeze for Pads<S, SDA, SCL>
impl<S, SDA, SCL> RefUnwindSafe for Pads<S, SDA, SCL>
impl<S, SDA, SCL> Send for Pads<S, SDA, SCL>
impl<S, SDA, SCL> Sync for Pads<S, SDA, SCL>
impl<S, SDA, SCL> Unpin for Pads<S, SDA, SCL>
impl<S, SDA, SCL> UnwindSafe for Pads<S, SDA, SCL>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more