thermferm/thermferm.h

changeset 339
16203280eea2
parent 313
8448fcf3d799
child 362
c92651a54969
--- a/thermferm/thermferm.h	Fri Mar 20 16:56:07 2015 +0100
+++ b/thermferm/thermferm.h	Fri Mar 20 20:23:12 2015 +0100
@@ -86,8 +86,28 @@
 #endif
 
 
-#define TRUE 1
-#define FALSE 0
+/*
+ * 1-Wire devices
+ */
+#define W1_FAMILY_DEFAULT       0
+#define W1_FAMILY_SMEM_01       0x01
+#define W1_FAMILY_SMEM_81       0x81
+#define W1_THERM_DS18S20        0x10
+#define W1_FAMILY_DS28E04       0x1C
+#define W1_COUNTER_DS2423       0x1D
+#define W1_THERM_DS1822         0x22
+#define W1_EEPROM_DS2433        0x23
+#define W1_THERM_DS18B20        0x28
+#define W1_FAMILY_DS2408        0x29
+#define W1_EEPROM_DS2431        0x2D
+#define W1_FAMILY_DS2760        0x30
+#define W1_FAMILY_DS2780        0x32
+#define W1_FAMILY_DS2413        0x3A
+#define W1_THERM_DS1825         0x3B
+#define W1_FAMILY_DS2781        0x3D
+#define W1_THERM_DS28EA00       0x42
+
+
 
 #define MBSE_SS(x) (x)?(x):"(null)"
 

mercurial