Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of QM_BAE_review_1 by
Diff: EPS.h
- Revision:
- 33:76f2b8735501
- Parent:
- 20:949d13045431
- Child:
- 44:da258a0977a4
--- a/EPS.h Sat Jul 02 14:06:34 2016 +0000 +++ b/EPS.h Mon Jul 04 04:29:59 2016 +0000 @@ -49,6 +49,8 @@ //#define EPS_BAT_TEMP_DEFAULT 20 void FCTN_EPS_INIT(); +void FCTN_EPS_HANDLE_CDMS_FAULT(); +void FCTN_EPS_HANDLE_HW_FAULTS(); void FCTN_EPS_POWERMODE(float soc) ; @@ -61,12 +63,12 @@ void minMaxHkData(); void FCTN_BATTERYGAUGE_INIT(); -void FCTN_BATTERYGAUGE_MAIN(float*Battery_parameters); +int FCTN_BATTERYGAUGE_MAIN(float*Battery_parameters, float temp); // unsigned short read_soc(char , bool ); unsigned short read_soc(char,bool ack); unsigned short read(char reg); -void write(char reg, unsigned short data); +int write(char reg, unsigned short data); void reset(); //not used void quickStart(); //not used void disable_sleep();