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: sensor2_bridge-6w-pressure_config.c
- Revision:
- 8:2f2775c34640
- Parent:
- 6:9d393a9677f4
--- a/sensor2_bridge-6w-pressure_config.c Tue Jun 18 09:28:16 2019 +0000
+++ b/sensor2_bridge-6w-pressure_config.c Thu Jun 20 18:13:57 2019 +0000
@@ -54,23 +54,21 @@
.dataReadyMode = ADMW1001_DATAREADY_PER_CYCLE,
},
.channels = {
- [ADMW1001_CHANNEL_ID_ANALOG_1_UNIVERSAL] = {
+ [ADMW1001_CH_ID_ANLG_1_UNIVERSAL] = {
.enableChannel = true,
.disablePublishing = false,
- .compensationChannel = ADMW1001_CHANNEL_ID_NONE,
+ .compensationChannel = ADMW1001_CH_ID_NONE,
.measurementsPerCycle = 10,
.extraSettlingTime = 0,
- .enableUnityLut = true,
.adcChannelConfig = {
- .sensor = ADMW1001_ADC_SENSOR_BRIDGE_6WIRE_1_DEF_L2,
+ .sensor = ADMW1001_ADC_SENSOR_BRIDGE_6WIRE_1,
.gain = ADMW1001_ADC_GAIN_1X,
.filter = {
.type = ADMW1001_ADC_FILTER_SINC4,
},
.reference = {
- .type = ADMW1001_ADC_REFERENCE_BRIDGE_EXCITATION,
+ ADMW1001_ADC_REFERENCE_VOLTAGE_AVDD,
},
- .enableVbias = false,
},
},
},