aboutsummaryrefslogtreecommitdiffstats
path: root/Software
diff options
context:
space:
mode:
Diffstat (limited to 'Software')
-rw-r--r--Software/Embedded_SW/Embedded/Communication/PMR/Common/MessageType.pb-c.c128
-rw-r--r--Software/Embedded_SW/Embedded/Communication/PMR/Common/MessageType.pb-c.h26
-rw-r--r--Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwareSpeedSensor.pb-c.c118
-rw-r--r--Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwareSpeedSensor.pb-c.h77
-rw-r--r--Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwareSpeedSensorType.pb-c.c35
-rw-r--r--Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwareSpeedSensorType.pb-c.h45
-rw-r--r--Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubIntADCReadRequest.pb-c.c92
-rw-r--r--Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubIntADCReadRequest.pb-c.h74
-rw-r--r--Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubIntADCReadResponse.pb-c.c144
-rw-r--r--Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubIntADCReadResponse.pb-c.h91
-rw-r--r--Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubSpeedSensorResponse.pb-c.h3
-rw-r--r--Software/Embedded_SW/Embedded/Drivers/ADC_Sampling/ADC.c63
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_IntADC.c100
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_IntADC.h15
-rw-r--r--Software/Embedded_SW/Embedded/debug_w_pmr/Main.d569
-rw-r--r--Software/PMR/Messages/Common/MessageType.proto2
-rw-r--r--Software/PMR/Messages/Stubs/StubIntADCReadRequest.proto9
-rw-r--r--Software/PMR/Messages/Stubs/StubIntADCReadResponse.proto13
-rw-r--r--Software/Visual_Studio/Tango.PMR/Common/MessageType.cs83
-rw-r--r--Software/Visual_Studio/Tango.PMR/Stubs/StubIntADCReadRequest.cs161
-rw-r--r--Software/Visual_Studio/Tango.PMR/Stubs/StubIntADCReadResponse.cs285
21 files changed, 1456 insertions, 677 deletions
diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Common/MessageType.pb-c.c b/Software/Embedded_SW/Embedded/Communication/PMR/Common/MessageType.pb-c.c
index fb7c0361f..7b0420455 100644
--- a/Software/Embedded_SW/Embedded/Communication/PMR/Common/MessageType.pb-c.c
+++ b/Software/Embedded_SW/Embedded/Communication/PMR/Common/MessageType.pb-c.c
@@ -7,7 +7,7 @@
#endif
#include "MessageType.pb-c.h"
-static const ProtobufCEnumValue message_type__enum_values_by_number[140] =
+static const ProtobufCEnumValue message_type__enum_values_by_number[142] =
{
{ "None", "MESSAGE_TYPE__None", 0 },
{ "CalculateRequest", "MESSAGE_TYPE__CalculateRequest", 3 },
@@ -92,6 +92,8 @@ static const ProtobufCEnumValue message_type__enum_values_by_number[140] =
{ "StubDancerPositionResponse", "MESSAGE_TYPE__StubDancerPositionResponse", 82 },
{ "StubSpeedSensorRequest", "MESSAGE_TYPE__StubSpeedSensorRequest", 83 },
{ "StubSpeedSensorResponse", "MESSAGE_TYPE__StubSpeedSensorResponse", 84 },
+ { "StubIntADCReadRequest", "MESSAGE_TYPE__StubIntADCReadRequest", 85 },
+ { "StubIntADCReadResponse", "MESSAGE_TYPE__StubIntADCReadResponse", 86 },
{ "ExternalBridgeUdpDiscoveryPacket", "MESSAGE_TYPE__ExternalBridgeUdpDiscoveryPacket", 1000 },
{ "ExternalClientLoginRequest", "MESSAGE_TYPE__ExternalClientLoginRequest", 1001 },
{ "ExternalClientLoginResponse", "MESSAGE_TYPE__ExternalClientLoginResponse", 1002 },
@@ -151,62 +153,62 @@ static const ProtobufCEnumValue message_type__enum_values_by_number[140] =
{ "DisconnectResponse", "MESSAGE_TYPE__DisconnectResponse", 6005 },
};
static const ProtobufCIntRange message_type__value_ranges[] = {
-{0, 0},{3, 1},{1000, 83},{2000, 90},{3000, 120},{4000, 126},{5000, 130},{6000, 134},{0, 140}
+{0, 0},{3, 1},{1000, 85},{2000, 92},{3000, 122},{4000, 128},{5000, 132},{6000, 136},{0, 142}
};
-static const ProtobufCEnumValueIndex message_type__enum_values_by_name[140] =
+static const ProtobufCEnumValueIndex message_type__enum_values_by_name[142] =
{
- { "AbortJobRequest", 122 },
- { "AbortJobResponse", 123 },
+ { "AbortJobRequest", 124 },
+ { "AbortJobResponse", 125 },
{ "CalculateRequest", 1 },
{ "CalculateResponse", 2 },
- { "ConnectRequest", 136 },
- { "ConnectResponse", 137 },
- { "DirectSynchronizationRequest", 86 },
- { "DirectSynchronizationResponse", 87 },
- { "DisconnectRequest", 138 },
- { "DisconnectResponse", 139 },
- { "DispenserAbortHomingRequest", 100 },
- { "DispenserAbortHomingResponse", 101 },
- { "DispenserAbortJoggingRequest", 106 },
- { "DispenserAbortJoggingResponse", 107 },
- { "DispenserHomingRequest", 102 },
- { "DispenserHomingResponse", 103 },
- { "DispenserJoggingRequest", 104 },
- { "DispenserJoggingResponse", 105 },
- { "ExternalBridgeUdpDiscoveryPacket", 83 },
- { "ExternalClientLoginRequest", 84 },
- { "ExternalClientLoginResponse", 85 },
- { "JobRequest", 120 },
- { "JobResponse", 121 },
- { "KeepAliveRequest", 134 },
- { "KeepAliveResponse", 135 },
- { "MotorAbortHomingRequest", 92 },
- { "MotorAbortHomingResponse", 93 },
- { "MotorAbortJoggingRequest", 98 },
- { "MotorAbortJoggingResponse", 99 },
- { "MotorHomingRequest", 94 },
- { "MotorHomingResponse", 95 },
- { "MotorJoggingRequest", 96 },
- { "MotorJoggingResponse", 97 },
+ { "ConnectRequest", 138 },
+ { "ConnectResponse", 139 },
+ { "DirectSynchronizationRequest", 88 },
+ { "DirectSynchronizationResponse", 89 },
+ { "DisconnectRequest", 140 },
+ { "DisconnectResponse", 141 },
+ { "DispenserAbortHomingRequest", 102 },
+ { "DispenserAbortHomingResponse", 103 },
+ { "DispenserAbortJoggingRequest", 108 },
+ { "DispenserAbortJoggingResponse", 109 },
+ { "DispenserHomingRequest", 104 },
+ { "DispenserHomingResponse", 105 },
+ { "DispenserJoggingRequest", 106 },
+ { "DispenserJoggingResponse", 107 },
+ { "ExternalBridgeUdpDiscoveryPacket", 85 },
+ { "ExternalClientLoginRequest", 86 },
+ { "ExternalClientLoginResponse", 87 },
+ { "JobRequest", 122 },
+ { "JobResponse", 123 },
+ { "KeepAliveRequest", 136 },
+ { "KeepAliveResponse", 137 },
+ { "MotorAbortHomingRequest", 94 },
+ { "MotorAbortHomingResponse", 95 },
+ { "MotorAbortJoggingRequest", 100 },
+ { "MotorAbortJoggingResponse", 101 },
+ { "MotorHomingRequest", 96 },
+ { "MotorHomingResponse", 97 },
+ { "MotorJoggingRequest", 98 },
+ { "MotorJoggingResponse", 99 },
{ "None", 0 },
- { "OverrideDataBaseRequest", 88 },
- { "OverrideDataBaseResponse", 89 },
+ { "OverrideDataBaseRequest", 90 },
+ { "OverrideDataBaseResponse", 91 },
{ "ProgressRequest", 3 },
{ "ProgressResponse", 4 },
- { "ResolveEventRequest", 116 },
- { "ResolveEventResponse", 117 },
- { "SetComponentValueRequest", 114 },
- { "SetComponentValueResponse", 115 },
- { "SetDigitalOutRequest", 108 },
- { "SetDigitalOutResponse", 109 },
- { "StartDebugLogRequest", 126 },
- { "StartDebugLogResponse", 127 },
- { "StartDiagnosticsRequest", 90 },
- { "StartDiagnosticsResponse", 91 },
- { "StopDebugLogRequest", 128 },
- { "StopDebugLogResponse", 129 },
- { "StopDiagnosticsRequest", 118 },
- { "StopDiagnosticsResponse", 119 },
+ { "ResolveEventRequest", 118 },
+ { "ResolveEventResponse", 119 },
+ { "SetComponentValueRequest", 116 },
+ { "SetComponentValueResponse", 117 },
+ { "SetDigitalOutRequest", 110 },
+ { "SetDigitalOutResponse", 111 },
+ { "StartDebugLogRequest", 128 },
+ { "StartDebugLogResponse", 129 },
+ { "StartDiagnosticsRequest", 92 },
+ { "StartDiagnosticsResponse", 93 },
+ { "StopDebugLogRequest", 130 },
+ { "StopDebugLogResponse", 131 },
+ { "StopDiagnosticsRequest", 120 },
+ { "StopDiagnosticsResponse", 121 },
{ "StubCartridgeReadRequest", 5 },
{ "StubCartridgeReadResponse", 6 },
{ "StubCartridgeWriteRequest", 7 },
@@ -247,6 +249,8 @@ static const ProtobufCEnumValueIndex message_type__enum_values_by_name[140] =
{ "StubHeatingTestPollResponse", 62 },
{ "StubHeatingTestRequest", 59 },
{ "StubHeatingTestResponse", 60 },
+ { "StubIntADCReadRequest", 83 },
+ { "StubIntADCReadResponse", 84 },
{ "StubL6470DriverRequest", 39 },
{ "StubL6470DriverResponse", 40 },
{ "StubMotorEncoderRequest", 23 },
@@ -285,16 +289,16 @@ static const ProtobufCEnumValueIndex message_type__enum_values_by_name[140] =
{ "StubTivaWriteRegResponse", 78 },
{ "StubValveRequest", 29 },
{ "StubValveResponse", 30 },
- { "SystemResetRequest", 132 },
- { "SystemResetResponse", 133 },
- { "ThreadAbortJoggingRequest", 112 },
- { "ThreadAbortJoggingResponse", 113 },
- { "ThreadJoggingRequest", 110 },
- { "ThreadJoggingResponse", 111 },
- { "UploadHardwareConfigurationRequest", 130 },
- { "UploadHardwareConfigurationResponse", 131 },
- { "UploadProcessParametersRequest", 124 },
- { "UploadProcessParametersResponse", 125 },
+ { "SystemResetRequest", 134 },
+ { "SystemResetResponse", 135 },
+ { "ThreadAbortJoggingRequest", 114 },
+ { "ThreadAbortJoggingResponse", 115 },
+ { "ThreadJoggingRequest", 112 },
+ { "ThreadJoggingResponse", 113 },
+ { "UploadHardwareConfigurationRequest", 132 },
+ { "UploadHardwareConfigurationResponse", 133 },
+ { "UploadProcessParametersRequest", 126 },
+ { "UploadProcessParametersResponse", 127 },
};
const ProtobufCEnumDescriptor message_type__descriptor =
{
@@ -303,9 +307,9 @@ const ProtobufCEnumDescriptor message_type__descriptor =
"MessageType",
"MessageType",
"",
- 140,
+ 142,
message_type__enum_values_by_number,
- 140,
+ 142,
message_type__enum_values_by_name,
8,
message_type__value_ranges,
diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Common/MessageType.pb-c.h b/Software/Embedded_SW/Embedded/Communication/PMR/Common/MessageType.pb-c.h
index 950bfcbdc..0eefb9df8 100644
--- a/Software/Embedded_SW/Embedded/Communication/PMR/Common/MessageType.pb-c.h
+++ b/Software/Embedded_SW/Embedded/Communication/PMR/Common/MessageType.pb-c.h
@@ -20,7 +20,13 @@ PROTOBUF_C__BEGIN_DECLS
/* --- enums --- */
typedef enum _MessageType {
+ /*
+ *The first enumeration value must be zero so..
+ */
MESSAGE_TYPE__None = 0,
+ /*
+ *Stubs
+ */
MESSAGE_TYPE__CalculateRequest = 3,
MESSAGE_TYPE__CalculateResponse = 4,
MESSAGE_TYPE__ProgressRequest = 5,
@@ -103,6 +109,11 @@ typedef enum _MessageType {
MESSAGE_TYPE__StubDancerPositionResponse = 82,
MESSAGE_TYPE__StubSpeedSensorRequest = 83,
MESSAGE_TYPE__StubSpeedSensorResponse = 84,
+ MESSAGE_TYPE__StubIntADCReadRequest = 85,
+ MESSAGE_TYPE__StubIntADCReadResponse = 86,
+ /*
+ *Integration
+ */
MESSAGE_TYPE__ExternalBridgeUdpDiscoveryPacket = 1000,
MESSAGE_TYPE__ExternalClientLoginRequest = 1001,
MESSAGE_TYPE__ExternalClientLoginResponse = 1002,
@@ -110,6 +121,9 @@ typedef enum _MessageType {
MESSAGE_TYPE__DirectSynchronizationResponse = 1004,
MESSAGE_TYPE__OverrideDataBaseRequest = 1005,
MESSAGE_TYPE__OverrideDataBaseResponse = 1006,
+ /*
+ *Diagnostics
+ */
MESSAGE_TYPE__StartDiagnosticsRequest = 2000,
MESSAGE_TYPE__StartDiagnosticsResponse = 2001,
MESSAGE_TYPE__MotorAbortHomingRequest = 2002,
@@ -140,20 +154,32 @@ typedef enum _MessageType {
MESSAGE_TYPE__ResolveEventResponse = 2027,
MESSAGE_TYPE__StopDiagnosticsRequest = 2028,
MESSAGE_TYPE__StopDiagnosticsResponse = 2029,
+ /*
+ *Printing
+ */
MESSAGE_TYPE__JobRequest = 3000,
MESSAGE_TYPE__JobResponse = 3001,
MESSAGE_TYPE__AbortJobRequest = 3002,
MESSAGE_TYPE__AbortJobResponse = 3003,
MESSAGE_TYPE__UploadProcessParametersRequest = 3004,
MESSAGE_TYPE__UploadProcessParametersResponse = 3005,
+ /*
+ *Debugging
+ */
MESSAGE_TYPE__StartDebugLogRequest = 4000,
MESSAGE_TYPE__StartDebugLogResponse = 4001,
MESSAGE_TYPE__StopDebugLogRequest = 4002,
MESSAGE_TYPE__StopDebugLogResponse = 4003,
+ /*
+ *Hardware
+ */
MESSAGE_TYPE__UploadHardwareConfigurationRequest = 5000,
MESSAGE_TYPE__UploadHardwareConfigurationResponse = 5001,
MESSAGE_TYPE__SystemResetRequest = 5002,
MESSAGE_TYPE__SystemResetResponse = 5003,
+ /*
+ *Connection
+ */
MESSAGE_TYPE__KeepAliveRequest = 6000,
MESSAGE_TYPE__KeepAliveResponse = 6001,
MESSAGE_TYPE__ConnectRequest = 6002,
diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwareSpeedSensor.pb-c.c b/Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwareSpeedSensor.pb-c.c
new file mode 100644
index 000000000..a0f34fe31
--- /dev/null
+++ b/Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwareSpeedSensor.pb-c.c
@@ -0,0 +1,118 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: HardwareSpeedSensor.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "HardwareSpeedSensor.pb-c.h"
+void hardware_speed_sensor__init
+ (HardwareSpeedSensor *message)
+{
+ static const HardwareSpeedSensor init_value = HARDWARE_SPEED_SENSOR__INIT;
+ *message = init_value;
+}
+size_t hardware_speed_sensor__get_packed_size
+ (const HardwareSpeedSensor *message)
+{
+ assert(message->base.descriptor == &hardware_speed_sensor__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t hardware_speed_sensor__pack
+ (const HardwareSpeedSensor *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &hardware_speed_sensor__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t hardware_speed_sensor__pack_to_buffer
+ (const HardwareSpeedSensor *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &hardware_speed_sensor__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+HardwareSpeedSensor *
+ hardware_speed_sensor__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (HardwareSpeedSensor *)
+ protobuf_c_message_unpack (&hardware_speed_sensor__descriptor,
+ allocator, len, data);
+}
+void hardware_speed_sensor__free_unpacked
+ (HardwareSpeedSensor *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &hardware_speed_sensor__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor hardware_speed_sensor__field_descriptors[3] =
+{
+ {
+ "HardwareSpeedSensorType",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_ENUM,
+ offsetof(HardwareSpeedSensor, has_hardwarespeedsensortype),
+ offsetof(HardwareSpeedSensor, hardwarespeedsensortype),
+ &hardware_speed_sensor_type__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "ResolutionBits",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(HardwareSpeedSensor, has_resolutionbits),
+ offsetof(HardwareSpeedSensor, resolutionbits),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Perimeter",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_DOUBLE,
+ offsetof(HardwareSpeedSensor, has_perimeter),
+ offsetof(HardwareSpeedSensor, perimeter),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned hardware_speed_sensor__field_indices_by_name[] = {
+ 0, /* field[0] = HardwareSpeedSensorType */
+ 2, /* field[2] = Perimeter */
+ 1, /* field[1] = ResolutionBits */
+};
+static const ProtobufCIntRange hardware_speed_sensor__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 3 }
+};
+const ProtobufCMessageDescriptor hardware_speed_sensor__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "HardwareSpeedSensor",
+ "HardwareSpeedSensor",
+ "HardwareSpeedSensor",
+ "",
+ sizeof(HardwareSpeedSensor),
+ 3,
+ hardware_speed_sensor__field_descriptors,
+ hardware_speed_sensor__field_indices_by_name,
+ 1, hardware_speed_sensor__number_ranges,
+ (ProtobufCMessageInit) hardware_speed_sensor__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwareSpeedSensor.pb-c.h b/Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwareSpeedSensor.pb-c.h
new file mode 100644
index 000000000..8c46e86c0
--- /dev/null
+++ b/Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwareSpeedSensor.pb-c.h
@@ -0,0 +1,77 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: HardwareSpeedSensor.proto */
+
+#ifndef PROTOBUF_C_HardwareSpeedSensor_2eproto__INCLUDED
+#define PROTOBUF_C_HardwareSpeedSensor_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+#include "HardwareSpeedSensorType.pb-c.h"
+
+typedef struct _HardwareSpeedSensor HardwareSpeedSensor;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _HardwareSpeedSensor
+{
+ ProtobufCMessage base;
+ protobuf_c_boolean has_hardwarespeedsensortype;
+ HardwareSpeedSensorType hardwarespeedsensortype;
+ protobuf_c_boolean has_resolutionbits;
+ int32_t resolutionbits;
+ protobuf_c_boolean has_perimeter;
+ double perimeter;
+};
+#define HARDWARE_SPEED_SENSOR__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&hardware_speed_sensor__descriptor) \
+ , 0, HARDWARE_SPEED_SENSOR_TYPE__DefaultSpeedSensor, 0, 0, 0, 0 }
+
+
+/* HardwareSpeedSensor methods */
+void hardware_speed_sensor__init
+ (HardwareSpeedSensor *message);
+size_t hardware_speed_sensor__get_packed_size
+ (const HardwareSpeedSensor *message);
+size_t hardware_speed_sensor__pack
+ (const HardwareSpeedSensor *message,
+ uint8_t *out);
+size_t hardware_speed_sensor__pack_to_buffer
+ (const HardwareSpeedSensor *message,
+ ProtobufCBuffer *buffer);
+HardwareSpeedSensor *
+ hardware_speed_sensor__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void hardware_speed_sensor__free_unpacked
+ (HardwareSpeedSensor *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*HardwareSpeedSensor_Closure)
+ (const HardwareSpeedSensor *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor hardware_speed_sensor__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_HardwareSpeedSensor_2eproto__INCLUDED */
diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwareSpeedSensorType.pb-c.c b/Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwareSpeedSensorType.pb-c.c
new file mode 100644
index 000000000..20c66aff3
--- /dev/null
+++ b/Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwareSpeedSensorType.pb-c.c
@@ -0,0 +1,35 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: HardwareSpeedSensorType.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "HardwareSpeedSensorType.pb-c.h"
+static const ProtobufCEnumValue hardware_speed_sensor_type__enum_values_by_number[1] =
+{
+ { "DefaultSpeedSensor", "HARDWARE_SPEED_SENSOR_TYPE__DefaultSpeedSensor", 0 },
+};
+static const ProtobufCIntRange hardware_speed_sensor_type__value_ranges[] = {
+{0, 0},{0, 1}
+};
+static const ProtobufCEnumValueIndex hardware_speed_sensor_type__enum_values_by_name[1] =
+{
+ { "DefaultSpeedSensor", 0 },
+};
+const ProtobufCEnumDescriptor hardware_speed_sensor_type__descriptor =
+{
+ PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
+ "HardwareSpeedSensorType",
+ "HardwareSpeedSensorType",
+ "HardwareSpeedSensorType",
+ "",
+ 1,
+ hardware_speed_sensor_type__enum_values_by_number,
+ 1,
+ hardware_speed_sensor_type__enum_values_by_name,
+ 1,
+ hardware_speed_sensor_type__value_ranges,
+ NULL,NULL,NULL,NULL /* reserved[1234] */
+};
diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwareSpeedSensorType.pb-c.h b/Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwareSpeedSensorType.pb-c.h
new file mode 100644
index 000000000..567c2246e
--- /dev/null
+++ b/Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwareSpeedSensorType.pb-c.h
@@ -0,0 +1,45 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: HardwareSpeedSensorType.proto */
+
+#ifndef PROTOBUF_C_HardwareSpeedSensorType_2eproto__INCLUDED
+#define PROTOBUF_C_HardwareSpeedSensorType_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+
+
+/* --- enums --- */
+
+typedef enum _HardwareSpeedSensorType {
+ /*
+ *Default Speed Sensor
+ */
+ HARDWARE_SPEED_SENSOR_TYPE__DefaultSpeedSensor = 0
+ PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(HARDWARE_SPEED_SENSOR_TYPE)
+} HardwareSpeedSensorType;
+
+/* --- messages --- */
+
+/* --- per-message closures --- */
+
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCEnumDescriptor hardware_speed_sensor_type__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_HardwareSpeedSensorType_2eproto__INCLUDED */
diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubIntADCReadRequest.pb-c.c b/Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubIntADCReadRequest.pb-c.c
new file mode 100644
index 000000000..3537ec062
--- /dev/null
+++ b/Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubIntADCReadRequest.pb-c.c
@@ -0,0 +1,92 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: StubIntADCReadRequest.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "StubIntADCReadRequest.pb-c.h"
+void stub_int_adcread_request__init
+ (StubIntADCReadRequest *message)
+{
+ static const StubIntADCReadRequest init_value = STUB_INT_ADCREAD_REQUEST__INIT;
+ *message = init_value;
+}
+size_t stub_int_adcread_request__get_packed_size
+ (const StubIntADCReadRequest *message)
+{
+ assert(message->base.descriptor == &stub_int_adcread_request__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t stub_int_adcread_request__pack
+ (const StubIntADCReadRequest *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &stub_int_adcread_request__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t stub_int_adcread_request__pack_to_buffer
+ (const StubIntADCReadRequest *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &stub_int_adcread_request__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+StubIntADCReadRequest *
+ stub_int_adcread_request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (StubIntADCReadRequest *)
+ protobuf_c_message_unpack (&stub_int_adcread_request__descriptor,
+ allocator, len, data);
+}
+void stub_int_adcread_request__free_unpacked
+ (StubIntADCReadRequest *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &stub_int_adcread_request__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor stub_int_adcread_request__field_descriptors[1] =
+{
+ {
+ "ADC_Device",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(StubIntADCReadRequest, has_adc_device),
+ offsetof(StubIntADCReadRequest, adc_device),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned stub_int_adcread_request__field_indices_by_name[] = {
+ 0, /* field[0] = ADC_Device */
+};
+static const ProtobufCIntRange stub_int_adcread_request__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 1 }
+};
+const ProtobufCMessageDescriptor stub_int_adcread_request__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "StubIntADCReadRequest",
+ "StubIntADCReadRequest",
+ "StubIntADCReadRequest",
+ "",
+ sizeof(StubIntADCReadRequest),
+ 1,
+ stub_int_adcread_request__field_descriptors,
+ stub_int_adcread_request__field_indices_by_name,
+ 1, stub_int_adcread_request__number_ranges,
+ (ProtobufCMessageInit) stub_int_adcread_request__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubIntADCReadRequest.pb-c.h b/Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubIntADCReadRequest.pb-c.h
new file mode 100644
index 000000000..cbf4116a6
--- /dev/null
+++ b/Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubIntADCReadRequest.pb-c.h
@@ -0,0 +1,74 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: StubIntADCReadRequest.proto */
+
+#ifndef PROTOBUF_C_StubIntADCReadRequest_2eproto__INCLUDED
+#define PROTOBUF_C_StubIntADCReadRequest_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+typedef struct _StubIntADCReadRequest StubIntADCReadRequest;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _StubIntADCReadRequest
+{
+ ProtobufCMessage base;
+ /*
+ */
+ protobuf_c_boolean has_adc_device;
+ uint32_t adc_device;
+};
+#define STUB_INT_ADCREAD_REQUEST__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&stub_int_adcread_request__descriptor) \
+ , 0, 0 }
+
+
+/* StubIntADCReadRequest methods */
+void stub_int_adcread_request__init
+ (StubIntADCReadRequest *message);
+size_t stub_int_adcread_request__get_packed_size
+ (const StubIntADCReadRequest *message);
+size_t stub_int_adcread_request__pack
+ (const StubIntADCReadRequest *message,
+ uint8_t *out);
+size_t stub_int_adcread_request__pack_to_buffer
+ (const StubIntADCReadRequest *message,
+ ProtobufCBuffer *buffer);
+StubIntADCReadRequest *
+ stub_int_adcread_request__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void stub_int_adcread_request__free_unpacked
+ (StubIntADCReadRequest *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*StubIntADCReadRequest_Closure)
+ (const StubIntADCReadRequest *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor stub_int_adcread_request__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_StubIntADCReadRequest_2eproto__INCLUDED */
diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubIntADCReadResponse.pb-c.c b/Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubIntADCReadResponse.pb-c.c
new file mode 100644
index 000000000..00dd040fe
--- /dev/null
+++ b/Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubIntADCReadResponse.pb-c.c
@@ -0,0 +1,144 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: StubIntADCReadResponse.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "StubIntADCReadResponse.pb-c.h"
+void stub_int_adcread_response__init
+ (StubIntADCReadResponse *message)
+{
+ static const StubIntADCReadResponse init_value = STUB_INT_ADCREAD_RESPONSE__INIT;
+ *message = init_value;
+}
+size_t stub_int_adcread_response__get_packed_size
+ (const StubIntADCReadResponse *message)
+{
+ assert(message->base.descriptor == &stub_int_adcread_response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t stub_int_adcread_response__pack
+ (const StubIntADCReadResponse *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &stub_int_adcread_response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t stub_int_adcread_response__pack_to_buffer
+ (const StubIntADCReadResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &stub_int_adcread_response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+StubIntADCReadResponse *
+ stub_int_adcread_response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (StubIntADCReadResponse *)
+ protobuf_c_message_unpack (&stub_int_adcread_response__descriptor,
+ allocator, len, data);
+}
+void stub_int_adcread_response__free_unpacked
+ (StubIntADCReadResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ if(!message)
+ return;
+ assert(message->base.descriptor == &stub_int_adcread_response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+static const ProtobufCFieldDescriptor stub_int_adcread_response__field_descriptors[5] =
+{
+ {
+ "ADC_Device",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(StubIntADCReadResponse, has_adc_device),
+ offsetof(StubIntADCReadResponse, adc_device),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Sampling_in_Bits",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(StubIntADCReadResponse, has_sampling_in_bits),
+ offsetof(StubIntADCReadResponse, sampling_in_bits),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Voltage_Sampling_mv",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_INT32,
+ offsetof(StubIntADCReadResponse, has_voltage_sampling_mv),
+ offsetof(StubIntADCReadResponse, voltage_sampling_mv),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "Status",
+ 4,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(StubIntADCReadResponse, status),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "StatusWord",
+ 5,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_UINT32,
+ offsetof(StubIntADCReadResponse, has_statusword),
+ offsetof(StubIntADCReadResponse, statusword),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned stub_int_adcread_response__field_indices_by_name[] = {
+ 0, /* field[0] = ADC_Device */
+ 1, /* field[1] = Sampling_in_Bits */
+ 3, /* field[3] = Status */
+ 4, /* field[4] = StatusWord */
+ 2, /* field[2] = Voltage_Sampling_mv */
+};
+static const ProtobufCIntRange stub_int_adcread_response__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 5 }
+};
+const ProtobufCMessageDescriptor stub_int_adcread_response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "StubIntADCReadResponse",
+ "StubIntADCReadResponse",
+ "StubIntADCReadResponse",
+ "",
+ sizeof(StubIntADCReadResponse),
+ 5,
+ stub_int_adcread_response__field_descriptors,
+ stub_int_adcread_response__field_indices_by_name,
+ 1, stub_int_adcread_response__number_ranges,
+ (ProtobufCMessageInit) stub_int_adcread_response__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubIntADCReadResponse.pb-c.h b/Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubIntADCReadResponse.pb-c.h
new file mode 100644
index 000000000..24f17bf87
--- /dev/null
+++ b/Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubIntADCReadResponse.pb-c.h
@@ -0,0 +1,91 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: StubIntADCReadResponse.proto */
+
+#ifndef PROTOBUF_C_StubIntADCReadResponse_2eproto__INCLUDED
+#define PROTOBUF_C_StubIntADCReadResponse_2eproto__INCLUDED
+
+#include <protobuf-c/protobuf-c.h>
+
+PROTOBUF_C__BEGIN_DECLS
+
+#if PROTOBUF_C_VERSION_NUMBER < 1003000
+# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
+#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
+# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
+#endif
+
+
+typedef struct _StubIntADCReadResponse StubIntADCReadResponse;
+
+
+/* --- enums --- */
+
+
+/* --- messages --- */
+
+struct _StubIntADCReadResponse
+{
+ ProtobufCMessage base;
+ /*
+ */
+ protobuf_c_boolean has_adc_device;
+ uint32_t adc_device;
+ /*
+ */
+ protobuf_c_boolean has_sampling_in_bits;
+ int32_t sampling_in_bits;
+ /*
+ */
+ protobuf_c_boolean has_voltage_sampling_mv;
+ int32_t voltage_sampling_mv;
+ /*
+ * Passed/Failed
+ */
+ char *status;
+ /*
+ * Error number/bit when the status is Failed
+ */
+ protobuf_c_boolean has_statusword;
+ uint32_t statusword;
+};
+#define STUB_INT_ADCREAD_RESPONSE__INIT \
+ { PROTOBUF_C_MESSAGE_INIT (&stub_int_adcread_response__descriptor) \
+ , 0, 0, 0, 0, 0, 0, NULL, 0, 0 }
+
+
+/* StubIntADCReadResponse methods */
+void stub_int_adcread_response__init
+ (StubIntADCReadResponse *message);
+size_t stub_int_adcread_response__get_packed_size
+ (const StubIntADCReadResponse *message);
+size_t stub_int_adcread_response__pack
+ (const StubIntADCReadResponse *message,
+ uint8_t *out);
+size_t stub_int_adcread_response__pack_to_buffer
+ (const StubIntADCReadResponse *message,
+ ProtobufCBuffer *buffer);
+StubIntADCReadResponse *
+ stub_int_adcread_response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data);
+void stub_int_adcread_response__free_unpacked
+ (StubIntADCReadResponse *message,
+ ProtobufCAllocator *allocator);
+/* --- per-message closures --- */
+
+typedef void (*StubIntADCReadResponse_Closure)
+ (const StubIntADCReadResponse *message,
+ void *closure_data);
+
+/* --- services --- */
+
+
+/* --- descriptors --- */
+
+extern const ProtobufCMessageDescriptor stub_int_adcread_response__descriptor;
+
+PROTOBUF_C__END_DECLS
+
+
+#endif /* PROTOBUF_C_StubIntADCReadResponse_2eproto__INCLUDED */
diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubSpeedSensorResponse.pb-c.h b/Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubSpeedSensorResponse.pb-c.h
index 2a98d2806..6bc9cfa68 100644
--- a/Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubSpeedSensorResponse.pb-c.h
+++ b/Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubSpeedSensorResponse.pb-c.h
@@ -26,6 +26,9 @@ typedef struct _StubSpeedSensorResponse StubSpeedSensorResponse;
struct _StubSpeedSensorResponse
{
ProtobufCMessage base;
+ /*
+ *uint32 Speed_Sensor_ID = 1;
+ */
protobuf_c_boolean has_speed;
uint32_t speed;
};
diff --git a/Software/Embedded_SW/Embedded/Drivers/ADC_Sampling/ADC.c b/Software/Embedded_SW/Embedded/Drivers/ADC_Sampling/ADC.c
index e58e1b71e..0ee2c96a0 100644
--- a/Software/Embedded_SW/Embedded/Drivers/ADC_Sampling/ADC.c
+++ b/Software/Embedded_SW/Embedded/Drivers/ADC_Sampling/ADC.c
@@ -5,6 +5,54 @@
// data, and running the strip chart display.
//
//*****************************************************************************
+/*
+Notes:
+ 12 shared analog input channels
+ 12-bit precision ADC
+ Hardware averaging of up to 64 samples
+ As referred before the ADC has a reference of 3V.
+
+ Voltage reference selected using the VREF field in the ADCCTL register (page 1217)
+
+ J0062
+ PIN 21 - AN_IDS_PRESSENS_7
+ PIN 9 - GND
+
+ J0252
+ PIN 21 - AN_IDS_PRESSENS_1
+ PIN 9 - GND
+
+ J0042
+ PIN 21 - AN_IDS_PRESSENS_3
+ PIN 9 - GND
+
+
+-----------------
+void ADCAcquireInit(void) // (MillisecInit) ok
+
+void ADCAcquireStart(ProcessCallback _callback, uint32_t _period)// (called by MillisecStart)
+
+//reading Trigger
+uint32_t ADC_TriggerCollection(void) // MillisecLoop
+//Data Get
+void ADC0SS0Handler(void)
+
+
+//----------------------------------------------------
+
+
+uint32_t ADC_GetReading(int DataItemId)// ADC Data get for a single data read
+
+Void ADCProcessTask(UArg arg0, UArg arg1)
+
+void ADCAcquireStop(void) //MillisecStop
+
+//---------------------------------
+
+
+ for (adc_i = 0; adc_i < MAX_ADC_DEVICES ; adc_i++)
+ ADC_Data[adc_i] = ADC_GetReading(adc_i);
+*/
#include "ADC.h"
#include "include.h"
@@ -99,7 +147,7 @@ static ProcessCallback processCallBack;
//*****************************************************************************
// This function starts an ADC Conversion.
//static void ADCClockHandle(UArg arg0)
-uint32_t ADC_TriggerCollection(void)
+uint32_t ADC_TriggerCollection(void) // (called by MillisecLoop)
{
//
// Kick off the next ADC acquisition. When these are done they will
@@ -117,7 +165,7 @@ uint32_t ADC_TriggerCollection(void)
// ADC Data get for a single data read
//
//*****************************************************************************
-uint32_t ADC_GetReading(int DataItemId)
+uint32_t ADC_GetReading(int DataItemId) // // ADC Data get for a single data read
{
int bufnotinuse;
assert (DataItemId<MAX_ADC_DEVICES);
@@ -189,13 +237,13 @@ Void ADCProcessTask(UArg arg0, UArg arg1)
// acquisition.
//
//*****************************************************************************
-void ADCAcquireInit(void)
+void ADCAcquireInit(void) // (called by MillisecInit)
{
uint32_t ui32Chan, ui32Base, ui32Seq;
//Avaraging 8
- MAP_ADCHardwareOversampleConfigure(ADC0_BASE, 8);
- MAP_ADCHardwareOversampleConfigure(ADC1_BASE, 8);
+ //MAP_ADCHardwareOversampleConfigure(ADC0_BASE, 8);
+ //MAP_ADCHardwareOversampleConfigure(ADC1_BASE, 8);
//
// Initialize both ADC peripherals using sequencer 0 and processor trigger.
//
@@ -245,6 +293,9 @@ void ADCAcquireInit(void)
MAP_ADCSequenceStepConfigure(ui32Base, ui32Seq, ui32Chan % 8, ui32ChCtl);
}
+ ADCReferenceSet(ADC0_BASE, ADC_REF_EXT_3V);
+ ADCReferenceSet(ADC1_BASE, ADC_REF_EXT_3V);
+
if (!isInitialized)
{
// Create a periodic Clock Instance with _period - triggers the ADC sampling
@@ -261,7 +312,7 @@ void ADCAcquireInit(void)
// This will start the acquisition running.
//
//*****************************************************************************
-void ADCAcquireStart(ProcessCallback _callback, uint32_t _period)
+void ADCAcquireStart(ProcessCallback _callback, uint32_t _period) // (called by MillisecStart)
{
//
// Enable the ADC sequencers
diff --git a/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_IntADC.c b/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_IntADC.c
new file mode 100644
index 000000000..85d7468bc
--- /dev/null
+++ b/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_IntADC.c
@@ -0,0 +1,100 @@
+/*
+ * Stub_IntADC.c
+ *
+ * Created on: May 23, 2018
+ * Author: avi
+ */
+
+
+#include <Container.h>
+#include <DataDef.h>
+#include <PMR/Stubs/StubIntADCReadRequest.pb-c.h>
+#include <PMR/Stubs/StubIntADCReadResponse.pb-c.h>
+#include <stdbool.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <stdint.h>
+#include <string.h>
+#include "inc/hw_memmap.h"
+#include "inc/hw_types.h"
+#include "inc/hw_uart.h"
+
+#include "Drivers/USB_Communication/USBCDCD.h"
+#include "drivers/twine_graphicslib/graphics_adapter.h"
+
+#include "MessageContainer.pb-c.h"
+
+#include "Stub_Status.h"
+#include "drivers/FPGA/FPGA.h"
+#include "drivers/adc_sampling/adc.h"
+
+void Stub_IntADCReadRequest(MessageContainer* requestContainer)
+{
+ uint32_t status = FAILED;
+
+ unsigned short data;
+
+ MessageContainer responseContainer;
+
+ StubIntADCReadRequest* request = stub_int_adcread_request__unpack(NULL, requestContainer->data.len, requestContainer->data.data);
+
+ writeLine("ReadBack Request: ");
+
+ writeFloat(request->adc_device);
+
+ ADCAcquireInit();
+ SysCtlDelay(10000);
+ ADCAcquireStart(0,1);
+ SysCtlDelay(10000);
+ ADC_TriggerCollection();
+ SysCtlDelay(10000);
+
+ ADC0SS0Handler();
+ SysCtlDelay(100000);
+
+
+ data = ADC_GetReading(request->adc_device);
+ status = PASSED;
+
+ StubIntADCReadResponse response = STUB_INT_ADCREAD_RESPONSE__INIT;
+
+ status_response(status,&response.status, &response.statusword ,&response.has_statusword);
+
+ response.adc_device = request->adc_device;
+ response.has_adc_device = true;
+ response.sampling_in_bits = data;
+ response.has_sampling_in_bits = true;
+
+ float temp= 0;
+ temp = 4096 - data;
+ temp *= 3;
+ temp *= 1000; //move to mv
+ temp /= 4096;
+ response.voltage_sampling_mv = 3000 - temp;
+ response.has_voltage_sampling_mv = true;
+
+
+ responseContainer = createContainer(MESSAGE_TYPE__StubIntADCReadResponse, requestContainer->token, true, &response, &stub_int_adcread_response__pack, &stub_int_adcread_response__get_packed_size);
+
+ writeLine("Sending Response: ");
+
+ writeFloat(response.adc_device);
+ writeString(", ");
+ writeFloat(response.sampling_in_bits);
+ writeString(", ");
+ writeFloat(response.voltage_sampling_mv);
+ writeString(", ");
+
+ Write_status_response(status);
+
+ stub_int_adcread_request__free_unpacked(request,NULL);
+ //-------------------------------------------------------------------------------------------
+ uint8_t* container_buffer = malloc(message_container__get_packed_size(&responseContainer));
+ size_t container_size = message_container__pack(&responseContainer, container_buffer);
+ free(responseContainer.data.data);
+ SendChars((char*)container_buffer, container_size);
+}
+
+
+
+
diff --git a/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_IntADC.h b/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_IntADC.h
new file mode 100644
index 000000000..5060233c4
--- /dev/null
+++ b/Software/Embedded_SW/Embedded/Modules/Stubs_Handler/Stub_IntADC.h
@@ -0,0 +1,15 @@
+/*
+ * Stub_IntADC.h
+ *
+ * Created on: May 23, 2018
+ * Author: avi
+ */
+
+#ifndef MODULES_STUBS_HANDLER_STUB_INTADC_H_
+#define MODULES_STUBS_HANDLER_STUB_INTADC_H_
+
+void Stub_IntADCReadRequest(MessageContainer* requestContainer);
+
+
+
+#endif /* MODULES_STUBS_HANDLER_STUB_INTADC_H_ */
diff --git a/Software/Embedded_SW/Embedded/debug_w_pmr/Main.d b/Software/Embedded_SW/Embedded/debug_w_pmr/Main.d
deleted file mode 100644
index 21323631e..000000000
--- a/Software/Embedded_SW/Embedded/debug_w_pmr/Main.d
+++ /dev/null
@@ -1,569 +0,0 @@
-# FIXED
-
-Main.obj: ../Main.c
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/Container.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/include.h
-Main.obj: C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdbool.h
-Main.obj: C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdio.h
-Main.obj: C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/linkage.h
-Main.obj: C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdarg.h
-Main.obj: C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/string.h
-Main.obj: C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdint.h
-Main.obj: C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdlib.h
-Main.obj: C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/ctype.h
-Main.obj: C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/_isfuncdcl.h
-Main.obj: C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/errno.h
-Main.obj: C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/_tls.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/./common/protobuf-c/protobuf-c.h
-Main.obj: C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/assert.h
-Main.obj: C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/limits.h
-Main.obj: C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stddef.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Semaphore.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/std.h
-Main.obj: C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdarg.h
-Main.obj: C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stddef.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/targets/arm/elf/std.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/targets/arm/elf/M4F.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/targets/std.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/xdc.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types__prologue.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/package/package.defs.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types__epilogue.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/package/package.defs.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags__prologue.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Main.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IHeap.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error__prologue.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Main.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error__epilogue.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Memory.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IHeap.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/package/Memory_HeapProxy.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IHeap.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IGateProvider.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/package/Main_Module_GateProxy.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IGateProvider.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags__epilogue.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Log.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Log__prologue.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Main.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Text.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Log__epilogue.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert__prologue.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Main.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert__epilogue.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Queue.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Task.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Task__prologue.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Log.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IHeap.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Queue.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/interfaces/ITaskSupport.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/interfaces/package/package.defs.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Clock.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Log.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/interfaces/ITimer.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Queue.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Swi.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Log.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Queue.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/package/Clock_TimerProxy.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/interfaces/ITimer.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/package/Task_SupportProxy.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/interfaces/ITaskSupport.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Task__epilogue.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Clock.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Event.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Event__prologue.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Log.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Queue.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Clock.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Task.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Event__epilogue.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/BIOS.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/BIOS__prologue.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/package/package.defs.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IGateProvider.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/package/BIOS_RtsGateProxy.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IGateProvider.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/BIOS__epilogue.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/package/BIOS_RtsGateProxy.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Task.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/package/Task_SupportProxy.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/mailbox.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IHeap.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Queue.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Event.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Semaphore.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Clock.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/package/Clock_TimerProxy.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/gates/GateMutex.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/gates/package/package.defs.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IGateProvider.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Task.h
-Main.obj: C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Semaphore.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/System.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/ISystemSupport.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IGateProvider.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/package/System_SupportProxy.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/ISystemSupport.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/package/System_Module_GateProxy.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IGateProvider.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/package/System_SupportProxy.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/package/System_Module_GateProxy.h
-Main.obj: C:/ti/TivaWare_C_Series-2.1.2.111/driverlib/rom.h
-Main.obj: C:/ti/TivaWare_C_Series-2.1.2.111/driverlib/sysctl.h
-Main.obj: C:/ti/TivaWare_C_Series-2.1.2.111/driverlib/usb.h
-Main.obj: C:/ti/TivaWare_C_Series-2.1.2.111/driverlib/interrupt.h
-Main.obj: C:/ti/TivaWare_C_Series-2.1.2.111/driverlib/rom_map.h
-Main.obj: C:/ti/TivaWare_C_Series-2.1.2.111/driverlib/fpu.h
-Main.obj: C:/ti/TivaWare_C_Series-2.1.2.111/usblib/usblib.h
-Main.obj: C:/ti/TivaWare_C_Series-2.1.2.111/usblib/device/usbdevice.h
-Main.obj: C:/ti/TivaWare_C_Series-2.1.2.111/usblib/device/usbdevicepriv.h
-Main.obj: C:/ti/TivaWare_C_Series-2.1.2.111/inc/hw_nvic.h
-Main.obj: C:/ti/TivaWare_C_Series-2.1.2.111/inc/hw_types.h
-Main.obj: C:/ti/TivaWare_C_Series-2.1.2.111/inc/hw_memmap.h
-Main.obj: C:/ti/TivaWare_C_Series-2.1.2.111/inc/hw_uart.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Modules/General/GeneralHardware.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Modules/General/../../Communication/Container.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Modules/General/../../DataDef.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/include.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/common/MessageContainer.pb-c.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/common/MessageType.pb-c.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/common/ErrorCode.pb-c.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/drivers/USB_Communication/usbcdcd.h
-Main.obj: C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/System.h
-Main.obj: C:/ti/TivaWare_C_Series-2.1.2.111/utils/ustdlib.h
-Main.obj: C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdarg.h
-Main.obj: C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/time.h
-Main.obj: C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/abi_prefix.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Common/Utilities/Utils.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Common/report/report.h
-Main.obj: C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/assert.h
-Main.obj: ../Common/Sys_PinOut_Config/Pin.h
-Main.obj: ../Common/Sys_PinOut_Config/Pin_config.h
-Main.obj: ../Common/utilities/idle_task.h
-Main.obj: ../Drivers/ADC_Sampling/ADC.h
-Main.obj: ../Drivers/Peripheral_GPIO/GPIO.h
-Main.obj: C:/ti/TivaWare_C_Series-2.1.2.111/driverlib/gpio.h
-Main.obj: ../drivers/Heater/Heater.h
-Main.obj: ../Communication/CommunicationTask.h
-Main.obj: ../drivers/twine_graphicslib/graphics_adapter.h
-Main.obj: C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdlib.h
-Main.obj: C:/ti/TivaWare_C_Series-2.1.2.111/grlib/grlib.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/drivers/Flash_Memory/Flash_Memory.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Common/Sys_PinOut_Config/MCU_MAIN_pinout.h
-Main.obj: ../Modules/Control/control.h
-Main.obj: ../Modules/Heaters/Heaters_ex.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwarePidControl.pb-c.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwarePidControlType.pb-c.h
-Main.obj: ../StateMachines/Printing/PrintingSTM.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwareDispenser.pb-c.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwareDispenserType.pb-c.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/JobSegment.pb-c.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/JobBrushStop.pb-c.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/JobDispenser.pb-c.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/DispenserStepDivision.pb-c.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/DispenserLiquidType.pb-c.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/JobRequest.pb-c.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/JobTicket.pb-c.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/ProcessParameters.pb-c.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/JobWindingMethod.pb-c.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/JobSpool.pb-c.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/JobSpoolType.pb-c.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/JobResponse.pb-c.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/JobStatus.pb-c.h
-Main.obj: ../drivers/Danser_SSI/SSI_Comm.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwareDancerType.pb-c.h
-Main.obj: ../drivers/SPI/SPI_Comm.h
-Main.obj: C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubMotorInitRequest.pb-c.h
-Main.obj: ../drivers/Uart_Comm/Uart.h
-Main.obj: ../drivers/FPGA/FPGA.h
-Main.obj: ../drivers/I2C_Communication/I2C.h
-
-../Main.c:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/Container.h:
-C:/Tango/Software/Embedded_SW/Embedded/include.h:
-C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdbool.h:
-C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdio.h:
-C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/linkage.h:
-C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdarg.h:
-C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/string.h:
-C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdint.h:
-C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdlib.h:
-C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/ctype.h:
-C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/_isfuncdcl.h:
-C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/errno.h:
-C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/_tls.h:
-C:/Tango/Software/Embedded_SW/Embedded/./common/protobuf-c/protobuf-c.h:
-C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/assert.h:
-C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/limits.h:
-C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stddef.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Semaphore.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/std.h:
-C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdarg.h:
-C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stddef.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/targets/arm/elf/std.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/targets/arm/elf/M4F.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/targets/std.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/xdc.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types__prologue.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/package/package.defs.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types__epilogue.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/package/package.defs.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags__prologue.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Main.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IHeap.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error__prologue.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Main.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error__epilogue.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Memory.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IHeap.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/package/Memory_HeapProxy.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IHeap.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IGateProvider.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/package/Main_Module_GateProxy.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IGateProvider.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags__epilogue.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Log.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Log__prologue.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Main.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Text.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Log__epilogue.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert__prologue.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Main.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert__epilogue.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Queue.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Task.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Task__prologue.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Log.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IHeap.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Queue.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/interfaces/ITaskSupport.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/interfaces/package/package.defs.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Clock.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Log.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/interfaces/ITimer.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Queue.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Swi.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Log.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Queue.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/package/Clock_TimerProxy.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/interfaces/ITimer.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/package/Task_SupportProxy.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/interfaces/ITaskSupport.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Task__epilogue.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Clock.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Event.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Event__prologue.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Diags.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Log.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Queue.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Clock.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Task.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Event__epilogue.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/BIOS.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/BIOS__prologue.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/package/package.defs.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IGateProvider.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/package/BIOS_RtsGateProxy.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IGateProvider.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/BIOS__epilogue.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/package/BIOS_RtsGateProxy.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Task.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/package/Task_SupportProxy.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/mailbox.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IHeap.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Queue.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Event.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Semaphore.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Clock.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/package/Clock_TimerProxy.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/gates/GateMutex.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/gates/package/package.defs.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IGateProvider.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Task.h:
-C:/TI/tirtos_tivac_2_16_00_08/products/bios_6_45_01_29/packages/ti/sysbios/knl/Semaphore.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Error.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/System.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Assert.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/ISystemSupport.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IModule.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IGateProvider.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/package/System_SupportProxy.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/ISystemSupport.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/package/System_Module_GateProxy.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/Types.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IInstance.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/IGateProvider.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/package/System_SupportProxy.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/package/System_Module_GateProxy.h:
-C:/ti/TivaWare_C_Series-2.1.2.111/driverlib/rom.h:
-C:/ti/TivaWare_C_Series-2.1.2.111/driverlib/sysctl.h:
-C:/ti/TivaWare_C_Series-2.1.2.111/driverlib/usb.h:
-C:/ti/TivaWare_C_Series-2.1.2.111/driverlib/interrupt.h:
-C:/ti/TivaWare_C_Series-2.1.2.111/driverlib/rom_map.h:
-C:/ti/TivaWare_C_Series-2.1.2.111/driverlib/fpu.h:
-C:/ti/TivaWare_C_Series-2.1.2.111/usblib/usblib.h:
-C:/ti/TivaWare_C_Series-2.1.2.111/usblib/device/usbdevice.h:
-C:/ti/TivaWare_C_Series-2.1.2.111/usblib/device/usbdevicepriv.h:
-C:/ti/TivaWare_C_Series-2.1.2.111/inc/hw_nvic.h:
-C:/ti/TivaWare_C_Series-2.1.2.111/inc/hw_types.h:
-C:/ti/TivaWare_C_Series-2.1.2.111/inc/hw_memmap.h:
-C:/ti/TivaWare_C_Series-2.1.2.111/inc/hw_uart.h:
-C:/Tango/Software/Embedded_SW/Embedded/Modules/General/GeneralHardware.h:
-C:/Tango/Software/Embedded_SW/Embedded/Modules/General/../../Communication/Container.h:
-C:/Tango/Software/Embedded_SW/Embedded/Modules/General/../../DataDef.h:
-C:/Tango/Software/Embedded_SW/Embedded/include.h:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/common/MessageContainer.pb-c.h:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/common/MessageType.pb-c.h:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/common/ErrorCode.pb-c.h:
-C:/Tango/Software/Embedded_SW/Embedded/drivers/USB_Communication/usbcdcd.h:
-C:/TI/xdctools_3_32_00_06_core/packages/xdc/runtime/System.h:
-C:/ti/TivaWare_C_Series-2.1.2.111/utils/ustdlib.h:
-C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdarg.h:
-C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/time.h:
-C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/abi_prefix.h:
-C:/Tango/Software/Embedded_SW/Embedded/Common/Utilities/Utils.h:
-C:/Tango/Software/Embedded_SW/Embedded/Common/report/report.h:
-C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/assert.h:
-../Common/Sys_PinOut_Config/Pin.h:
-../Common/Sys_PinOut_Config/Pin_config.h:
-../Common/utilities/idle_task.h:
-../Drivers/ADC_Sampling/ADC.h:
-../Drivers/Peripheral_GPIO/GPIO.h:
-C:/ti/TivaWare_C_Series-2.1.2.111/driverlib/gpio.h:
-../drivers/Heater/Heater.h:
-../Communication/CommunicationTask.h:
-../drivers/twine_graphicslib/graphics_adapter.h:
-C:/TI/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include/stdlib.h:
-C:/ti/TivaWare_C_Series-2.1.2.111/grlib/grlib.h:
-C:/Tango/Software/Embedded_SW/Embedded/drivers/Flash_Memory/Flash_Memory.h:
-C:/Tango/Software/Embedded_SW/Embedded/Common/Sys_PinOut_Config/MCU_MAIN_pinout.h:
-../Modules/Control/control.h:
-../Modules/Heaters/Heaters_ex.h:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwarePidControl.pb-c.h:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwarePidControlType.pb-c.h:
-../StateMachines/Printing/PrintingSTM.h:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwareDispenser.pb-c.h:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwareDispenserType.pb-c.h:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/JobSegment.pb-c.h:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/JobBrushStop.pb-c.h:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/JobDispenser.pb-c.h:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/DispenserStepDivision.pb-c.h:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/DispenserLiquidType.pb-c.h:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/JobRequest.pb-c.h:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/JobTicket.pb-c.h:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/ProcessParameters.pb-c.h:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/JobWindingMethod.pb-c.h:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/JobSpool.pb-c.h:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/JobSpoolType.pb-c.h:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/JobResponse.pb-c.h:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Printing/JobStatus.pb-c.h:
-../drivers/Danser_SSI/SSI_Comm.h:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Hardware/HardwareDancerType.pb-c.h:
-../drivers/SPI/SPI_Comm.h:
-C:/Tango/Software/Embedded_SW/Embedded/Communication/PMR/Stubs/StubMotorInitRequest.pb-c.h:
-../drivers/Uart_Comm/Uart.h:
-../drivers/FPGA/FPGA.h:
-../drivers/I2C_Communication/I2C.h:
diff --git a/Software/PMR/Messages/Common/MessageType.proto b/Software/PMR/Messages/Common/MessageType.proto
index 993d48401..12d6632c6 100644
--- a/Software/PMR/Messages/Common/MessageType.proto
+++ b/Software/PMR/Messages/Common/MessageType.proto
@@ -92,6 +92,8 @@ enum MessageType
StubDancerPositionResponse = 82;
StubSpeedSensorRequest = 83;
StubSpeedSensorResponse = 84;
+ StubIntADCReadRequest = 85;
+ StubIntADCReadResponse = 86;
//Integration
diff --git a/Software/PMR/Messages/Stubs/StubIntADCReadRequest.proto b/Software/PMR/Messages/Stubs/StubIntADCReadRequest.proto
new file mode 100644
index 000000000..aab1e6cc3
--- /dev/null
+++ b/Software/PMR/Messages/Stubs/StubIntADCReadRequest.proto
@@ -0,0 +1,9 @@
+syntax = "proto3";
+
+package Tango.PMR.Stubs;
+option java_package = "com.twine.tango.pmr.stubs";
+
+message StubIntADCReadRequest
+{
+ uint32 ADC_Device = 1; //
+} \ No newline at end of file
diff --git a/Software/PMR/Messages/Stubs/StubIntADCReadResponse.proto b/Software/PMR/Messages/Stubs/StubIntADCReadResponse.proto
new file mode 100644
index 000000000..19b419cb7
--- /dev/null
+++ b/Software/PMR/Messages/Stubs/StubIntADCReadResponse.proto
@@ -0,0 +1,13 @@
+syntax = "proto3";
+
+package Tango.PMR.Stubs;
+option java_package = "com.twine.tango.pmr.stubs";
+
+message StubIntADCReadResponse
+{
+ uint32 ADC_Device = 1; //
+ int32 Sampling_in_Bits = 2; //
+ int32 Voltage_Sampling_mv = 3; //
+ string Status = 4; // Passed/Failed
+ uint32 StatusWord = 5; // Error number/bit when the status is Failed
+} \ No newline at end of file
diff --git a/Software/Visual_Studio/Tango.PMR/Common/MessageType.cs b/Software/Visual_Studio/Tango.PMR/Common/MessageType.cs
index 56f52c4d3..87a488283 100644
--- a/Software/Visual_Studio/Tango.PMR/Common/MessageType.cs
+++ b/Software/Visual_Studio/Tango.PMR/Common/MessageType.cs
@@ -22,7 +22,7 @@ namespace Tango.PMR.Common {
static MessageTypeReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
- "ChFNZXNzYWdlVHlwZS5wcm90bxIQVGFuZ28uUE1SLkNvbW1vbirTHwoLTWVz",
+ "ChFNZXNzYWdlVHlwZS5wcm90bxIQVGFuZ28uUE1SLkNvbW1vbiqKIAoLTWVz",
"c2FnZVR5cGUSCAoETm9uZRAAEhQKEENhbGN1bGF0ZVJlcXVlc3QQAxIVChFD",
"YWxjdWxhdGVSZXNwb25zZRAEEhMKD1Byb2dyZXNzUmVxdWVzdBAFEhQKEFBy",
"b2dyZXNzUmVzcG9uc2UQBhIcChhTdHViQ2FydHJpZGdlUmVhZFJlcXVlc3QQ",
@@ -75,45 +75,46 @@ namespace Tango.PMR.Common {
"YVdyaXRlUmVnUmVxdWVzdBBPEhwKGFN0dWJUaXZhV3JpdGVSZWdSZXNwb25z",
"ZRBQEh0KGVN0dWJEYW5jZXJQb3NpdGlvblJlcXVlc3QQURIeChpTdHViRGFu",
"Y2VyUG9zaXRpb25SZXNwb25zZRBSEhoKFlN0dWJTcGVlZFNlbnNvclJlcXVl",
- "c3QQUxIbChdTdHViU3BlZWRTZW5zb3JSZXNwb25zZRBUEiUKIEV4dGVybmFs",
- "QnJpZGdlVWRwRGlzY292ZXJ5UGFja2V0EOgHEh8KGkV4dGVybmFsQ2xpZW50",
- "TG9naW5SZXF1ZXN0EOkHEiAKG0V4dGVybmFsQ2xpZW50TG9naW5SZXNwb25z",
- "ZRDqBxIhChxEaXJlY3RTeW5jaHJvbml6YXRpb25SZXF1ZXN0EOsHEiIKHURp",
- "cmVjdFN5bmNocm9uaXphdGlvblJlc3BvbnNlEOwHEhwKF092ZXJyaWRlRGF0",
- "YUJhc2VSZXF1ZXN0EO0HEh0KGE92ZXJyaWRlRGF0YUJhc2VSZXNwb25zZRDu",
- "BxIcChdTdGFydERpYWdub3N0aWNzUmVxdWVzdBDQDxIdChhTdGFydERpYWdu",
- "b3N0aWNzUmVzcG9uc2UQ0Q8SHAoXTW90b3JBYm9ydEhvbWluZ1JlcXVlc3QQ",
- "0g8SHQoYTW90b3JBYm9ydEhvbWluZ1Jlc3BvbnNlENMPEhcKEk1vdG9ySG9t",
- "aW5nUmVxdWVzdBDUDxIYChNNb3RvckhvbWluZ1Jlc3BvbnNlENUPEhgKE01v",
- "dG9ySm9nZ2luZ1JlcXVlc3QQ1g8SGQoUTW90b3JKb2dnaW5nUmVzcG9uc2UQ",
- "1w8SHQoYTW90b3JBYm9ydEpvZ2dpbmdSZXF1ZXN0ENgPEh4KGU1vdG9yQWJv",
- "cnRKb2dnaW5nUmVzcG9uc2UQ2Q8SIAobRGlzcGVuc2VyQWJvcnRIb21pbmdS",
- "ZXF1ZXN0ENoPEiEKHERpc3BlbnNlckFib3J0SG9taW5nUmVzcG9uc2UQ2w8S",
- "GwoWRGlzcGVuc2VySG9taW5nUmVxdWVzdBDcDxIcChdEaXNwZW5zZXJIb21p",
- "bmdSZXNwb25zZRDdDxIcChdEaXNwZW5zZXJKb2dnaW5nUmVxdWVzdBDeDxId",
- "ChhEaXNwZW5zZXJKb2dnaW5nUmVzcG9uc2UQ3w8SIQocRGlzcGVuc2VyQWJv",
- "cnRKb2dnaW5nUmVxdWVzdBDgDxIiCh1EaXNwZW5zZXJBYm9ydEpvZ2dpbmdS",
- "ZXNwb25zZRDhDxIZChRTZXREaWdpdGFsT3V0UmVxdWVzdBDiDxIaChVTZXRE",
- "aWdpdGFsT3V0UmVzcG9uc2UQ4w8SGQoUVGhyZWFkSm9nZ2luZ1JlcXVlc3QQ",
- "5A8SGgoVVGhyZWFkSm9nZ2luZ1Jlc3BvbnNlEOUPEh4KGVRocmVhZEFib3J0",
- "Sm9nZ2luZ1JlcXVlc3QQ5g8SHwoaVGhyZWFkQWJvcnRKb2dnaW5nUmVzcG9u",
- "c2UQ5w8SHQoYU2V0Q29tcG9uZW50VmFsdWVSZXF1ZXN0EOgPEh4KGVNldENv",
- "bXBvbmVudFZhbHVlUmVzcG9uc2UQ6Q8SGAoTUmVzb2x2ZUV2ZW50UmVxdWVz",
- "dBDqDxIZChRSZXNvbHZlRXZlbnRSZXNwb25zZRDrDxIbChZTdG9wRGlhZ25v",
- "c3RpY3NSZXF1ZXN0EOwPEhwKF1N0b3BEaWFnbm9zdGljc1Jlc3BvbnNlEO0P",
- "Eg8KCkpvYlJlcXVlc3QQuBcSEAoLSm9iUmVzcG9uc2UQuRcSFAoPQWJvcnRK",
- "b2JSZXF1ZXN0ELoXEhUKEEFib3J0Sm9iUmVzcG9uc2UQuxcSIwoeVXBsb2Fk",
- "UHJvY2Vzc1BhcmFtZXRlcnNSZXF1ZXN0ELwXEiQKH1VwbG9hZFByb2Nlc3NQ",
- "YXJhbWV0ZXJzUmVzcG9uc2UQvRcSGQoUU3RhcnREZWJ1Z0xvZ1JlcXVlc3QQ",
- "oB8SGgoVU3RhcnREZWJ1Z0xvZ1Jlc3BvbnNlEKEfEhgKE1N0b3BEZWJ1Z0xv",
- "Z1JlcXVlc3QQoh8SGQoUU3RvcERlYnVnTG9nUmVzcG9uc2UQox8SJwoiVXBs",
- "b2FkSGFyZHdhcmVDb25maWd1cmF0aW9uUmVxdWVzdBCIJxIoCiNVcGxvYWRI",
- "YXJkd2FyZUNvbmZpZ3VyYXRpb25SZXNwb25zZRCJJxIXChJTeXN0ZW1SZXNl",
- "dFJlcXVlc3QQiicSGAoTU3lzdGVtUmVzZXRSZXNwb25zZRCLJxIVChBLZWVw",
- "QWxpdmVSZXF1ZXN0EPAuEhYKEUtlZXBBbGl2ZVJlc3BvbnNlEPEuEhMKDkNv",
- "bm5lY3RSZXF1ZXN0EPIuEhQKD0Nvbm5lY3RSZXNwb25zZRDzLhIWChFEaXNj",
- "b25uZWN0UmVxdWVzdBD0LhIXChJEaXNjb25uZWN0UmVzcG9uc2UQ9S5CHAoa",
- "Y29tLnR3aW5lLnRhbmdvLnBtci5jb21tb25iBnByb3RvMw=="));
+ "c3QQUxIbChdTdHViU3BlZWRTZW5zb3JSZXNwb25zZRBUEhkKFVN0dWJJbnRB",
+ "RENSZWFkUmVxdWVzdBBVEhoKFlN0dWJJbnRBRENSZWFkUmVzcG9uc2UQVhIl",
+ "CiBFeHRlcm5hbEJyaWRnZVVkcERpc2NvdmVyeVBhY2tldBDoBxIfChpFeHRl",
+ "cm5hbENsaWVudExvZ2luUmVxdWVzdBDpBxIgChtFeHRlcm5hbENsaWVudExv",
+ "Z2luUmVzcG9uc2UQ6gcSIQocRGlyZWN0U3luY2hyb25pemF0aW9uUmVxdWVz",
+ "dBDrBxIiCh1EaXJlY3RTeW5jaHJvbml6YXRpb25SZXNwb25zZRDsBxIcChdP",
+ "dmVycmlkZURhdGFCYXNlUmVxdWVzdBDtBxIdChhPdmVycmlkZURhdGFCYXNl",
+ "UmVzcG9uc2UQ7gcSHAoXU3RhcnREaWFnbm9zdGljc1JlcXVlc3QQ0A8SHQoY",
+ "U3RhcnREaWFnbm9zdGljc1Jlc3BvbnNlENEPEhwKF01vdG9yQWJvcnRIb21p",
+ "bmdSZXF1ZXN0ENIPEh0KGE1vdG9yQWJvcnRIb21pbmdSZXNwb25zZRDTDxIX",
+ "ChJNb3RvckhvbWluZ1JlcXVlc3QQ1A8SGAoTTW90b3JIb21pbmdSZXNwb25z",
+ "ZRDVDxIYChNNb3RvckpvZ2dpbmdSZXF1ZXN0ENYPEhkKFE1vdG9ySm9nZ2lu",
+ "Z1Jlc3BvbnNlENcPEh0KGE1vdG9yQWJvcnRKb2dnaW5nUmVxdWVzdBDYDxIe",
+ "ChlNb3RvckFib3J0Sm9nZ2luZ1Jlc3BvbnNlENkPEiAKG0Rpc3BlbnNlckFi",
+ "b3J0SG9taW5nUmVxdWVzdBDaDxIhChxEaXNwZW5zZXJBYm9ydEhvbWluZ1Jl",
+ "c3BvbnNlENsPEhsKFkRpc3BlbnNlckhvbWluZ1JlcXVlc3QQ3A8SHAoXRGlz",
+ "cGVuc2VySG9taW5nUmVzcG9uc2UQ3Q8SHAoXRGlzcGVuc2VySm9nZ2luZ1Jl",
+ "cXVlc3QQ3g8SHQoYRGlzcGVuc2VySm9nZ2luZ1Jlc3BvbnNlEN8PEiEKHERp",
+ "c3BlbnNlckFib3J0Sm9nZ2luZ1JlcXVlc3QQ4A8SIgodRGlzcGVuc2VyQWJv",
+ "cnRKb2dnaW5nUmVzcG9uc2UQ4Q8SGQoUU2V0RGlnaXRhbE91dFJlcXVlc3QQ",
+ "4g8SGgoVU2V0RGlnaXRhbE91dFJlc3BvbnNlEOMPEhkKFFRocmVhZEpvZ2dp",
+ "bmdSZXF1ZXN0EOQPEhoKFVRocmVhZEpvZ2dpbmdSZXNwb25zZRDlDxIeChlU",
+ "aHJlYWRBYm9ydEpvZ2dpbmdSZXF1ZXN0EOYPEh8KGlRocmVhZEFib3J0Sm9n",
+ "Z2luZ1Jlc3BvbnNlEOcPEh0KGFNldENvbXBvbmVudFZhbHVlUmVxdWVzdBDo",
+ "DxIeChlTZXRDb21wb25lbnRWYWx1ZVJlc3BvbnNlEOkPEhgKE1Jlc29sdmVF",
+ "dmVudFJlcXVlc3QQ6g8SGQoUUmVzb2x2ZUV2ZW50UmVzcG9uc2UQ6w8SGwoW",
+ "U3RvcERpYWdub3N0aWNzUmVxdWVzdBDsDxIcChdTdG9wRGlhZ25vc3RpY3NS",
+ "ZXNwb25zZRDtDxIPCgpKb2JSZXF1ZXN0ELgXEhAKC0pvYlJlc3BvbnNlELkX",
+ "EhQKD0Fib3J0Sm9iUmVxdWVzdBC6FxIVChBBYm9ydEpvYlJlc3BvbnNlELsX",
+ "EiMKHlVwbG9hZFByb2Nlc3NQYXJhbWV0ZXJzUmVxdWVzdBC8FxIkCh9VcGxv",
+ "YWRQcm9jZXNzUGFyYW1ldGVyc1Jlc3BvbnNlEL0XEhkKFFN0YXJ0RGVidWdM",
+ "b2dSZXF1ZXN0EKAfEhoKFVN0YXJ0RGVidWdMb2dSZXNwb25zZRChHxIYChNT",
+ "dG9wRGVidWdMb2dSZXF1ZXN0EKIfEhkKFFN0b3BEZWJ1Z0xvZ1Jlc3BvbnNl",
+ "EKMfEicKIlVwbG9hZEhhcmR3YXJlQ29uZmlndXJhdGlvblJlcXVlc3QQiCcS",
+ "KAojVXBsb2FkSGFyZHdhcmVDb25maWd1cmF0aW9uUmVzcG9uc2UQiScSFwoS",
+ "U3lzdGVtUmVzZXRSZXF1ZXN0EIonEhgKE1N5c3RlbVJlc2V0UmVzcG9uc2UQ",
+ "iycSFQoQS2VlcEFsaXZlUmVxdWVzdBDwLhIWChFLZWVwQWxpdmVSZXNwb25z",
+ "ZRDxLhITCg5Db25uZWN0UmVxdWVzdBDyLhIUCg9Db25uZWN0UmVzcG9uc2UQ",
+ "8y4SFgoRRGlzY29ubmVjdFJlcXVlc3QQ9C4SFwoSRGlzY29ubmVjdFJlc3Bv",
+ "bnNlEPUuQhwKGmNvbS50d2luZS50YW5nby5wbXIuY29tbW9uYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Tango.PMR.Common.MessageType), }, null));
@@ -212,6 +213,8 @@ namespace Tango.PMR.Common {
[pbr::OriginalName("StubDancerPositionResponse")] StubDancerPositionResponse = 82,
[pbr::OriginalName("StubSpeedSensorRequest")] StubSpeedSensorRequest = 83,
[pbr::OriginalName("StubSpeedSensorResponse")] StubSpeedSensorResponse = 84,
+ [pbr::OriginalName("StubIntADCReadRequest")] StubIntAdcreadRequest = 85,
+ [pbr::OriginalName("StubIntADCReadResponse")] StubIntAdcreadResponse = 86,
/// <summary>
///Integration
/// </summary>
diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubIntADCReadRequest.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubIntADCReadRequest.cs
new file mode 100644
index 000000000..06609b4af
--- /dev/null
+++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubIntADCReadRequest.cs
@@ -0,0 +1,161 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: StubIntADCReadRequest.proto
+#pragma warning disable 1591, 0612, 3021
+#region Designer generated code
+
+using pb = global::Google.Protobuf;
+using pbc = global::Google.Protobuf.Collections;
+using pbr = global::Google.Protobuf.Reflection;
+using scg = global::System.Collections.Generic;
+namespace Tango.PMR.Stubs {
+
+ /// <summary>Holder for reflection information generated from StubIntADCReadRequest.proto</summary>
+ public static partial class StubIntADCReadRequestReflection {
+
+ #region Descriptor
+ /// <summary>File descriptor for StubIntADCReadRequest.proto</summary>
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static StubIntADCReadRequestReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "ChtTdHViSW50QURDUmVhZFJlcXVlc3QucHJvdG8SD1RhbmdvLlBNUi5TdHVi",
+ "cyIrChVTdHViSW50QURDUmVhZFJlcXVlc3QSEgoKQURDX0RldmljZRgBIAEo",
+ "DUIbChljb20udHdpbmUudGFuZ28ucG1yLnN0dWJzYgZwcm90bzM="));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { },
+ new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubIntADCReadRequest), global::Tango.PMR.Stubs.StubIntADCReadRequest.Parser, new[]{ "ADCDevice" }, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ public sealed partial class StubIntADCReadRequest : pb::IMessage<StubIntADCReadRequest> {
+ private static readonly pb::MessageParser<StubIntADCReadRequest> _parser = new pb::MessageParser<StubIntADCReadRequest>(() => new StubIntADCReadRequest());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser<StubIntADCReadRequest> Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Tango.PMR.Stubs.StubIntADCReadRequestReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubIntADCReadRequest() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubIntADCReadRequest(StubIntADCReadRequest other) : this() {
+ aDCDevice_ = other.aDCDevice_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubIntADCReadRequest Clone() {
+ return new StubIntADCReadRequest(this);
+ }
+
+ /// <summary>Field number for the "ADC_Device" field.</summary>
+ public const int ADCDeviceFieldNumber = 1;
+ private uint aDCDevice_;
+ /// <summary>
+ /// </summary>
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint ADCDevice {
+ get { return aDCDevice_; }
+ set {
+ aDCDevice_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as StubIntADCReadRequest);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(StubIntADCReadRequest other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (ADCDevice != other.ADCDevice) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (ADCDevice != 0) hash ^= ADCDevice.GetHashCode();
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (ADCDevice != 0) {
+ output.WriteRawTag(8);
+ output.WriteUInt32(ADCDevice);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (ADCDevice != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ADCDevice);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(StubIntADCReadRequest other) {
+ if (other == null) {
+ return;
+ }
+ if (other.ADCDevice != 0) {
+ ADCDevice = other.ADCDevice;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 8: {
+ ADCDevice = input.ReadUInt32();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code
diff --git a/Software/Visual_Studio/Tango.PMR/Stubs/StubIntADCReadResponse.cs b/Software/Visual_Studio/Tango.PMR/Stubs/StubIntADCReadResponse.cs
new file mode 100644
index 000000000..7e62e7424
--- /dev/null
+++ b/Software/Visual_Studio/Tango.PMR/Stubs/StubIntADCReadResponse.cs
@@ -0,0 +1,285 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: StubIntADCReadResponse.proto
+#pragma warning disable 1591, 0612, 3021
+#region Designer generated code
+
+using pb = global::Google.Protobuf;
+using pbc = global::Google.Protobuf.Collections;
+using pbr = global::Google.Protobuf.Reflection;
+using scg = global::System.Collections.Generic;
+namespace Tango.PMR.Stubs {
+
+ /// <summary>Holder for reflection information generated from StubIntADCReadResponse.proto</summary>
+ public static partial class StubIntADCReadResponseReflection {
+
+ #region Descriptor
+ /// <summary>File descriptor for StubIntADCReadResponse.proto</summary>
+ public static pbr::FileDescriptor Descriptor {
+ get { return descriptor; }
+ }
+ private static pbr::FileDescriptor descriptor;
+
+ static StubIntADCReadResponseReflection() {
+ byte[] descriptorData = global::System.Convert.FromBase64String(
+ string.Concat(
+ "ChxTdHViSW50QURDUmVhZFJlc3BvbnNlLnByb3RvEg9UYW5nby5QTVIuU3R1",
+ "YnMihwEKFlN0dWJJbnRBRENSZWFkUmVzcG9uc2USEgoKQURDX0RldmljZRgB",
+ "IAEoDRIYChBTYW1wbGluZ19pbl9CaXRzGAIgASgFEhsKE1ZvbHRhZ2VfU2Ft",
+ "cGxpbmdfbXYYAyABKAUSDgoGU3RhdHVzGAQgASgJEhIKClN0YXR1c1dvcmQY",
+ "BSABKA1CGwoZY29tLnR3aW5lLnRhbmdvLnBtci5zdHVic2IGcHJvdG8z"));
+ descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
+ new pbr::FileDescriptor[] { },
+ new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
+ new pbr::GeneratedClrTypeInfo(typeof(global::Tango.PMR.Stubs.StubIntADCReadResponse), global::Tango.PMR.Stubs.StubIntADCReadResponse.Parser, new[]{ "ADCDevice", "SamplingInBits", "VoltageSamplingMv", "Status", "StatusWord" }, null, null, null)
+ }));
+ }
+ #endregion
+
+ }
+ #region Messages
+ public sealed partial class StubIntADCReadResponse : pb::IMessage<StubIntADCReadResponse> {
+ private static readonly pb::MessageParser<StubIntADCReadResponse> _parser = new pb::MessageParser<StubIntADCReadResponse>(() => new StubIntADCReadResponse());
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pb::MessageParser<StubIntADCReadResponse> Parser { get { return _parser; } }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public static pbr::MessageDescriptor Descriptor {
+ get { return global::Tango.PMR.Stubs.StubIntADCReadResponseReflection.Descriptor.MessageTypes[0]; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
+ get { return Descriptor; }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubIntADCReadResponse() {
+ OnConstruction();
+ }
+
+ partial void OnConstruction();
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubIntADCReadResponse(StubIntADCReadResponse other) : this() {
+ aDCDevice_ = other.aDCDevice_;
+ samplingInBits_ = other.samplingInBits_;
+ voltageSamplingMv_ = other.voltageSamplingMv_;
+ status_ = other.status_;
+ statusWord_ = other.statusWord_;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public StubIntADCReadResponse Clone() {
+ return new StubIntADCReadResponse(this);
+ }
+
+ /// <summary>Field number for the "ADC_Device" field.</summary>
+ public const int ADCDeviceFieldNumber = 1;
+ private uint aDCDevice_;
+ /// <summary>
+ /// </summary>
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint ADCDevice {
+ get { return aDCDevice_; }
+ set {
+ aDCDevice_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "Sampling_in_Bits" field.</summary>
+ public const int SamplingInBitsFieldNumber = 2;
+ private int samplingInBits_;
+ /// <summary>
+ /// </summary>
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int SamplingInBits {
+ get { return samplingInBits_; }
+ set {
+ samplingInBits_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "Voltage_Sampling_mv" field.</summary>
+ public const int VoltageSamplingMvFieldNumber = 3;
+ private int voltageSamplingMv_;
+ /// <summary>
+ /// </summary>
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int VoltageSamplingMv {
+ get { return voltageSamplingMv_; }
+ set {
+ voltageSamplingMv_ = value;
+ }
+ }
+
+ /// <summary>Field number for the "Status" field.</summary>
+ public const int StatusFieldNumber = 4;
+ private string status_ = "";
+ /// <summary>
+ /// Passed/Failed
+ /// </summary>
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public string Status {
+ get { return status_; }
+ set {
+ status_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
+ }
+ }
+
+ /// <summary>Field number for the "StatusWord" field.</summary>
+ public const int StatusWordFieldNumber = 5;
+ private uint statusWord_;
+ /// <summary>
+ /// Error number/bit when the status is Failed
+ /// </summary>
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public uint StatusWord {
+ get { return statusWord_; }
+ set {
+ statusWord_ = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override bool Equals(object other) {
+ return Equals(other as StubIntADCReadResponse);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public bool Equals(StubIntADCReadResponse other) {
+ if (ReferenceEquals(other, null)) {
+ return false;
+ }
+ if (ReferenceEquals(other, this)) {
+ return true;
+ }
+ if (ADCDevice != other.ADCDevice) return false;
+ if (SamplingInBits != other.SamplingInBits) return false;
+ if (VoltageSamplingMv != other.VoltageSamplingMv) return false;
+ if (Status != other.Status) return false;
+ if (StatusWord != other.StatusWord) return false;
+ return true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override int GetHashCode() {
+ int hash = 1;
+ if (ADCDevice != 0) hash ^= ADCDevice.GetHashCode();
+ if (SamplingInBits != 0) hash ^= SamplingInBits.GetHashCode();
+ if (VoltageSamplingMv != 0) hash ^= VoltageSamplingMv.GetHashCode();
+ if (Status.Length != 0) hash ^= Status.GetHashCode();
+ if (StatusWord != 0) hash ^= StatusWord.GetHashCode();
+ return hash;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public override string ToString() {
+ return pb::JsonFormatter.ToDiagnosticString(this);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void WriteTo(pb::CodedOutputStream output) {
+ if (ADCDevice != 0) {
+ output.WriteRawTag(8);
+ output.WriteUInt32(ADCDevice);
+ }
+ if (SamplingInBits != 0) {
+ output.WriteRawTag(16);
+ output.WriteInt32(SamplingInBits);
+ }
+ if (VoltageSamplingMv != 0) {
+ output.WriteRawTag(24);
+ output.WriteInt32(VoltageSamplingMv);
+ }
+ if (Status.Length != 0) {
+ output.WriteRawTag(34);
+ output.WriteString(Status);
+ }
+ if (StatusWord != 0) {
+ output.WriteRawTag(40);
+ output.WriteUInt32(StatusWord);
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public int CalculateSize() {
+ int size = 0;
+ if (ADCDevice != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ADCDevice);
+ }
+ if (SamplingInBits != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(SamplingInBits);
+ }
+ if (VoltageSamplingMv != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(VoltageSamplingMv);
+ }
+ if (Status.Length != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeStringSize(Status);
+ }
+ if (StatusWord != 0) {
+ size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StatusWord);
+ }
+ return size;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(StubIntADCReadResponse other) {
+ if (other == null) {
+ return;
+ }
+ if (other.ADCDevice != 0) {
+ ADCDevice = other.ADCDevice;
+ }
+ if (other.SamplingInBits != 0) {
+ SamplingInBits = other.SamplingInBits;
+ }
+ if (other.VoltageSamplingMv != 0) {
+ VoltageSamplingMv = other.VoltageSamplingMv;
+ }
+ if (other.Status.Length != 0) {
+ Status = other.Status;
+ }
+ if (other.StatusWord != 0) {
+ StatusWord = other.StatusWord;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
+ public void MergeFrom(pb::CodedInputStream input) {
+ uint tag;
+ while ((tag = input.ReadTag()) != 0) {
+ switch(tag) {
+ default:
+ input.SkipLastField();
+ break;
+ case 8: {
+ ADCDevice = input.ReadUInt32();
+ break;
+ }
+ case 16: {
+ SamplingInBits = input.ReadInt32();
+ break;
+ }
+ case 24: {
+ VoltageSamplingMv = input.ReadInt32();
+ break;
+ }
+ case 34: {
+ Status = input.ReadString();
+ break;
+ }
+ case 40: {
+ StatusWord = input.ReadUInt32();
+ break;
+ }
+ }
+ }
+ }
+
+ }
+
+ #endregion
+
+}
+
+#endregion Designer generated code