SBOA539 January 2023 INA219 , INA232
There are six registers, from 00h to 05h, that are named and numbered identically for INA219 and INA232. These registers enable data acquisition and storage. Customize configuration register (00h) to set ADC measurement mode, range, and averaging. Program calibration register (05h) with the calibration value determined by the shunt resistor and current LSB. Only after this register is programmed, is valid data stored in the Power and Current registers (03h and 04h, respectively).
INA232 comes with four additional registers. The Mask/Enable register (06h) and Alert Limit register (07h) are to facilitate the function of the ALERT pin. Aside from selecting which comparator (shunt over-limit, shunt under-limit, bus over-limit, and so forth.) the ALERT pin responds to, the Mask/Enable register provides additional functionality such as setting the ALERT pin polarity and latch mode, as well as setting a few runtime flags which can be convenient if such information is needed.
Registers 3Eh and 3Fh in INA232 return a unique Manufacturing ID and Device ID respectively.