aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/IDS/IDS.h
blob: 1c9fee5474af6d5efa8d37a7296d97279cb6ddb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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);