Merged in antmerlino/nuttx/ina3221-addr-macro (pull request #894)

ina3221: Adds INA3221_I2C_ADDRx macro helpers.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
Anthony Merlino 2019-06-13 01:25:59 +00:00 committed by Gregory Nutt
parent 611eb12074
commit eab1b11d7d

View file

@ -49,6 +49,11 @@
* Pre-processor Definitions
****************************************************************************/
#define INA3221_I2C_ADDR0 0x40
#define INA3221_I2C_ADDR1 0x41
#define INA3221_I2C_ADDR2 0x42
#define INA3221_I2C_ADDR3 0x43
/* INA3221 Register Definitions ***********************************************/
/* INA3221 Config Register bits */