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 AdiSense1000_V21 by
sensor2_bridge-6w-pressure_config.c
00001 00002 /*! 00003 ****************************************************************************** 00004 * @file: sensor2_bridge_6w_pressure_config 00005 * @brief: Initilize the sensor configuration 00006 *----------------------------------------------------------------------------- 00007 */ 00008 #include "adi_sense_config_types.h" 00009 00010 ADI_SENSE_CONFIG sensor2_bridge_6w_pressure_config = 00011 { 00012 .versionId = { .major = 1, .minor = 4 }, 00013 .productId = ADI_SENSE_PRODUCT_ID_ADSNS1000 , 00014 .adisense1000 = 00015 { 00016 .power = 00017 { 00018 .powerMode = ADI_SENSE_1000_POWER_MODE_FULL , 00019 }, 00020 .measurement = 00021 { 00022 .operatingMode = ADI_SENSE_1000_OPERATING_MODE_CONTINUOUS , 00023 .dataReadyMode = ADI_SENSE_1000_DATAREADY_PER_CYCLE , 00024 }, 00025 00026 /* 00027 Define the channels and operating mode 00028 */ 00029 .channels = 00030 { 00031 [ADI_SENSE_1000_CHANNEL_ID_SENSOR_3 ] = 00032 { 00033 .enableChannel = true, 00034 .disablePublishing = false, 00035 .compensationChannel = ADI_SENSE_1000_CHANNEL_ID_NONE , 00036 .measurementsPerCycle = 1, 00037 .extraSettlingTime = 20000, 00038 .adcChannelConfig = 00039 { 00040 .sensor = ADI_SENSE_1000_ADC_SENSOR_BRIDGE_4WIRE_1_DEF_L2 , 00041 .gain = ADI_SENSE_1000_ADC_GAIN_1X , 00042 .filter = 00043 { 00044 .type = ADI_SENSE_1000_ADC_FILTER_FIR_25SPS , 00045 }, 00046 .reference = 00047 { 00048 .type = ADI_SENSE_1000_ADC_REFERENCE_BRIDGE_EXCITATION , 00049 .disableBuffer = false, 00050 }, 00051 .enableVbias = false, 00052 }, 00053 }, 00054 00055 [ADI_SENSE_1000_CHANNEL_ID_SENSOR_2 ] = 00056 { 00057 .enableChannel = true, 00058 .disablePublishing = false, 00059 .compensationChannel = ADI_SENSE_1000_CHANNEL_ID_NONE , 00060 .measurementsPerCycle = 1, 00061 .extraSettlingTime = 20000, 00062 .adcChannelConfig = 00063 { 00064 .sensor = ADI_SENSE_1000_ADC_SENSOR_BRIDGE_4WIRE_2_DEF_L2 , 00065 .gain = ADI_SENSE_1000_ADC_GAIN_1X , 00066 .filter = 00067 { 00068 .type = ADI_SENSE_1000_ADC_FILTER_FIR_25SPS , 00069 }, 00070 .reference = 00071 { 00072 .type = ADI_SENSE_1000_ADC_REFERENCE_BRIDGE_EXCITATION , 00073 .disableBuffer = false, 00074 }, 00075 .enableVbias = false, 00076 }, 00077 }, 00078 00079 [ADI_SENSE_1000_CHANNEL_ID_SENSOR_1 ] = 00080 { 00081 .enableChannel = true, 00082 .disablePublishing = false, 00083 .compensationChannel = ADI_SENSE_1000_CHANNEL_ID_NONE , 00084 .measurementsPerCycle = 1, 00085 .extraSettlingTime = 20000, 00086 .adcChannelConfig = 00087 { 00088 .sensor = ADI_SENSE_1000_ADC_SENSOR_BRIDGE_4WIRE_3_DEF_L2 , 00089 .gain = ADI_SENSE_1000_ADC_GAIN_1X , 00090 .filter = 00091 { 00092 .type = ADI_SENSE_1000_ADC_FILTER_FIR_25SPS , 00093 }, 00094 .reference = 00095 { 00096 .type = ADI_SENSE_1000_ADC_REFERENCE_BRIDGE_EXCITATION , 00097 .disableBuffer = false, 00098 }, 00099 .enableVbias = false, 00100 }, 00101 }, 00102 00103 [ADI_SENSE_1000_CHANNEL_ID_SENSOR_0 ] = 00104 { 00105 .enableChannel = true, 00106 .disablePublishing = false, 00107 .compensationChannel = ADI_SENSE_1000_CHANNEL_ID_NONE , 00108 .measurementsPerCycle = 1, 00109 .extraSettlingTime = 20000, 00110 .adcChannelConfig = 00111 { 00112 .sensor = ADI_SENSE_1000_ADC_SENSOR_BRIDGE_4WIRE_4_DEF_L2 , 00113 .gain = ADI_SENSE_1000_ADC_GAIN_1X , 00114 .filter = 00115 { 00116 .type = ADI_SENSE_1000_ADC_FILTER_FIR_25SPS , 00117 }, 00118 .reference = 00119 { 00120 .type = ADI_SENSE_1000_ADC_REFERENCE_BRIDGE_EXCITATION , 00121 .disableBuffer = false, 00122 }, 00123 .enableVbias = false, 00124 }, 00125 }, 00126 00127 }, 00128 }, 00129 }; 00130
Generated on Wed Jul 13 2022 04:26:17 by
1.7.2
