This is a library for the MAX17055 Li+ Battery Fuel Gauge.
Dependents: Low_Power_Long_Distance_IR_Vision_Robot MAX17055_EZconfig MAX17055_EZconfig_Sample Low_Power_Long_Distance_IR_Vision_Robot
Fork of max17055 by
Diff: max17055.h
- Revision:
- 6:5ced10109ebf
- Parent:
- 5:a18a189588dc
- Child:
- 7:479a36909ced
diff -r a18a189588dc -r 5ced10109ebf max17055.h --- a/max17055.h Mon Oct 02 21:59:00 2017 +0000 +++ b/max17055.h Thu Oct 05 02:37:59 2017 +0000 @@ -205,11 +205,15 @@ static const uint8_t I2C_W_ADRS = 0x6C; ///8-bit read address static const uint8_t I2C_R_ADRS = 0x6D; + + /////Max # Bytes in FIFO // static const uint16_t MAX_FIFO_BYTES = 288; // ///# of bytes per LED channel // static const uint8_t BYTES_PER_CH = 3; + + //Defined instance for external structs struct BATTERY::battery_cfg_t batt_con; struct max17055_platform_data design_data; struct saved_fuel_gauge_params_t fuelGauge_params; @@ -346,7 +350,7 @@ */ - int init(struct max17055_platform_data *pri); + int init(max17055_platform_data des_data); ////////////////////////////////////////////////////////////////////////////