4 * Copyright 2005 Develer S.r.l. (http://www.develer.com/)
5 * This file is part of DevLib - See README.devlib for information.
10 * \author Bernardo Innocenti <bernie@develer.com>
12 * \brief Low-level timer module for Qt emulator (interface).
17 *#* Revision 1.2 2005/11/27 03:57:00 bernie
18 *#* Documentation fixes.
20 *#* Revision 1.1 2005/11/27 03:06:36 bernie
21 *#* Qt timer emulation.
24 #ifndef DRV_TIMER_QT_H
25 #define DRV_TIMER_QT_H
27 // HW dependent timer initialization
29 #define DEFINE_TIMER_ISR void timer_isr(void)
30 #define TIMER_TICKS_PER_MSEC 1
31 #define TIMER_HW_CNT (1<<31) /* We assume 32bit integers here */
33 /// Type of time expressed in ticks of the hardware high-precision timer.
34 typedef unsigned int hptime_t;
36 /// Frequency of the hardware high-precision timer.
37 #define TIMER_HW_HPTICKS_PER_SEC 1000
40 #define timer_hw_irq() do {} while (0)
43 #endif /* DRV_TIMER_QT_H */