Struct ina260::INA260[][src]

pub struct INA260<I2C> { /* fields omitted */ }

Methods

impl<I2C, E> INA260<I2C> where
    I2C: WriteRead<Error = E> + Write<Error = E>, 
[src]

Add a new driver for a INA260 chip found on the I2C bus at the specified address

Put the INA260 chip managed by the driver in shut down and release I2C resource

Change the averaging mode of the INA260

Change the operating mode of the INA260. Please note that if you change to Triggered mode, you'll have to call this method again each time you would like to get a new sample.

Change the shut current conversion time

Change the bus voltage conversion time

Delivers the unique chip id

Delivers the die revision id

Delivers the measured raw current in 1.25mA per bit

Delivers the measured raw current in uA

Delivers the measured raw voltage in 1.25mV per bit

Delivers the measured raw voltage in uV

Delivers the measured raw power in 10mW per bit

Delivers the measured raw power in mW

Auto Trait Implementations

impl<I2C> Send for INA260<I2C> where
    I2C: Send

impl<I2C> Sync for INA260<I2C> where
    I2C: Sync