comparison src/cs/drivers/drv_app/fchg/fchg_common.h @ 322:c4077830aeeb

FCHG implementation code started
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 04 Dec 2017 05:55:58 +0000
parents
children ce6d71349af0
comparison
equal deleted inserted replaced
321:5dea7e937c37 322:c4077830aeeb
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_NO_CHARGING
19 };
20
21 /* from original PWR SWE */
22 typedef UINT8 T_PWR_PERCENT;
23
24 #endif /* include guard */