timer_posix.h

Go to the documentation of this file.
00001 
00039 #ifndef DRV_TIMER_POSIX_H
00040 #define DRV_TIMER_POSIX_H
00041 
00042 // HW dependent timer initialization
00043 
00044 #define DEFINE_TIMER_ISR     void timer_isr(UNUSED_ARG(int, arg))
00045 
00047 #define TIMER_TICKS_PER_SEC  250
00048 
00049 #define TIMER_HW_CNT         (1<<31) /* We assume 32bit integers here */
00050 
00051 #include <os/hptime.h>
00052 
00054 #define TIMER_HW_HPTICKS_PER_SEC  HPTIME_TICKS_PER_SECOND
00055 
00057 #define timer_hw_irq() do {} while (0)
00058 
00059 #endif /* DRV_TIMER_POSIX_H */