1 /* 2 * SPDX-FileCopyrightText: Copyright (c) 2023 Carl Zeiss Meditec AG 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6 #ifndef ZEPHYR_DRIVERS_SENSOR_ADLTC2990_REG_H 7 #define ZEPHYR_DRIVERS_SENSOR_ADLTC2990_REG_H 8 9 #define ADLTC2990_REG_STATUS 0x00U 10 #define ADLTC2990_REG_CONTROL 0x01U 11 #define ADLTC2990_REG_TRIGGER 0x02U 12 #define ADLTC2990_REG_UNUSED 0x03U 13 #define ADLTC2990_REG_INTERNAL_TEMP_MSB 0x04U 14 #define ADLTC2990_REG_INTERNAL_TEMP_LSB 0x05U 15 #define ADLTC2990_REG_V1_MSB 0x06U 16 #define ADLTC2990_REG_V1_LSB 0x07U 17 #define ADLTC2990_REG_V2_MSB 0x08U 18 #define ADLTC2990_REG_V2_LSB 0x09U 19 #define ADLTC2990_REG_V3_MSB 0x0AU 20 #define ADLTC2990_REG_V3_LSB 0x0BU 21 #define ADLTC2990_REG_V4_MSB 0x0CU 22 #define ADLTC2990_REG_V4_LSB 0x0DU 23 #define ADLTC2990_REG_VCC_MSB 0x0EU 24 #define ADLTC2990_REG_VCC_LSB 0x0FU 25 26 #define ADLTC2990_VOLTAGE_SINGLE_ENDED_VALUES 2U 27 #define ADLTC2990_VOLTAGE_DIFF_VALUES 1U 28 #define ADLTC2990_TEMP_VALUES 1U 29 #define ADLTC2990_CURRENT_VALUES 1U 30 #define ADLTC2990_MICROOHM_CONVERSION_FACTOR 1000000U 31 32 #define ADLTC2990_MODE_V1_V2_TR2 0U 33 #define ADLTC2990_MODE_V1_MINUS_V2_TR2 1U 34 #define ADLTC2990_MODE_V1_MINUS_V2_V3_V4 2U 35 #define ADLTC2990_MODE_TR1_V3_V4 3U 36 #define ADLTC2990_MODE_TR1_V3_MINUS_V4 4U 37 #define ADLTC2990_MODE_TR1_TR2 5U 38 #define ADLTC2990_MODE_V1_MINUS_V2_V3_MINUS_V4 6U 39 #define ADLTC2990_MODE_V1_V2_V3_V4 7U 40 41 #define ADLTC2990_MEASURE_INTERNAL_TEMPERATURE_ONLY 0U 42 #define ADLTC2990_MEASURE_PINS_V1_V2_ONLY 1U 43 #define ADLTC2990_MEASURE_PINS_V3_V4_ONLY 2U 44 #define ADLTC2990_MEASURE_ALL_PINS_PER_MODE_2_0 3U 45 46 #define ADLTC2990_VOLTAGE_SINGLEENDED_CONVERSION_FACTOR 30518U 47 #define ADLTC2990_VOLTAGE_DIFFERENTIAL_CONVERSION_FACTOR 1942U 48 #define ADLTC2990_TEMPERATURE_CONVERSION_FACTOR 62500U 49 50 #define ADLTC2990_MODE_2_0_MAX_VALUE 7U 51 #define ADLTC2990_MODE_4_3_MAX_VALUE 3U 52 53 #define ADLTC2990_TEMPERATURE_FORMAT_CELSIUS 0U 54 55 #endif /* ZEPHYR_DRIVERS_SENSOR_ADLTC2990_REG_H */ 56