pub struct Pca9702<M>(/* private fields */);Expand description
An 8-bit input-only expander with SPI, based on the PCA9702.
Implementations§
Source§impl<B, M> Pca9702<M>
impl<B, M> Pca9702<M>
Sourcepub fn with_mutex(bus: B) -> Self
pub fn with_mutex(bus: B) -> Self
Create a PCA9702 driver with a user-supplied mutex type.
Auto Trait Implementations§
impl<M> Freeze for Pca9702<M>where
M: Freeze,
impl<M> RefUnwindSafe for Pca9702<M>where
M: RefUnwindSafe,
impl<M> Send for Pca9702<M>where
M: Send,
impl<M> Sync for Pca9702<M>where
M: Sync,
impl<M> Unpin for Pca9702<M>where
M: Unpin,
impl<M> UnwindSafe for Pca9702<M>where
M: UnwindSafe,
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