Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: multichannel_continuous_config.c
- Revision:
- 43:e1789b7214cf
- Parent:
- 39:e255f52072fc
- Child:
- 45:f5f553b8c0d5
--- a/multichannel_continuous_config.c Tue Dec 10 09:00:11 2019 +0000
+++ b/multichannel_continuous_config.c Tue Jan 07 05:45:58 2020 +0000
@@ -42,7 +42,7 @@
#include "admw_config_types.h"
ADMW_CONFIG multichannel_continuous_config = {
- .versionId = { .major = 2, .minor = 0 },
+ .versionId = { .major = 2, .minor = 0 },
.productId = ADMW_PRODUCT_ID_ADMW1001,
.admw1001 = {
.power = {
@@ -52,9 +52,13 @@
.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!!
+ .excitationState= ADMW1001_ADC_EXC_STATE_ALWAYS_ON,
+ .groundSwitch = ADMW1001_ADC_GND_SW_CLOSED,
+ .excitationState= ADMW1001_ADC_EXC_STATE_CYCLE_POWER,
+ .groundSwitch = ADMW1001_ADC_GND_SW_OPEN,
.cycleInterval = 0,
.vBiasEnable = true,
- .RSenseValue = 1000.0,
+ .RSenseValue = 1000.0,
},
.diagnostics = {
.disableGlobalDiag = true,
@@ -82,7 +86,6 @@
.rtdCurve = ADMW1001_ADC_RTD_CURVE_EUROPEAN,
.gain = ADMW1001_ADC_GAIN_1X,
.current = {
- .excitationState= ADMW1001_ADC_EXC_STATE_ALWAYS_ON,
.outputLevel = ADMW1001_ADC_EXC_CURRENT_250uA,
.diodeRatio = 0,
},
@@ -91,7 +94,6 @@
.sf = ADMW1001_SF_8P24HZ,
.chopMode = ADMW1001_CHOP_MD_SW,
.notch1p2 = false,
- .groundSwitch = ADMW1001_ADC_GND_SW_OPEN
},
.reference = ADMW1001_ADC_REFERENCE_VOLTAGE_INTERNAL,
.bufferBypass = ADMW1001_BUFFER_BYPASSS_DISABLED,
@@ -117,7 +119,6 @@
.rtdCurve = ADMW1001_ADC_RTD_CURVE_EUROPEAN,
.gain = ADMW1001_ADC_GAIN_8X,
.current = {
- .excitationState= ADMW1001_ADC_EXC_STATE_CYCLE_POWER,
.outputLevel = ADMW1001_ADC_NO_EXTERNAL_EXC_CURRENT,
.diodeRatio = 0,
},
@@ -126,7 +127,6 @@
.sf = ADMW1001_SF_8P24HZ,
.chopMode = ADMW1001_CHOP_MD_SW,
.notch1p2 = false,
- .groundSwitch = ADMW1001_ADC_GND_SW_OPEN
},
.reference = ADMW1001_ADC_REFERENCE_VOLTAGE_INTERNAL,
.bufferBypass = ADMW1001_BUFFER_BYPASSS_DISABLED,