Refactor to use new protocol module and sipo.
[bertos.git] / drv / thermo.h
diff --git a/drv/thermo.h b/drv/thermo.h
deleted file mode 100644 (file)
index 8f749a3..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-/**
- * \file
- * <!--
- * Copyright 2004, 2005 Develer S.r.l. (http://www.develer.com/)
- * This file is part of DevLib - See README.devlib for information.
- * -->
- *
- * \brief Thermo-control driver
- *
- * \version $Id$
- *
- * \author Giovanni Bajo <rasky@develer.com>
- * \author Francesco Sacchi <batt@develer.com>
- *
- * This module implements multiple thermo controls, which is the logic needed to try
- * keeping the temperature of a device constant. For this module, a "device" is a black box
- * whose temperature can be measured, and which has a mean to make it hotter or colder.
- * For instance, a device could be the combination of a NTC (analog temperature reader) and
- * a Peltier connected to the same physic block.
- *
- * This module relies on a low-level driver to communicate with the device (implementation
- * of the black box). This low-level driver also controls the units in which the temperature
- * is expressed: thermo control treats it just as a number.
- *
- */
-
-/*#*
- *#* $Log$
- *#* Revision 1.3  2006/09/20 20:12:41  marco
- *#* Names convention, MOD_* macros.
- *#*
- *#* Revision 1.2  2006/07/19 12:56:26  bernie
- *#* Convert to new Doxygen style.
- *#*
- *#* Revision 1.1  2005/11/04 17:59:47  bernie
- *#* Import into DevLib.
- *#*
- *#* Revision 1.2  2005/06/14 10:13:36  batt
- *#* Better thermo errors handling.
- *#*
- *#* Revision 1.1  2005/05/24 09:17:58  batt
- *#* Move drivers to top-level.
- *#*
- *#* Revision 1.4  2005/05/10 16:55:10  batt
- *#* Add timeout to thermo-regulator; better thermo control handling; change thermo_getStatus() to thermo_status().
- *#*
- *#* Revision 1.3  2005/05/10 09:26:54  batt
- *#* Add thermo_getStatus for getting status/errors of thermo control.
- *#*
- *#* Revision 1.2  2005/05/09 19:18:40  batt
- *#* Remove old logs.
- *#*
- *#* Revision 1.1  2005/05/09 16:40:44  batt
- *#* Add thermo-control driver
- *#*/
-
-
-#ifndef DRV_THERMO_H
-#define DRV_THERMO_H
-
-#include <drv/ntc.h>
-#include <thermo_map.h>
-
-void thermo_init(void);
-
-
-/**
- * Set the target temperature at which a given device should be kept.
- *
- * \param dev Device
- * \param temperature Target temperature
- */
-void thermo_setTarget(ThermoDev dev, deg_t temperature);
-
-/** Start thermo control for a certain device \a dev */
-void thermo_start(ThermoDev dev);
-
-/** Stop thermo control for a certain device \a dev */
-void thermo_stop(ThermoDev dev);
-
-/** Clear errors for channel \a dev */
-void thermo_clearErrors(ThermoDev dev);
-
-/** Return the status of the specific \a dev thermo-device. */
-thermostatus_t thermo_status(ThermoDev dev);
-
-/**
- * Return the current temperature of a device currently under thermo
- * control.
- *
- * \param dev Device
- * \return Current temperature (Celsius degrees * 10)
- */
-deg_t thermo_readTemperature(ThermoDev dev);
-
-
-#endif /* DRV_THERMO_H */