timer_qt.h
Go to the documentation of this file.00001 00039 #ifndef DRV_TIMER_QT_H 00040 #define DRV_TIMER_QT_H 00041 00042 // HW dependent timer initialization 00043 00044 #define DEFINE_TIMER_ISR DECLARE_ISR_CONTEXT_SWITCH(timer_isr) 00045 #define TIMER_TICKS_PER_SEC 250 00046 #define TIMER_HW_CNT (1<<31) /* We assume 32bit integers here */ 00047 00049 typedef unsigned int hptime_t; 00050 #define SIZEOF_HPTIME_T 4 00051 00053 #define TIMER_HW_HPTICKS_PER_SEC 1000 00054 00056 #define timer_hw_irq() do {} while (0) 00057 00058 #endif /* DRV_TIMER_QT_H */
