view src/cs/drivers/drv_app/fchg/fchg_common.h @ 396:525d9f565947
l1_rf10.c: initial import from MV100 source
author
Mychaela Falconia <falcon@freecalypso.org>
date
Thu, 18 Jan 2018 01:32:29 +0000 (2018-01-18)
parents
ce6d71349af0
children
line source
+ − /*
+ − * The definitions in this header file are used both in the external API
+ − * and in the internal structures.
+ − */
+ −
+ − #ifndef __FCHG_COMMON_H
+ − #define __FCHG_COMMON_H
+ −
+ − enum fchg_state {
+ − FCHG_STATE_NO_EXT_PWR = 0,
+ − FCHG_STATE_PWR_PLUG_TIMER,
+ − FCHG_STATE_READY_TO_CHARGE,
+ − FCHG_STATE_READY_TO_RECHARGE,
+ − FCHG_STATE_I2V_CAL_1,
+ − FCHG_STATE_I2V_CAL_2,
+ − FCHG_STATE_CI_CHARGING,
+ − FCHG_STATE_CV_CHARGING,
+ − FCHG_STATE_RECHARGE_TIMER,
+ − FCHG_STATE_NO_CHARGING
+ − };
+ −
+ − /* from original PWR SWE */
+ − typedef UINT8 T_PWR_PERCENT;
+ −
+ − #endif /* include guard */