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.
Fork of Sean_AdiSense1000_V21 by
Diff: sensor2_bridge-6w-pressure_config.c
- Branch:
- v2.0
- Revision:
- 29:57edca10d78c
- Parent:
- 27:567abf893938
- Child:
- 31:de49744b57a6
diff -r 567abf893938 -r 57edca10d78c sensor2_bridge-6w-pressure_config.c --- a/sensor2_bridge-6w-pressure_config.c Mon Mar 26 20:28:05 2018 +0100 +++ b/sensor2_bridge-6w-pressure_config.c Tue May 22 13:45:24 2018 +0100 @@ -54,24 +54,13 @@ .dataReadyMode = ADI_SENSE_1000_DATAREADY_PER_CYCLE, }, .channels = { - [ADI_SENSE_1000_CHANNEL_ID_CJC_0] = { - .enableChannel = false, - }, - [ADI_SENSE_1000_CHANNEL_ID_CJC_1] = { - .enableChannel = false, - }, - [ADI_SENSE_1000_CHANNEL_ID_SENSOR_0] = { - .enableChannel = false, - }, - [ADI_SENSE_1000_CHANNEL_ID_SENSOR_1] = { - .enableChannel = false, - }, [ADI_SENSE_1000_CHANNEL_ID_SENSOR_2] = { .enableChannel = true, .disablePublishing = false, .compensationChannel = ADI_SENSE_1000_CHANNEL_ID_NONE, .measurementsPerCycle = 10, .extraSettlingTime = 0, + .enableUnityLut = true, .adcChannelConfig = { .sensor = ADI_SENSE_1000_ADC_SENSOR_BRIDGE_6WIRE_1_DEF_L2, .gain = ADI_SENSE_1000_ADC_GAIN_1X, @@ -85,30 +74,6 @@ .enableVbias = false, }, }, - [ADI_SENSE_1000_CHANNEL_ID_SENSOR_3] = { - .enableChannel = false, - }, - [ADI_SENSE_1000_CHANNEL_ID_VOLTAGE_0] = { - .enableChannel = false, - }, - [ADI_SENSE_1000_CHANNEL_ID_CURRENT_0] = { - .enableChannel = false, - }, - [ADI_SENSE_1000_CHANNEL_ID_I2C_0] = { - .enableChannel = false, - }, - [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, - }, }, }, };