pub struct Max17044<I2C> { /* private fields */ }
Expand description
Device driver
Implementations§
source§impl<I2C, E> Max17044<I2C>where
I2C: I2c<Error = E>,
impl<I2C, E> Max17044<I2C>where
I2C: I2c<Error = E>,
sourcepub fn quickstart(&mut self) -> Result<(), Error<E>>
pub fn quickstart(&mut self) -> Result<(), Error<E>>
Quick start
Restarts fuel-gauge calculations in the same manner as initial power-up of the IC. This is useful if an application’s power-up sequence is exceedingly noisy
Trait Implementations§
Auto Trait Implementations§
impl<I2C> Freeze for Max17044<I2C>where
I2C: Freeze,
impl<I2C> RefUnwindSafe for Max17044<I2C>where
I2C: RefUnwindSafe,
impl<I2C> Send for Max17044<I2C>where
I2C: Send,
impl<I2C> Sync for Max17044<I2C>where
I2C: Sync,
impl<I2C> Unpin for Max17044<I2C>where
I2C: Unpin,
impl<I2C> UnwindSafe for Max17044<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