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_singlecycle_config.c
- Revision:
- 28:4eb837cd71df
- Parent:
- 25:c5bff546082f
--- a/multichannel_singlecycle_config.c Mon Mar 26 14:50:05 2018 +0000
+++ b/multichannel_singlecycle_config.c Thu May 17 10:34:45 2018 +0100
@@ -57,6 +57,7 @@
.enableChannel = true,
.disablePublishing = false,
.compensationChannel = ADI_SENSE_1000_CHANNEL_ID_NONE,
+ .measurementUnit = ADI_SENSE_1000_MEASUREMENT_UNIT_CELSIUS,
.measurementsPerCycle = 10,
.extraSettlingTime = 0,
.adcChannelConfig = {
@@ -79,6 +80,7 @@
.enableChannel = true,
.disablePublishing = false,
.compensationChannel = ADI_SENSE_1000_CHANNEL_ID_NONE,
+ .measurementUnit = ADI_SENSE_1000_MEASUREMENT_UNIT_CELSIUS,
.measurementsPerCycle = 10,
.extraSettlingTime = 0,
.adcChannelConfig = {
@@ -101,6 +103,7 @@
.enableChannel = true,
.disablePublishing = false,
.compensationChannel = ADI_SENSE_1000_CHANNEL_ID_NONE,
+ .measurementUnit = ADI_SENSE_1000_MEASUREMENT_UNIT_CELSIUS,
.measurementsPerCycle = 10,
.extraSettlingTime = 0,
.adcChannelConfig = {
@@ -123,6 +126,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 = {
@@ -142,6 +146,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 = {
@@ -161,6 +166,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 = {
@@ -183,7 +189,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,
@@ -202,7 +208,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,
@@ -221,23 +227,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,
- },
},
},
};
-