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:
- 3:f77a8345b0e3
- Parent:
- 2:ff7db397b70f
- Child:
- 4:a4d6ae2182c2
--- a/max17055.h Sun Sep 24 19:32:14 2017 +0000 +++ b/max17055.h Tue Sep 26 00:15:04 2017 +0000 @@ -269,6 +269,9 @@ int write_and_verify_reg(Registers_e reg_addr, uint16_t reg_data); + + /////////////////////////////////////////////////////////////////////////// + /** * \brief Initialise Function for MAX17055 * \par Details @@ -281,9 +284,10 @@ int init(); - //////////////////////////////////////////////////////////////////////////////// + + //////////////////////////////////////////////////////////////////////////// -/** + /** * \brief Get Internal Temperature Function for MAX17055 * \par Details * This function sends a request to access the internal @@ -297,6 +301,22 @@ int get_temperature(int *temp); + + + //////////////////////////////////////////////////////////////////////////////// + + /** + * \brief Forced Exit Hibernate Mode Function for MAX17055 + * \par Details + * This function executes a force exit from hibernate mode. + * + * \retval returns HibCFG original value before forced Exit Hybernate mode + * + */ + + + uint16_t forcedExitHyberMode(); + protected: