pub struct NoSMBus;
Trait Implementations§
Source§impl<'a> I2CMaster<'a> for NoSMBus
impl<'a> I2CMaster<'a> for NoSMBus
fn set_master_client(&self, _master_client: &'a dyn I2CHwMasterClient)
fn enable(&self)
fn disable(&self)
fn write_read( &self, _addr: u8, data: &'static mut [u8], _write_len: usize, _read_len: usize, ) -> Result<(), (Error, &'static mut [u8])>
fn write( &self, _addr: u8, data: &'static mut [u8], _len: usize, ) -> Result<(), (Error, &'static mut [u8])>
fn read( &self, _addr: u8, buffer: &'static mut [u8], _len: usize, ) -> Result<(), (Error, &'static mut [u8])>
Source§impl SMBusMaster<'_> for NoSMBus
impl SMBusMaster<'_> for NoSMBus
Source§fn smbus_write_read(
&self,
_addr: u8,
data: &'static mut [u8],
_write_len: usize,
_read_len: usize,
) -> Result<(), (Error, &'static mut [u8])>
fn smbus_write_read( &self, _addr: u8, data: &'static mut [u8], _write_len: usize, _read_len: usize, ) -> Result<(), (Error, &'static mut [u8])>
Write data then read data via the I2C Master device in an SMBus
compatible way. Read more
Auto Trait Implementations§
impl Freeze for NoSMBus
impl RefUnwindSafe for NoSMBus
impl Send for NoSMBus
impl Sync for NoSMBus
impl Unpin for NoSMBus
impl UnwindSafe for NoSMBus
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