pub struct Max6642<I2C> { /* private fields */ }
Expand description
The temperature sensor driver.
Implementations§
Source§impl<I2C> Max6642<I2C>
impl<I2C> Max6642<I2C>
Sourcepub fn att94(i2c: I2C) -> Self
pub fn att94(i2c: I2C) -> Self
Construct a new driver for the MAX6642-ATT94 variant.
§Args
i2c
- The I2C driver to use to communicate with the device.
Auto Trait Implementations§
impl<I2C> Freeze for Max6642<I2C>where
I2C: Freeze,
impl<I2C> RefUnwindSafe for Max6642<I2C>where
I2C: RefUnwindSafe,
impl<I2C> Send for Max6642<I2C>where
I2C: Send,
impl<I2C> Sync for Max6642<I2C>where
I2C: Sync,
impl<I2C> Unpin for Max6642<I2C>where
I2C: Unpin,
impl<I2C> UnwindSafe for Max6642<I2C>where
I2C: UnwindSafe,
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