Mbed Development branch for MeasrueWare

Revision:
37:6acfbb4405cd
Parent:
27:4c8d8ee6fcbd
Child:
42:c9c5a22e539e
--- a/rtd_4w_config.c	Tue Nov 19 12:10:45 2019 +0000
+++ b/rtd_4w_config.c	Thu Nov 21 09:26:54 2019 +0000
@@ -43,16 +43,18 @@
 #include "admw_config_types.h"
 
 ADMW_CONFIG rtd_4w_config = {
-    .versionId = { .major = 2, .minor = 0 },
+   .versionId = { .major = 2, .minor = 0 },
     .productId = ADMW_PRODUCT_ID_ADMW1001,
     .admw1001 = {
         .power = {
             .powerMode = ADMW1001_POWER_MODE_ACTIVE,
         },
         .measurement = {
+            .externalRefVoltage = 0.0,
             .operatingMode = ADMW1001_OPERATING_MODE_CONTINUOUS,
             .dataReadyMode = ADMW1001_DATAREADY_PER_CYCLE, // FIX: Temporarily all values from json are hardcoded to this one in the Contracts.FileGenerator - > file translations!!
             .cycleInterval = 0,
+            .RSenseValue = 1000.0, 
         },
         .diagnostics = {
             .disableGlobalDiag = true,
@@ -92,6 +94,7 @@
                         .groundSwitch = ADMW1001_ADC_GND_SW_OPEN
                     },
                     .reference = ADMW1001_ADC_REFERENCE_VOLTAGE_INTERNAL,
+                    .bufferBypass = ADMW1001_BUFFER_BYPASSS_DISABLED,
                 },
             },
         },