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_multicycle_config.c
- Revision:
- 28:4eb837cd71df
- Parent:
- 25:c5bff546082f
--- a/multichannel_multicycle_config.c Mon Mar 26 14:50:05 2018 +0000
+++ b/multichannel_multicycle_config.c Thu May 17 10:34:45 2018 +0100
@@ -62,6 +62,7 @@
.enableChannel = true,
.disablePublishing = false,
.compensationChannel = ADI_SENSE_1000_CHANNEL_ID_NONE,
+ .measurementUnit = ADI_SENSE_1000_MEASUREMENT_UNIT_CELSIUS,
.measurementsPerCycle = 10,
.extraSettlingTime = 0,
.adcChannelConfig = {
@@ -84,6 +85,7 @@
.enableChannel = true,
.disablePublishing = false,
.compensationChannel = ADI_SENSE_1000_CHANNEL_ID_NONE,
+ .measurementUnit = ADI_SENSE_1000_MEASUREMENT_UNIT_CELSIUS,
.measurementsPerCycle = 10,
.extraSettlingTime = 0,
.adcChannelConfig = {
@@ -106,6 +108,7 @@
.enableChannel = true,
.disablePublishing = false,
.compensationChannel = ADI_SENSE_1000_CHANNEL_ID_NONE,
+ .measurementUnit = ADI_SENSE_1000_MEASUREMENT_UNIT_CELSIUS,
.measurementsPerCycle = 10,
.extraSettlingTime = 0,
.adcChannelConfig = {
@@ -128,6 +131,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 = {
@@ -147,6 +151,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 = {
@@ -166,6 +171,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 = {
@@ -188,7 +194,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,
@@ -207,7 +213,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,
@@ -226,23 +232,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,
- },
},
},
};
-