PoC_Team
/
ADMW1001v0510002
Host API Example for the ADMW1001
Diff: sensor3_typeJ_cjc0_config.c
- Revision:
- 6:9d393a9677f4
- Parent:
- 5:0728bde67bdb
- Child:
- 8:2f2775c34640
--- a/sensor3_typeJ_cjc0_config.c Wed Jun 05 05:39:15 2019 +0000 +++ b/sensor3_typeJ_cjc0_config.c Sat Jun 15 14:30:49 2019 +0000 @@ -49,14 +49,14 @@ .productId = ADMW_PRODUCT_ID_ADMW1001, .admw1001 = { .power = { - .powerMode = ADMW1001_POWER_MODE_FULL, + .powerMode = ADMW1001_POWER_MODE_ACTIVE, }, .measurement = { .operatingMode = ADMW1001_OPERATING_MODE_SINGLECYCLE, .dataReadyMode = ADMW1001_DATAREADY_PER_CYCLE, }, .channels = { - [ADMW1001_CHANNEL_ID_CJC_0] = { + [ADMW1001_CHANNEL_ID_ANALOG_1_UNIVERSAL] = { .enableChannel = true, .disablePublishing = false, .compensationChannel = ADMW1001_CHANNEL_ID_NONE, @@ -70,35 +70,14 @@ .outputLevel = ADMW1001_ADC_EXC_CURRENT_250uA, }, .filter = { - .type = ADMW1001_ADC_FILTER_FIR_25SPS, + .type = ADMW1001_ADC_FILTER_SINC3, }, .reference = { .type = ADMW1001_ADC_REFERENCE_RESISTOR_INTERNAL_1, - .disableBuffer = false, }, .enableVbias = false, }, }, - [ADMW1001_CHANNEL_ID_SENSOR_3] = { - .enableChannel = true, - .disablePublishing = false, - .compensationChannel = ADMW1001_CHANNEL_ID_CJC_0, - .measurementUnit = ADMW1001_MEASUREMENT_UNIT_CELSIUS, - .measurementsPerCycle = 10, - .extraSettlingTime = 0, - .adcChannelConfig = { - .sensor = ADMW1001_ADC_SENSOR_THERMOCOUPLE_J_DEF_L1, - .gain = ADMW1001_ADC_GAIN_32X, - .filter = { - .type = ADMW1001_ADC_FILTER_FIR_25SPS, - }, - .reference = { - .type = ADMW1001_ADC_REFERENCE_VOLTAGE_INTERNAL, - .disableBuffer = true, - }, - .enableVbias = true, - }, - }, }, }, };