Vybhav Kadaba
/
EV-PRO-MW1001_Development_20April
Code clean up and handling FIFO errors
Diff: i2c0_sensirionSHT3X_config.c
- Revision:
- 5:0728bde67bdb
- Parent:
- 0:85855ecd3257
- Child:
- 6:9d393a9677f4
--- a/i2c0_sensirionSHT3X_config.c Tue Jun 04 10:09:11 2019 +0000 +++ b/i2c0_sensirionSHT3X_config.c Wed Jun 05 05:39:15 2019 +0000 @@ -40,28 +40,28 @@ * @brief: *----------------------------------------------------------------------------- */ -#include "adi_sense_config_types.h" +#include "admw_config_types.h" -ADI_SENSE_CONFIG i2c0_sensirionSHT3X_config = { +ADMW_CONFIG i2c0_sensirionSHT3X_config = { .versionId = { .major = 1, .minor = 4 }, - .productId = ADI_SENSE_PRODUCT_ID_ADSNS1000, - .adisense1000 = { + .productId = ADMW_PRODUCT_ID_ADMW1001, + .admw1001 = { .power = { - .powerMode = ADI_SENSE_1000_POWER_MODE_FULL, + .powerMode = ADMW1001_POWER_MODE_FULL, }, .measurement = { - .operatingMode = ADI_SENSE_1000_OPERATING_MODE_SINGLECYCLE, - .dataReadyMode = ADI_SENSE_1000_DATAREADY_PER_CYCLE, + .operatingMode = ADMW1001_OPERATING_MODE_SINGLECYCLE, + .dataReadyMode = ADMW1001_DATAREADY_PER_CYCLE, }, .channels = { - [ADI_SENSE_1000_CHANNEL_ID_I2C_0] = { + [ADMW1001_CHANNEL_ID_I2C_0] = { .enableChannel = true, .disablePublishing = false, - .compensationChannel = ADI_SENSE_1000_CHANNEL_ID_NONE, + .compensationChannel = ADMW1001_CHANNEL_ID_NONE, .measurementsPerCycle = 10, .extraSettlingTime = 15000, .i2cChannelConfig = { - .sensor = ADI_SENSE_1000_I2C_SENSOR_HUMIDITY_B_DEF_L1, + .sensor = ADMW1001_I2C_SENSOR_HUMIDITY_B_DEF_L1, .deviceAddress = 0x44, }, },