comparison src/cs/drivers/drv_app/fchg/fchg_struct.h @ 331:8166b0afcf8c

FCHG: main ADC process implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 14 Dec 2017 16:22:30 +0000
parents c4077830aeeb
children 8a90038c0173
comparison
equal deleted inserted replaced
330:dd3c89e9ca2e 331:8166b0afcf8c
41 UINT16 nb_thresholds; 41 UINT16 nb_thresholds;
42 /* state */ 42 /* state */
43 enum fchg_state state; 43 enum fchg_state state;
44 UINT16 batt_mv; 44 UINT16 batt_mv;
45 T_PWR_PERCENT curr_percent; 45 T_PWR_PERCENT curr_percent;
46 /* valid only during a charging cycle */
47 UINT16 i2v_offset;
46 } T_PWR_CTRL_BLOCK; 48 } T_PWR_CTRL_BLOCK;
47 49
48 #endif /* include guard */ 50 #endif /* include guard */