pub struct I2cDdc<I> { /* private fields */ }
Expand description
A handle to provide DDC/CI operations on an I2C device.
Implementations§
Source§impl<I> I2cDdc<I>
impl<I> I2cDdc<I>
Sourcepub fn into_inner(self) -> I
pub fn into_inner(self) -> I
Consume the handle to return the inner device.
Trait Implementations§
Source§impl<I: Address + ReadWrite> DdcCommandRawMarker for I2cDdc<I>
impl<I: Address + ReadWrite> DdcCommandRawMarker for I2cDdc<I>
Source§fn set_sleep_delay(&mut self, delay: Delay)
fn set_sleep_delay(&mut self, delay: Delay)
Sets an internal
Delay
that must expire before the next command is
attempted.Source§impl<I: Address + BlockTransfer + BulkTransfer> Eddc for I2cDdc<I>
impl<I: Address + BlockTransfer + BulkTransfer> Eddc for I2cDdc<I>
impl<I: Address + ReadWrite> DdcCommandMarker for I2cDdc<I>
Auto Trait Implementations§
impl<I> Freeze for I2cDdc<I>where
I: Freeze,
impl<I> RefUnwindSafe for I2cDdc<I>where
I: RefUnwindSafe,
impl<I> Send for I2cDdc<I>where
I: Send,
impl<I> Sync for I2cDdc<I>where
I: Sync,
impl<I> Unpin for I2cDdc<I>where
I: Unpin,
impl<I> UnwindSafe for I2cDdc<I>where
I: 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