Dmitry Kovalev / Mbed 2 deprecated LGfiltr

Dependencies:   mbed

Fork of LGstaandart by Dmitry Kovalev

Revision:
156:e68ee0bcdcda
Parent:
149:abbf7663d27d
Child:
161:efd949e8d536
--- a/DevicePLCS.h	Fri May 06 14:08:54 2016 +0000
+++ b/DevicePLCS.h	Mon May 09 20:03:26 2016 +0000
@@ -1,6 +1,15 @@
 #ifndef __DEVICE_PLCS_H__
 #define __DEVICE_PLCS_H__
 
+typedef struct _DevicePathLengthControlAmplifierSettings {
+  uint32_t reference; //Reference voltage
+  uint32_t gain;      //Amplifier gain
+} DevicePathLengthControlAmplifierSettings;
+
+typedef struct _DevicePathLengthControlAmplifier {
+  DevicePathLengthControlAmplifierSettings settings;
+} DevicePathLengthControlAmplifier;
+
 typedef struct _DevicePathLengthControlSystemSettings {
 } DevicePathLengthControlSystemSettings;
 
@@ -12,6 +21,7 @@
 typedef struct _DevicePathLengthControlSystem {
   DevicePathLengthControlSystemSettings settings;
   DevicePathLengthControlSystemState state;
+  DevicePathLengthControlAmplifier amplifier;
 } DevicePathLengthControlSystem;
 
 void InitPathLengthControlSystemWithDefaults(void);