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