ADISense1000 Version 2.1 code base

Fork of AdiSense1000_V21 by Sean Wilson

Revision:
28:4eb837cd71df
Parent:
25:c5bff546082f
--- a/sensor2_bridge-6w-pressure_config.c	Mon Mar 26 14:50:05 2018 +0000
+++ b/sensor2_bridge-6w-pressure_config.c	Thu May 17 10:34:45 2018 +0100
@@ -1,9 +1,4 @@
-/*!
- ******************************************************************************
- * @file:   sensor2_bridge-6w-pressure_config.cpp
- * @brief:
- *-----------------------------------------------------------------------------
- *
+/*
 Copyright 2017 (c) Analog Devices, Inc.
 
 All rights reserved.
@@ -39,6 +34,12 @@
  *
  *****************************************************************************/
 
+/*!
+ ******************************************************************************
+ * @file:
+ * @brief:
+ *-----------------------------------------------------------------------------
+ */
 #include "inc/adi_sense_config_types.h"
 
 ADI_SENSE_CONFIG sensor2_bridge_6w_pressure_config = {
@@ -53,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,
@@ -84,31 +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,
-            },
         },
     },
 };
-