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: rtd_3w_pt100_config.c
- Revision:
- 51:e013f4d2fb9a
- Parent:
- 45:f5f553b8c0d5
--- a/rtd_3w_pt100_config.c Mon Feb 17 11:23:39 2020 +0000 +++ b/rtd_3w_pt100_config.c Fri Mar 06 17:03:18 2020 +0000 @@ -53,8 +53,6 @@ .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_CYCLE_POWER, - .groundSwitch = ADMW1001_ADC_GND_SW_OPEN, .cycleInterval = 0, .vBiasEnable = false, .RSenseValue = 1000.0, @@ -62,7 +60,7 @@ .diagnostics = { .disableGlobalDiag = true, .disableMeasurementDiag = true, - .osdFrequency = 0, + .osdFrequency = ADMW1001_OPEN_SENSOR_DIAGNOSTICS_DISABLED, }, .channels = { [ADMW1001_CH_ID_ANLG_1_UNIVERSAL] = { @@ -85,6 +83,7 @@ .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, }, @@ -93,6 +92,7 @@ .sf = ADMW1001_SF_8P24HZ, .chopMode = ADMW1001_CHOP_MD_SW, .notch1p2 = false, + .groundSwitch = ADMW1001_ADC_GND_SW_OPEN }, .reference = ADMW1001_ADC_REFERENCE_VOLTAGE_INTERNAL, },