FOSSASAT-1B
INA226 Configuration
Collaboration diagram for INA226 Configuration:

Macros

#define INA_ADDR   0x40
 
#define INA_RSHUNT   0.1
 
#define INA_MAX_CURRENT   0.5
 
#define INA_REG_MANUFACTURER_ID   0xFE
 
#define INA_MANUFACTURER_ID   0x5449
 

Detailed Description

Test:
(ID CONF_INA226_CONF_T0) (SEV 1) Check that the INA226 can be connected to and gives the correct values.

Macro Definition Documentation

◆ INA_ADDR

#define INA_ADDR   0x40

The I2C address of the INA226 module.

Definition at line 114 of file configuration.h.

◆ INA_MANUFACTURER_ID

#define INA_MANUFACTURER_ID   0x5449

INA Manufacturer Identification Number (21577).

Definition at line 118 of file configuration.h.

◆ INA_MAX_CURRENT

#define INA_MAX_CURRENT   0.5

Maximum Current allowed (A).

Definition at line 116 of file configuration.h.

◆ INA_REG_MANUFACTURER_ID

#define INA_REG_MANUFACTURER_ID   0xFE

INA Reg Manufacturer Identification Number (254).

Definition at line 117 of file configuration.h.

◆ INA_RSHUNT

#define INA_RSHUNT   0.1

Shunt resistor value (Ohm).

Definition at line 115 of file configuration.h.