Go to the source code of this file.
Macros | |
#define | INA228_CONFIG_REG0 (0x00) |
#define | INA228_CONFIG_REG1 (0x01) |
#define | INA228_CURRENT_REG (0x7) |
#define | INA228_CALIB_REG (0x2) |
#define | INA228_SHUNT_TEMP_REG (0x3) |
#define | INA228_DIE_ID_REG (0x3f) |
#define | INA228_DIE_ID_REG_VALUE (552U) |
Functions | |
void | SensorConfig228 (I2C_Handle i2cHandle, uint8_t i2cTargetAddress, uint32_t config0Val, uint32_t config1Val, uint32_t shuntTempVal, uint32_t calibVal) |
Configure INA228 sensor. More... | |
float | currentRead228 (I2C_Handle i2cHandle, uint8_t i2cTargetAddress, uint32_t currentLsb) |
Read INA228 sensor Current value. More... | |