I2C BAE standalone hardware testing
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of ACS_Flowchart_BAE_1 by
Diff: EPS.h
- Revision:
- 1:446a959e36ce
- Parent:
- 0:7b4c00e3912f
- Child:
- 2:c823d84b4cb0
diff -r 7b4c00e3912f -r 446a959e36ce EPS.h --- a/EPS.h Thu Dec 24 19:15:43 2015 +0000 +++ b/EPS.h Thu Dec 24 20:01:31 2015 +0000 @@ -34,6 +34,7 @@ #define VBATT PIN20 #define BATT_HEAT PIN96 //#define BATT_HEAT_OUTPUT +void FCTN_EPS_INIT(); void FCTN_EPS_POWERMODE(float soc) ; @@ -43,6 +44,8 @@ void FCTN_BATTERYGAUGE_INIT(); void FCTN_BATTERYGAUGE_MAIN(float*Battery_parameters); +// 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); void reset(); //not used