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