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.
Revision 44:c958804b8331, committed 2019-12-18
- Comitter:
- diazdgeorge
- Date:
- Wed Dec 18 09:11:33 2019 +0000
- Parent:
- 43:10533736e80e
- Commit message:
- Added support for .excitationState and .groundSwitch on all config files
Changed in this revision
--- a/bridge_4w_load_cell_config.c Wed Dec 18 09:02:47 2019 +0000 +++ b/bridge_4w_load_cell_config.c Wed Dec 18 09:11:33 2019 +0000 @@ -52,6 +52,8 @@ .measurement = { .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_CLOSED, .cycleInterval = 0, .RSenseValue = 1000.0, },
--- a/i2c0_sensirionSHT3X_config.c Wed Dec 18 09:02:47 2019 +0000 +++ b/i2c0_sensirionSHT3X_config.c Wed Dec 18 09:11:33 2019 +0000 @@ -53,6 +53,8 @@ .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, + .excitationState= ADMW1001_ADC_EXC_STATE_CYCLE_POWER, + .groundSwitch = ADMW1001_ADC_GND_SW_OPEN, }, .diagnostics = { .disableGlobalDiag = true,
--- a/multichannel_continuous_config.c Wed Dec 18 09:02:47 2019 +0000 +++ b/multichannel_continuous_config.c Wed Dec 18 09:11:33 2019 +0000 @@ -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,
--- a/multichannel_singlecycle_config.c Wed Dec 18 09:02:47 2019 +0000 +++ b/multichannel_singlecycle_config.c Wed Dec 18 09:11:33 2019 +0000 @@ -52,6 +52,8 @@ .externalRefVoltage=0.0, .operatingMode = ADMW1001_OPERATING_MODE_SINGLECYCLE, .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 = true, .RSenseValue = 1000.0,
--- a/rtd_3w_pt100_config.c Wed Dec 18 09:02:47 2019 +0000 +++ b/rtd_3w_pt100_config.c Wed Dec 18 09:11:33 2019 +0000 @@ -53,6 +53,8 @@ .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,
--- a/rtd_4w_config.c Wed Dec 18 09:02:47 2019 +0000 +++ b/rtd_4w_config.c Wed Dec 18 09:11:33 2019 +0000 @@ -53,6 +53,8 @@ .externalRefVoltage = 0.0, .operatingMode = ADMW1001_OPERATING_MODE_SINGLECYCLE, .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, .RSenseValue = 1000.0, },
--- a/thermocouple_typeJ_cjc0_config.c Wed Dec 18 09:02:47 2019 +0000 +++ b/thermocouple_typeJ_cjc0_config.c Wed Dec 18 09:11:33 2019 +0000 @@ -55,6 +55,8 @@ .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, .RSenseValue = 1000.0, },
--- a/thermocouple_typeK_cjc0_config.c Wed Dec 18 09:02:47 2019 +0000 +++ b/thermocouple_typeK_cjc0_config.c Wed Dec 18 09:11:33 2019 +0000 @@ -57,8 +57,8 @@ .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,
--- a/thermocouple_typeT_cjc0_config.c Wed Dec 18 09:02:47 2019 +0000 +++ b/thermocouple_typeT_cjc0_config.c Wed Dec 18 09:11:33 2019 +0000 @@ -52,6 +52,8 @@ .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, .RSenseValue = 1000.0, },