pub struct I2c<I2C, SCLPIN, SDAPIN> { /* private fields */ }
Expand description
I2C abstraction
Implementations§
Source§impl<I2C, SCLPIN, SDAPIN> I2c<I2C, SCLPIN, SDAPIN>where
I2C: Deref<Target = RegisterBlock>,
impl<I2C, SCLPIN, SDAPIN> I2c<I2C, SCLPIN, SDAPIN>where
I2C: Deref<Target = RegisterBlock>,
pub fn release(self) -> (I2C, (SCLPIN, SDAPIN))
Trait Implementations§
Source§impl<I2C, SCLPIN, SDAPIN> Read for I2c<I2C, SCLPIN, SDAPIN>where
I2C: Deref<Target = RegisterBlock>,
impl<I2C, SCLPIN, SDAPIN> Read for I2c<I2C, SCLPIN, SDAPIN>where
I2C: Deref<Target = RegisterBlock>,
Source§impl<I2C, SCLPIN, SDAPIN> Write for I2c<I2C, SCLPIN, SDAPIN>where
I2C: Deref<Target = RegisterBlock>,
impl<I2C, SCLPIN, SDAPIN> Write for I2c<I2C, SCLPIN, SDAPIN>where
I2C: Deref<Target = RegisterBlock>,
Auto Trait Implementations§
impl<I2C, SCLPIN, SDAPIN> Freeze for I2c<I2C, SCLPIN, SDAPIN>
impl<I2C, SCLPIN, SDAPIN> RefUnwindSafe for I2c<I2C, SCLPIN, SDAPIN>
impl<I2C, SCLPIN, SDAPIN> Send for I2c<I2C, SCLPIN, SDAPIN>
impl<I2C, SCLPIN, SDAPIN> Sync for I2c<I2C, SCLPIN, SDAPIN>
impl<I2C, SCLPIN, SDAPIN> Unpin for I2c<I2C, SCLPIN, SDAPIN>
impl<I2C, SCLPIN, SDAPIN> UnwindSafe for I2c<I2C, SCLPIN, SDAPIN>
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