CM3: move the Cortex-M3 generic hardware macros to a distinct file.
[bertos.git] / bertos / hw / thermo_map.h
index 4376076acc3e6d4f79a02d22e6830ae0a79e74d3..248cc436fa3db9ba9374975d34ea842e859c32c5 100644 (file)
@@ -32,8 +32,6 @@
  *
  * \brief Thermo regulation control map definitions.
  *
- * \version $Id$
- *
  * \author Francesco Sacchi <batt@develer.com>
  */
 
 #include <cfg/compiler.h>
 #include <cfg/macros.h>
 
-#warning TODO:This is an example implentation, you must implement it!
-
-typedef uint8_t thermostatus_t;
-
-#define THERMO_OFF          0
-#define THERMO_HEATING      BV(0)
-#define THERMO_FREEZING     BV(1)
-#define THERMO_TGT_REACH    BV(2)
-#define THERMOERRF_NTCSHORT BV(3)
-#define THERMOERRF_NTCOPEN  BV(4)
-#define THERMOERRF_TIMEOUT  BV(5)
-#define THERMO_ACTIVE       BV(6)
-
-#define THERMO_ERRMASK      (THERMOERRF_NTCSHORT | THERMOERRF_NTCOPEN | THERMOERRF_TIMEOUT)
-
 typedef enum ThermoDev
 {
-       THERMO_TEST,
-
-       /* Put here your thermo device */
+       THERMO_MIXER1 = 0,
+       THERMO_MIXER2,
+       THERMO_MIXER3,
+       THERMO_MIXER4,
 
-       THERMO_CNT,
+       THERMO_CNT
 } ThermoDev;
 
 #endif /* THERMO_MAP_H */