examples/benchmark/kernel-only_arm/hw/thermo_map.h
Go to the documentation of this file.00001
00040 #ifndef THERMO_MAP_H
00041 #define THERMO_MAP_H
00042
00043 #include <cfg/compiler.h>
00044 #include <cfg/macros.h>
00045
00046 #warning TODO:This is an example implentation, you must implement it!
00047
00048 typedef uint8_t thermostatus_t;
00049
00050 #define THERMO_OFF 0
00051 #define THERMO_HEATING BV(0)
00052 #define THERMO_FREEZING BV(1)
00053 #define THERMO_TGT_REACH BV(2)
00054 #define THERMOERRF_NTCSHORT BV(3)
00055 #define THERMOERRF_NTCOPEN BV(4)
00056 #define THERMOERRF_TIMEOUT BV(5)
00057 #define THERMO_ACTIVE BV(6)
00058
00059 #define THERMO_ERRMASK (THERMOERRF_NTCSHORT | THERMOERRF_NTCOPEN | THERMOERRF_TIMEOUT)
00060
00061 typedef enum ThermoDev
00062 {
00063 THERMO_TEST,
00064
00065
00066
00067 THERMO_CNT,
00068 } ThermoDev;
00069
00070 #endif