aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/IDS/IDS.h
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/IDS/IDS.h')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/IDS/IDS.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/IDS/IDS.h b/Software/Embedded_SW/Embedded/Modules/IDS/IDS.h
new file mode 100644
index 000000000..1c9fee547
--- /dev/null
+++ b/Software/Embedded_SW/Embedded/Modules/IDS/IDS.h
@@ -0,0 +1,25 @@
+#include "PMR/common/MessageContainer.pb-c.h"
+#include "PMR/Hardware/HardwareDispenser.pb-c.h"
+
+#define MAX_SYSTEM_DISPENSERS 8
+typedef struct
+{
+ int32_t dispensercapacity; //milliliters
+ int32_t midtankcapacity;//milliliters
+ double nlperpulse; //nanoliter per step , uStep = 1
+ uint32_t minfrequency;
+ uint32_t maxfrequency;
+ uint32_t minmicrostep;
+ uint32_t maxmicrostep;
+ double correctiongain;
+ double ratiotodryerspeed;
+ double kp;
+ double ki;
+ double kd;
+ double changeslope;
+ double highlengthmicrosecond;
+ int32_t controltiming; //10-100-1000 milliseconds
+ int32_t id;
+}DispenserConfigStruc;
+
+uint32_t DispenserConfigMessage(HardwareDispenser * request);