* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
*
- * Copyright 2005 Develer S.r.l. (http://www.develer.com/)
+ * Copyright 2005,2008 Develer S.r.l. (http://www.develer.com/)
*
* -->
*
*
* \brief Low-level timer module for Qt emulator (implementation).
*/
-
-/*#*
- *#* $Log$
- *#* Revision 1.6 2006/07/19 12:56:26 bernie
- *#* Convert to new Doxygen style.
- *#*
- *#* Revision 1.5 2006/02/21 21:28:02 bernie
- *#* New time handling based on TIMER_TICKS_PER_SEC to support slow timers with ticks longer than 1ms.
- *#*
- *#* Revision 1.4 2006/02/17 22:24:21 bernie
- *#* Update POSIX timer emulator.
- *#*
- *#* Revision 1.3 2006/02/10 12:34:52 bernie
- *#* Remove spurious EXTERN_C.
- *#*
- *#* Revision 1.2 2006/01/16 03:30:21 bernie
- *#* Make header C++ friendly.
- *#*
- *#* Revision 1.1 2005/11/27 03:58:18 bernie
- *#* Add POSIX timer emulator.
- *#*
- *#* Revision 1.1 2005/11/27 03:06:36 bernie
- *#* Qt timer emulation.
- *#*
- *#*/
-
#include <cfg/compiler.h> // hptime.t
#include <os/hptime.h>
{
return hptime_get();
}
-
*
* \brief Low-level timer module for POSIX systems (interface).
*/
-
-/*#*
- *#* $Log$
- *#* Revision 1.4 2006/07/19 12:56:26 bernie
- *#* Convert to new Doxygen style.
- *#*
- *#* Revision 1.3 2006/02/23 11:03:33 bernie
- *#* Documentation fix.
- *#*
- *#* Revision 1.2 2006/02/21 21:28:02 bernie
- *#* New time handling based on TIMER_TICKS_PER_SEC to support slow timers with ticks longer than 1ms.
- *#*
- *#* Revision 1.1 2005/11/27 03:58:18 bernie
- *#* Add POSIX timer emulator.
- *#*
- *#* Revision 1.1 2005/11/27 03:06:36 bernie
- *#* Qt timer emulation.
- *#*
- *#*/
#ifndef DRV_TIMER_POSIX_H
#define DRV_TIMER_POSIX_H
/// Not needed.
#define timer_hw_irq() do {} while (0)
-
-#endif /* DRV_TIMER_QT_H */
+#endif /* DRV_TIMER_POSIX_H */
*
* \brief Low-level timer module for Qt emulator (implementation).
*/
-
-/*#*
- *#* $Log$
- *#* Revision 1.6 2006/09/13 18:25:22 bernie
- *#* Fix GCC error.
- *#*
- *#* Revision 1.5 2006/07/19 12:56:26 bernie
- *#* Convert to new Doxygen style.
- *#*
- *#* Revision 1.4 2006/05/28 12:17:57 bernie
- *#* Drop almost all the Qt3 cruft.
- *#*
- *#* Revision 1.3 2006/02/21 21:28:02 bernie
- *#* New time handling based on TIMER_TICKS_PER_SEC to support slow timers with ticks longer than 1ms.
- *#*
- *#* Revision 1.2 2006/02/20 02:01:35 bernie
- *#* Port to Qt 4.1.
- *#*
- *#* Revision 1.1 2005/11/27 03:06:36 bernie
- *#* Qt timer emulation.
- *#*
- *#*/
-
#include <cfg/compiler.h> /* hptime.t */
// Qt headers
return EmulTimer::instance().hpread();
}
+/** Not needed, timer IRQ handler called only for timer source */
+#define timer_hw_triggered() (true)
*
* \brief Low-level timer module for Qt emulator (interface).
*/
-
-/*#*
- *#* $Log$
- *#* Revision 1.4 2006/07/19 12:56:26 bernie
- *#* Convert to new Doxygen style.
- *#*
- *#* Revision 1.3 2006/02/21 21:28:02 bernie
- *#* New time handling based on TIMER_TICKS_PER_SEC to support slow timers with ticks longer than 1ms.
- *#*
- *#* Revision 1.2 2005/11/27 03:57:00 bernie
- *#* Documentation fixes.
- *#*
- *#* Revision 1.1 2005/11/27 03:06:36 bernie
- *#* Qt timer emulation.
- *#*
- *#*/
#ifndef DRV_TIMER_QT_H
#define DRV_TIMER_QT_H
/// Not needed.
#define timer_hw_irq() do {} while (0)
-
#endif /* DRV_TIMER_QT_H */