2015-04-22 14:56:49 +08:00
|
|
|
/* FIXME - dummy file to be replaced/removed at some point */
|
2015-04-17 20:10:46 +08:00
|
|
|
|
|
|
|
#ifndef __RTIMER_ARCH_H__
|
|
|
|
#define __RTIMER_ARCH_H__
|
|
|
|
|
2015-04-22 14:56:49 +08:00
|
|
|
#include "contiki-conf.h"
|
|
|
|
#include "sys/clock.h"
|
|
|
|
|
|
|
|
#define RTIMER_ARCH_SECOND CLOCK_CONF_SECOND
|
|
|
|
|
|
|
|
// FIXME - implement these
|
|
|
|
|
|
|
|
static inline rtimer_clock_t rtimer_arch_now(void) { return 0; }
|
|
|
|
int rtimer_arch_check(void);
|
|
|
|
int rtimer_arch_pending(void);
|
|
|
|
rtimer_clock_t rtimer_arch_next(void);
|
|
|
|
static inline void rtimer_arch_init(void) {}
|
|
|
|
|
2015-04-17 20:10:46 +08:00
|
|
|
#endif /* __RTIMER_ARCH_H__ */
|