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:
- 28:4eb837cd71df
- Parent:
- 25:c5bff546082f
--- a/multichannel_continuous_config.c Mon Mar 26 14:50:05 2018 +0000
+++ b/multichannel_continuous_config.c Thu May 17 10:34:45 2018 +0100
@@ -58,6 +58,7 @@
.enableChannel = true,
.disablePublishing = false,
.compensationChannel = ADI_SENSE_1000_CHANNEL_ID_NONE,
+ .measurementUnit = ADI_SENSE_1000_MEASUREMENT_UNIT_CELSIUS,
.measurementsPerCycle = 10,
.extraSettlingTime = 0,
.adcChannelConfig = {
@@ -80,6 +81,7 @@
.enableChannel = true,
.disablePublishing = false,
.compensationChannel = ADI_SENSE_1000_CHANNEL_ID_NONE,
+ .measurementUnit = ADI_SENSE_1000_MEASUREMENT_UNIT_CELSIUS,
.measurementsPerCycle = 10,
.extraSettlingTime = 0,
.adcChannelConfig = {
@@ -102,6 +104,7 @@
.enableChannel = true,
.disablePublishing = false,
.compensationChannel = ADI_SENSE_1000_CHANNEL_ID_NONE,
+ .measurementUnit = ADI_SENSE_1000_MEASUREMENT_UNIT_CELSIUS,
.measurementsPerCycle = 10,
.extraSettlingTime = 0,
.adcChannelConfig = {
@@ -124,6 +127,7 @@
.enableChannel = true,
.disablePublishing = false,
.compensationChannel = ADI_SENSE_1000_CHANNEL_ID_CJC_1,
+ .measurementUnit = ADI_SENSE_1000_MEASUREMENT_UNIT_CELSIUS,
.measurementsPerCycle = 10,
.extraSettlingTime = 0,
.adcChannelConfig = {
@@ -143,6 +147,7 @@
.enableChannel = true,
.disablePublishing = false,
.compensationChannel = ADI_SENSE_1000_CHANNEL_ID_CJC_0,
+ .measurementUnit = ADI_SENSE_1000_MEASUREMENT_UNIT_CELSIUS,
.measurementsPerCycle = 10,
.extraSettlingTime = 0,
.adcChannelConfig = {
@@ -162,6 +167,7 @@
.enableChannel = true,
.disablePublishing = false,
.compensationChannel = ADI_SENSE_1000_CHANNEL_ID_CJC_0,
+ .measurementUnit = ADI_SENSE_1000_MEASUREMENT_UNIT_CELSIUS,
.measurementsPerCycle = 10,
.extraSettlingTime = 0,
.adcChannelConfig = {
@@ -184,7 +190,7 @@
.measurementsPerCycle = 10,
.extraSettlingTime = 0,
.adcChannelConfig = {
- .sensor = ADI_SENSE_1000_ADC_SENSOR_VOLTAGE_PRESSURE_HONEYWELL_TRUSTABILITY,
+ .sensor = ADI_SENSE_1000_ADC_SENSOR_VOLTAGE_PRESSURE_A_DEF_L1,
.gain = ADI_SENSE_1000_ADC_GAIN_2X,
.filter = {
.type = ADI_SENSE_1000_ADC_FILTER_FIR_25SPS,
@@ -203,7 +209,7 @@
.measurementsPerCycle = 10,
.extraSettlingTime = 0,
.adcChannelConfig = {
- .sensor = ADI_SENSE_1000_ADC_SENSOR_CURRENT_PRESSURE_HONEYWELL_PX2,
+ .sensor = ADI_SENSE_1000_ADC_SENSOR_CURRENT_PRESSURE_A_DEF_L1,
.gain = ADI_SENSE_1000_ADC_GAIN_2X,
.filter = {
.type = ADI_SENSE_1000_ADC_FILTER_FIR_25SPS,
@@ -222,23 +228,10 @@
.measurementsPerCycle = 10,
.extraSettlingTime = 36500,
.i2cChannelConfig = {
- .sensor = ADI_SENSE_1000_I2C_SENSOR_HUMIDITY_HONEYWELL_HUMIDICON,
+ .sensor = ADI_SENSE_1000_I2C_SENSOR_HUMIDITY_A_DEF_L1,
.deviceAddress = 0x27,
},
},
- [ADI_SENSE_1000_CHANNEL_ID_I2C_1] = {
- .enableChannel = false,
- },
- [ADI_SENSE_1000_CHANNEL_ID_SPI_0] = {
- .enableChannel = false,
- },
- [ADI_SENSE_1000_CHANNEL_ID_SPI_1] = {
- .enableChannel = false,
- },
- [ADI_SENSE_1000_CHANNEL_ID_SPI_2] = {
- .enableChannel = false,
- },
},
},
};
-