CDMS code for testing sbc

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE by shubham c

Revision:
224:3ac1f91e0ebc
Parent:
209:63e9c8f8b5d2
Child:
227:05e929bdd4dc
Child:
228:335da5b0d3e4
--- a/DefinitionsAndGlobals.h	Sat Jul 02 15:28:21 2016 +0000
+++ b/DefinitionsAndGlobals.h	Mon Jul 04 14:31:30 2016 +0000
@@ -145,6 +145,15 @@
 //RF RELAY
     #define RF_RELAY_CNTRL_TX PTA7
     #define RF_RELAY_CNTRL_BCN PTA12 
+    
+//CDMS HK
+#define COMRX_ALIVE 0x01
+#define COMRX_DEAD 0x00
+#define DEVICE_ENABLED 0x00
+#define DEVICE_POWERED 0x01
+#define DEVICE_OC_FAULT 0x02
+#define DEVICE_DISABLED 0x03
+
 
     
 // ****************GLOBAL VARIABLES******************
@@ -251,10 +260,10 @@
 DigitalIn PL_GPIO_1_STATUS (PIN71);
 DigitalIn PL_GPIO_2_STATUS (PIN81);
 DigitalIn PL_GPIO_3_STATUS (PIN80);
-DigitalIn PL_BEE_SW_OC_FAULT (PIN4);
-DigitalIn PL_EPS_LATCH_SW_OC_FAULT ();
-DigitalIn V_C_EN_STATUS ();
-DigitalIn V_D_EN_STATUS ();
+DigitalIn PL_BEE_SW_OC_FAULT (PIN91);
+DigitalIn PL_EPS_LATCH_SW_OC_FAULT (PIN5);
+DigitalIn V_C_EN_STATUS (PIN72);
+DigitalIn V_D_EN_STATUS (PIN56);
 
 
 DigitalIn SD_OC_FAULT (PIN90);