pub struct I2c<I2C, SCL, SDA> { /* private fields */ }
Expand description
I2C peripheral operating in master mode
Implementations§
Source§impl<SCL, SDA> I2c<I2C1, SCL, SDA>
impl<SCL, SDA> I2c<I2C1, SCL, SDA>
Sourcepub fn free(self) -> (I2C1, (SCL, SDA))
pub fn free(self) -> (I2C1, (SCL, SDA))
Releases the I2C peripheral and associated pins
Auto Trait Implementations§
impl<I2C, SCL, SDA> Freeze for I2c<I2C, SCL, SDA>
impl<I2C, SCL, SDA> RefUnwindSafe for I2c<I2C, SCL, SDA>
impl<I2C, SCL, SDA> Send for I2c<I2C, SCL, SDA>
impl<I2C, SCL, SDA> Sync for I2c<I2C, SCL, SDA>
impl<I2C, SCL, SDA> Unpin for I2c<I2C, SCL, SDA>
impl<I2C, SCL, SDA> UnwindSafe for I2c<I2C, SCL, SDA>
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