thermo.h

Go to the documentation of this file.
00001 
00052 /*#*
00053  *#* $Log$
00054  *#* Revision 1.3  2006/09/20 20:12:41  marco
00055  *#* Names convention, MOD_* macros.
00056  *#*
00057  *#* Revision 1.2  2006/07/19 12:56:26  bernie
00058  *#* Convert to new Doxygen style.
00059  *#*
00060  *#* Revision 1.1  2005/11/04 17:59:47  bernie
00061  *#* Import into DevLib.
00062  *#*
00063  *#* Revision 1.2  2005/06/14 10:13:36  batt
00064  *#* Better thermo errors handling.
00065  *#*
00066  *#* Revision 1.1  2005/05/24 09:17:58  batt
00067  *#* Move drivers to top-level.
00068  *#*
00069  *#* Revision 1.4  2005/05/10 16:55:10  batt
00070  *#* Add timeout to thermo-regulator; better thermo control handling; change thermo_getStatus() to thermo_status().
00071  *#*
00072  *#* Revision 1.3  2005/05/10 09:26:54  batt
00073  *#* Add thermo_getStatus for getting status/errors of thermo control.
00074  *#*
00075  *#* Revision 1.2  2005/05/09 19:18:40  batt
00076  *#* Remove old logs.
00077  *#*
00078  *#* Revision 1.1  2005/05/09 16:40:44  batt
00079  *#* Add thermo-control driver
00080  *#*/
00081 
00082 
00083 #ifndef DRV_THERMO_H
00084 #define DRV_THERMO_H
00085 
00086 #include <drv/ntc.h>
00087 #include <thermo_map.h>
00088 
00089 void thermo_init(void);
00090 
00091 
00098 void thermo_setTarget(ThermoDev dev, deg_t temperature);
00099 
00101 void thermo_start(ThermoDev dev);
00102 
00104 void thermo_stop(ThermoDev dev);
00105 
00107 void thermo_clearErrors(ThermoDev dev);
00108 
00110 thermostatus_t thermo_status(ThermoDev dev);
00111 
00119 deg_t thermo_readTemperature(ThermoDev dev);
00120 
00121 
00122 #endif /* DRV_THERMO_H */