Vybhav Kadaba
/
EV-PRO-MW1001_Development_20April
Code clean up and handling FIFO errors
Diff: i2c0_sensirionSHT3X_config.c
- Revision:
- 56:38b36e947602
- Parent:
- 45:f5f553b8c0d5
- Child:
- 58:aa9cd5072f66
diff -r 215da406282b -r 38b36e947602 i2c0_sensirionSHT3X_config.c --- a/i2c0_sensirionSHT3X_config.c Mon Feb 24 07:04:35 2020 +0000 +++ b/i2c0_sensirionSHT3X_config.c Mon Feb 24 08:49:25 2020 +0000 @@ -50,29 +50,25 @@ .powerMode = ADMW1001_POWER_MODE_ACTIVE, }, .measurement = { + .externalRefVoltage=0.0, + .AVDDVoltage=3.0, .operatingMode = ADMW1001_OPERATING_MODE_CONTINUOUS, - .dataReadyMode = ADMW1001_DATAREADY_PER_CYCLE, // FIX: Temporarily all values from json are hardcoded to this one in the Contracts.FileGenerator - > file translations!! + .dataReadyMode = ADMW1001_DATAREADY_PER_CYCLE, .cycleInterval = 0, - }, - .diagnostics = { - .disableGlobalDiag = true, - .disableMeasurementDiag = true, - .osdFrequency = 0, + .excitationState = ADMW1001_ADC_EXC_STATE_CYCLE_POWER, }, .channels = { [ADMW1001_CH_ID_DIG_I2C_0] = { .enableChannel = true, -// .gain = ADMW1001_ADC_GAIN_1X, .disablePublishing = false, .compensationChannel = ADMW1001_CH_ID_NONE, .measurementUnit = ADMW1001_MEASUREMENT_UNIT_UNSPECIFIED, .measurementsPerCycle = 1, - .extraSettlingTime = 15, + .extraSettlingTime = 99.5000014663674, .i2cChannelConfig = { .sensor = ADMW1001_I2C_SENSOR_HUMIDITY_B, }, } }, }, -}; - +}; \ No newline at end of file