pamoja for TypeScript - v0.2.0
    Preparing search index...

    Class Ina226

    A Texas Instruments INA226 driven over an I2C bus, measuring shunt and bus voltage, current, and power on demand.

    Index
    • get calibrationWord(): number

      The calibration word the driver programs.

      Returns number

    • get currentLsbMicroamps(): number

      The current step the driver programs, in microamps per count.

      Returns number

    • Resets the part, checks it is an INA226, writes the configuration and the calibration, and reads the calibration back. Rejects when nothing answers or another part does.

      Returns Promise<void>

    • Programs the alert pin: which limit it watches, one function at a time, and the limit, in the units of the register the function watches.

      Parameters

      Returns Promise<void>