FreeCalypso > hg > ffs-editor
comparison src/cs/drivers/drv_app/fchg/fchg_common.h @ 0:92470e5d0b9e
src: partial import from FC Selenite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 15 May 2020 01:28:16 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:92470e5d0b9e |
---|---|
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 */ |