comparison src/cs/drivers/drv_app/fchg/fchg_common.h @ 0:4e78acac3d88

src/{condat,cs,gpf,nucleus}: import from Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:23:26 +0000
parents
children 75067af48bfd
comparison
equal deleted inserted replaced
-1:000000000000 0:4e78acac3d88
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 */