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:
- 22:607f6917832a
- Parent:
- 21:441840cc7423
- Child:
- 23:2ec07d0239be
diff -r 441840cc7423 -r 607f6917832a max17055.h --- a/max17055.h Tue Oct 23 22:50:58 2018 +0000 +++ b/max17055.h Tue Oct 23 23:07:56 2018 +0000 @@ -65,7 +65,7 @@ * <a href="https://www.maximintegrated.com/MAX32620FTHR.html">MAX32620FTHR Product Page</a>\n * <a href="https://www.maximintegrated.com/MAX32620FTHR.pdf">MAX32620FTHR Data Sheet</a>\n * - * Battery Recommnedations based on sense Resistor Values (MAX32620FTHR comes with a 5 mOhm rsense resistor)\n + * Battery Recommendations based on sense Resistor Values (MAX32620FTHR comes with a 5 mOhm rsense resistor)\n * * | BATTERY FULL CAPACITY(mAh) | Sense Resistor | Current Register Resolution(uA) | Current Register Range(A) | Capacity Resolution(mAh) |\n * |----------------------------|----------------|---------------------------------|---------------------------|--------------------------|\n @@ -116,10 +116,10 @@ * int main(void) * { * rled = true; - * //These are the calculated paramters for rsense 5mOhm foun in the MAX32620FTHR and a 350mAh Li+ Cell. - * design_param.designcap = 0x015E; //Design Battery Capacity mAh thic can change depending on the batteries implemented see battery data sheet for details. + * //These are the calculated parameters for rsense 5mOhm found in the MAX32620FTHR and a 350mAh Li+ Cell. + * design_param.designcap = 0x015E; //Design Battery Capacity mAh this can change depending on the batteries implemented see battery data sheet for details. * design_param.ichgterm = 0x0070; // Charge Termination Current for the Battery This is specified by the manufacturer. - * design_param.vempty = 0x9600; // Battery Empty Voltage This is sepecified by design, but manufacturer has a min Empy voltage specification. + * design_param.vempty = 0x9600; // Battery Empty Voltage This is specified by design, but manufacturer has a min Empty voltage specification. * design_param.vcharge = 4200; // Battery Charge Voltage can be obtained from MAX77650 configuration * design_param.rsense = 5; //5mOhms for MAX32620, keep in mind the MAX17055EVKIT has a 10mOhm resistor. This is a design specific value. Used for calculation results. * @@ -133,7 +133,7 @@ * fuelGauge.save_Params(saved_param); * * while (1) { - * //This code is an example to ilustrate the performance or the Fuel Gauge. This can change with the design requirements. Use this as a way to troubleshoot the FuelGauge. + * //This code is an example to illustrate the performance or the Fuel Gauge. This can change with the design requirements. Use this as a way to troubleshoot the FuelGauge. * rled = !rled; * * max17055_u.battery.avg_vcell_FG = fuelGauge.get_avgVcell();