aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/DataDef.h
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Embedded_SW/Embedded/DataDef.h')
-rw-r--r--Software/Embedded_SW/Embedded/DataDef.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/DataDef.h b/Software/Embedded_SW/Embedded/DataDef.h
index cf137a00a..4601e971b 100644
--- a/Software/Embedded_SW/Embedded/DataDef.h
+++ b/Software/Embedded_SW/Embedded/DataDef.h
@@ -243,6 +243,32 @@ typedef enum
CART3 = 3,
}CARTREGE;
*/
+
+typedef struct
+{
+ bool DRAWER_BIG; //bit 0
+ bool DRAWER_SMALL0;//bit 1
+ bool DRAWER_SMALL1;//bit 2
+ bool DRAWER_SMALL2;//bit 3
+ bool DRAWER_SMALL3;//bit 4
+ bool SYSTEM_FAN0; //bit 5
+ bool SYSTEM_FAN1; //bit 6
+ bool SYSTEM_FAN2; //bit 7
+}FANS_STATUS;
+
+enum
+{
+ DRAWER_B,
+ DRAWER_S0,
+ DRAWER_S1,
+ DRAWER_S2,
+ DRAWER_S3,
+ SYSTEM_0,
+ SYSTEM_1,
+ SYSTEM_2,
+ MAX_FANS,
+}FANS_ID;
+
//---------------------
#define MaxFlashWords 128 //1K
#define MaxFlashBytes MaxFlashWords*4 //4K Byte