diff options
| author | Avi Levkovich <avi@twine-s.com> | 2019-03-07 17:08:42 +0200 |
|---|---|---|
| committer | Avi Levkovich <avi@twine-s.com> | 2019-03-07 17:08:42 +0200 |
| commit | 7256fe1c07cf5ecbe485c3cdac238b88dfc2cd1d (patch) | |
| tree | c3dd4234b9499f913ddf3aee79b3adc65644f650 /Software/Embedded_SW/Embedded/DataDef.h | |
| parent | 09f93935c9b8b3e758d3539a8d5f84cd17f615c0 (diff) | |
| download | Tango-7256fe1c07cf5ecbe485c3cdac238b88dfc2cd1d.tar.gz Tango-7256fe1c07cf5ecbe485c3cdac238b88dfc2cd1d.zip | |
Add system fans + read the tacho of the new small drawer fans
Diffstat (limited to 'Software/Embedded_SW/Embedded/DataDef.h')
| -rw-r--r-- | Software/Embedded_SW/Embedded/DataDef.h | 26 |
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 |
