From 7256fe1c07cf5ecbe485c3cdac238b88dfc2cd1d Mon Sep 17 00:00:00 2001 From: Avi Levkovich Date: Thu, 7 Mar 2019 17:08:42 +0200 Subject: Add system fans + read the tacho of the new small drawer fans --- Software/Embedded_SW/Embedded/DataDef.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'Software/Embedded_SW/Embedded/DataDef.h') 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 -- cgit v1.3.1