pub struct I2c<I2C, PINS> { /* fields omitted */ }
Expand description
I2C peripheral operating in master mode
Creates a generic I2C0 object on pins PB6 and PB7 or PB8 and PB9 (if remapped)
Creates a generic I2C1 object on pins PB10 and PB11 using the embedded-hal BlockingI2c
trait.
Releases the I2C peripheral and associated pins
Releases the I2C peripheral and associated pins
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.