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 workinQM_5thJan_azad by
Diff: main.cpp
- Revision:
- 28:5f0f2a3f3e8d
- Parent:
- 15:e09aaaccf134
- Child:
- 29:bb0d64656ba1
diff -r e09aaaccf134 -r 5f0f2a3f3e8d main.cpp --- a/main.cpp Tue Apr 19 21:27:07 2016 +0000 +++ b/main.cpp Mon Jun 13 10:37:50 2016 +0000 @@ -52,6 +52,7 @@ uint8_t EPS_INIT_STATUS = 0; uint8_t EPS_BATTERY_GAUGE_STATUS = 0; + //eps main uint8_t EPS_MAIN_STATUS = 0; uint8_t EPS_BATTERY_TEMP_STATUS = 0; @@ -59,6 +60,41 @@ uint8_t EPS_BATTERY_HEAT_ENABLE = 0; +//eps cdms fault +uint8_t CDMS_SW_STATUS; +bool CDMS_OC_FAULT; +bool CDMS_SW_ENABLE; +int CDMS_FAULT_COUNTER; + +//eps hw faults + +uint8_t ACS_TR_Z_SW_STATUS; +bool ACS_TR_Z_ENABLE; +bool ACS_TR_Z_OC_FAULT; +bool ACS_TR_Z_FAULT; //Driver IC fault +int ACS_TR_Z_FAULT_COUNTER; + +uint8_t ACS_TR_XY_SW_STATUS; +bool ACS_TR_XY_ENABLE; +bool ACS_TR_XY_OC_FAULT; +bool ACS_TR_XY_FAULT; //Driver IC fault +int ACS_TR_XY_FAULT_COUNTER; + +uint8_t ACS_ATS1_SW_STATUS; +bool ACS_ATS1_ENABLE; +bool ACS_ATS1_OC_FAULT; +int ACS_ATS1_FAULT_COUNTER; + +uint8_t ACS_ATS2_SW_STATUS; +bool ACS_ATS2_ENABLE; +bool ACS_ATS2_OC_FAULT; +int ACS_ATS2_FAULT_COUNTER; + +uint8_t BCN_TX_SW_STATUS; +bool BCN_TX_ENABLE; +bool BCN_TX_OC_FAULT; +int BCN_TX_FAULT_COUNTER; + //.......................global variables..................................................................// new hk structure- everything has to changed based on this uint8_t BAE_data[74]; char BAE_chardata[74];