STC3115_I2C.h Software Source Code

STC3115



Below is the STC3115_I2C.h software source code.

The STC3115 is a fuel gauge IC for lithium ion batteries made by STMicroelectronics.

The STC3115_I2C.h source code contains slave addresses needed for a microcontroller and the STC3115 to be able to communicate with each other via the I2C bus protocol to read or write data.

The code also contains two functions, I2C_Write() and I2C_Read(), which allows the microcontroller to read or write to the STC3115 IC using the I2C bus protocol.

All values in this source code corresponds to values that can be found on the datasheet for the STC3115, which can be found here: STC3115 Gas Gauge IC

This source code is designed for guidance only.







Related Resources



HTML Comment Box is loading comments...