FreeCalypso > hg > fc-selenite
comparison src/cs/drivers/drv_app/fchg/fchg_common.h @ 0:b6a5e36de839
src/cs: initial import from Magnetite
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Sun, 15 Jul 2018 04:39:26 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:b6a5e36de839 |
|---|---|
| 1 /* | |
| 2 * The definitions in this header file are used both in the external API | |
| 3 * and in the internal structures. | |
| 4 */ | |
| 5 | |
| 6 #ifndef __FCHG_COMMON_H | |
| 7 #define __FCHG_COMMON_H | |
| 8 | |
| 9 enum fchg_state { | |
| 10 FCHG_STATE_NO_EXT_PWR = 0, | |
| 11 FCHG_STATE_PWR_PLUG_TIMER, | |
| 12 FCHG_STATE_READY_TO_CHARGE, | |
| 13 FCHG_STATE_READY_TO_RECHARGE, | |
| 14 FCHG_STATE_I2V_CAL_1, | |
| 15 FCHG_STATE_I2V_CAL_2, | |
| 16 FCHG_STATE_CI_CHARGING, | |
| 17 FCHG_STATE_CV_CHARGING, | |
| 18 FCHG_STATE_RECHARGE_TIMER, | |
| 19 FCHG_STATE_NO_CHARGING | |
| 20 }; | |
| 21 | |
| 22 /* from original PWR SWE */ | |
| 23 typedef UINT8 T_PWR_PERCENT; | |
| 24 | |
| 25 #endif /* include guard */ |
