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: sensor1_rtd-3w-pt100_config.c
- Revision:
- 8:2f2775c34640
- Parent:
- 6:9d393a9677f4
- Child:
- 11:8e6023d2e584
--- a/sensor1_rtd-3w-pt100_config.c Tue Jun 18 09:28:16 2019 +0000
+++ b/sensor1_rtd-3w-pt100_config.c Thu Jun 20 18:13:57 2019 +0000
@@ -54,15 +54,15 @@
.dataReadyMode = ADMW1001_DATAREADY_PER_CYCLE,
},
.channels = {
- [ADMW1001_CHANNEL_ID_ANALOG_2_DIFFERENTIAL] = {
+ [ADMW1001_CH_ID_ANLG_2_UNIVERSAL] = {
.enableChannel = true,
.disablePublishing = false,
- .compensationChannel = ADMW1001_CHANNEL_ID_NONE,
+ .compensationChannel = ADMW1001_CH_ID_NONE,
.measurementUnit = ADMW1001_MEASUREMENT_UNIT_CELSIUS,
.measurementsPerCycle = 10,
.extraSettlingTime = 0,
.adcChannelConfig = {
- .sensor = ADMW1001_ADC_SENSOR_RTD_3WIRE_PT100_DEF_L1,
+ .sensor = ADMW1001_ADC_SENSOR_RTD_3WIRE_PT100,
.gain = ADMW1001_ADC_GAIN_8X,
.current = {
.outputLevel = ADMW1001_ADC_EXC_CURRENT_250uA,
@@ -71,9 +71,8 @@
.type = ADMW1001_ADC_FILTER_SINC3,
},
.reference = {
- .type = ADMW1001_ADC_REFERENCE_RESISTOR_INTERNAL_1,
+ ADMW1001_ADC_REFERENCE_VOLTAGE_INTERNAL,
},
- .enableVbias = false,
},
},
},