FreeCalypso > hg > fc-tourmaline
comparison src/cs/drivers/drv_app/fchg/fchg_common.h @ 61:75067af48bfd
FCHG updates for Tourmaline UI integration
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 22 Oct 2020 22:30:49 +0000 |
parents | 4e78acac3d88 |
children |
comparison
equal
deleted
inserted
replaced
60:48f280c19e16 | 61:75067af48bfd |
---|---|
20 }; | 20 }; |
21 | 21 |
22 /* from original PWR SWE */ | 22 /* from original PWR SWE */ |
23 typedef UINT8 T_PWR_PERCENT; | 23 typedef UINT8 T_PWR_PERCENT; |
24 | 24 |
25 enum fchg_event { | |
26 FCHG_EVENT_DISCHARGE, | |
27 FCHG_EVENT_CHARGER_PLUG, | |
28 FCHG_EVENT_CHARGER_UNPLUG, | |
29 FCHG_EVENT_CHARGING_START, | |
30 FCHG_EVENT_CHARGING_COMPLETE, | |
31 FCHG_EVENT_CHARGING_STOPPED, | |
32 FCHG_EVENT_CHARGING_TIMEOUT | |
33 }; | |
34 | |
35 typedef void (*T_FCHG_EVENT_HANDLER)(enum fchg_event); | |
36 | |
25 #endif /* include guard */ | 37 #endif /* include guard */ |