pub struct I2cConfig {
pub bus_speed: BusSpeed,
pub own_address: u32,
}Expand description
Configuration for the I2C driver.
Fields§
§bus_speed: BusSpeed§own_address: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for I2cConfig
impl RefUnwindSafe for I2cConfig
impl Send for I2cConfig
impl Sync for I2cConfig
impl Unpin for I2cConfig
impl UnwindSafe for I2cConfig
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