C, C++ source code driver software for the Maxim Integrated MAX31725, MAX31726 thermostat : The MAX31725, MAX31726 temperature sensors provides temperature measurements with an accuracy of up to +-0.5°C. Extended format allows for high temperature readings up to 150°C. The MAX31725 can operate in a low powered mode by utilizing the shutdown and one-shot mode. MAX31725  supports two-wire serial, I2C bus communications in an 8-pin TQDFN 3x3 mm package.

Dependents:   MAX31725_High_Temperature_Accurate_IC

Revision:
22:692515ac2bb7
Parent:
20:c9805b01e814
Child:
23:3fa31b45fa1a
--- a/max31725.h	Tue Apr 09 07:10:22 2019 +0000
+++ b/max31725.h	Tue Apr 09 22:58:02 2019 +0000
@@ -70,14 +70,65 @@
 #define MAX31725_CFG_ONE_SHOT_START   (0X01 << 7)
 
 
-#define MAX31725_I2C_SLAVE_ADR_R0 (0x90 >> 1) // code uses the 7 bit address
-#define MAX31725_I2C_SLAVE_ADR_R1 (0x92 >> 1)
-#define MAX31725_I2C_SLAVE_ADR_R2 (0x94 >> 1)
-#define MAX31725_I2C_SLAVE_ADR_R3 (0x96 >> 1)
-#define MAX31725_I2C_SLAVE_ADR_R4 (0x98 >> 1)
-#define MAX31725_I2C_SLAVE_ADR_R5 (0x9A >> 1)
-#define MAX31725_I2C_SLAVE_ADR_R6 (0x9C >> 1)
-#define MAX31725_I2C_SLAVE_ADR_R7 (0x9E >> 1)
+#define MAX31725_I2C_SLAVE_ADR_00 (0x90 >> 1)
+#define MAX31725_I2C_SLAVE_ADR_01 (0x92 >> 1)
+#define MAX31725_I2C_SLAVE_ADR_02 (0x82 >> 1)
+#define MAX31725_I2C_SLAVE_ADR_03 (0x80 >> 1)
+#define MAX31725_I2C_SLAVE_ADR_04 (0x94 >> 1)
+
+#define MAX31725_I2C_SLAVE_ADR_05 (0x96 >> 1)
+#define MAX31725_I2C_SLAVE_ADR_06 (0x86 >> 1)
+#define MAX31725_I2C_SLAVE_ADR_07 (0x84 >> 1)
+#define MAX31725_I2C_SLAVE_ADR_08 (0xB4 >> 1)
+#define MAX31725_I2C_SLAVE_ADR_09 (0xB6 >> 1)
+
+#define MAX31725_I2C_SLAVE_ADR_10 (0xA6 >> 1)
+#define MAX31725_I2C_SLAVE_ADR_11 (0xA4 >> 1)
+#define MAX31725_I2C_SLAVE_ADR_12 (0xB0 >> 1)
+#define MAX31725_I2C_SLAVE_ADR_13 (0xB2 >> 1)
+#define MAX31725_I2C_SLAVE_ADR_14 (0xA2 >> 1)
+
+#define MAX31725_I2C_SLAVE_ADR_15 (0xA0 >> 1)
+#define MAX31725_I2C_SLAVE_ADR_16 (0x98 >> 1)
+#define MAX31725_I2C_SLAVE_ADR_17 (0x9A >> 1)
+#define MAX31725_I2C_SLAVE_ADR_18 (0x8A >> 1)
+#define MAX31725_I2C_SLAVE_ADR_19 (0x88 >> 1)
+
+#define MAX31725_I2C_SLAVE_ADR_20 (0x9C >> 1)
+#define MAX31725_I2C_SLAVE_ADR_21 (0x9E >> 1)
+#define MAX31725_I2C_SLAVE_ADR_22 (0x8E >> 1)
+#define MAX31725_I2C_SLAVE_ADR_23 (0x8C >> 1)
+#define MAX31725_I2C_SLAVE_ADR_24 (0xBC >> 1)
+
+#define MAX31725_I2C_SLAVE_ADR_25 (0xBE >> 1)
+#define MAX31725_I2C_SLAVE_ADR_26 (0xAE >> 1)
+#define MAX31725_I2C_SLAVE_ADR_27 (0xAC >> 1)
+#define MAX31725_I2C_SLAVE_ADR_28 (0xB8 >> 1)
+#define MAX31725_I2C_SLAVE_ADR_29 (0xBA >> 1)
+
+#define MAX31725_I2C_SLAVE_ADR_30 (0xAA >> 1)
+#define MAX31725_I2C_SLAVE_ADR_31 (0xA8 >> 1)
+
+#define MAX31726_I2C_SLAVE_ADR_00 (0x98 >> 1)
+#define MAX31726_I2C_SLAVE_ADR_01 (0x9A >> 1)
+#define MAX31726_I2C_SLAVE_ADR_02 (0x8A >> 1)
+#define MAX31726_I2C_SLAVE_ADR_03 (0x88 >> 1)
+#define MAX31726_I2C_SLAVE_ADR_04 (0x9C >> 1)
+
+#define MAX31726_I2C_SLAVE_ADR_05 (0x9E >> 1)
+#define MAX31726_I2C_SLAVE_ADR_06 (0x8E >> 1)
+#define MAX31726_I2C_SLAVE_ADR_07 (0x8C >> 1)
+#define MAX31726_I2C_SLAVE_ADR_08 (0xBC >> 1)
+#define MAX31726_I2C_SLAVE_ADR_09 (0xBE >> 1)
+
+#define MAX31726_I2C_SLAVE_ADR_10 (0xAE >> 1)
+#define MAX31726_I2C_SLAVE_ADR_11 (0xAC >> 1)
+#define MAX31726_I2C_SLAVE_ADR_12 (0xB8 >> 1)
+#define MAX31726_I2C_SLAVE_ADR_13 (0xBA >> 1)
+#define MAX31726_I2C_SLAVE_ADR_14 (0xAA >> 1)
+
+#define MAX31726_I2C_SLAVE_ADR_15 (0xA8 >> 1)
+
 
 #define MAX31725_CF_LSB           (0.00390625F)