Contiki 3.x
rtimer-arch.h
Go to the documentation of this file.
1 /**
2  * \file
3  * Header file for the AT91SAM7S-specific rtimer code
4  * \author
5  * Simon Berg <ksb@users.sourceforge.net>
6  */
7 
8 #ifndef RTIMER_ARCH_H_
9 #define RTIMER_ARCH_H_
10 
11 #include "sys/rtimer.h"
12 
13 #define RTIMER_ARCH_TIMER_ID AT91C_ID_TC1
14 #define RTIMER_ARCH_TIMER_BASE AT91C_BASE_TC1
15 
16 #define RTIMER_ARCH_SECOND (MCK/1024)
17 
18 void rtimer_arch_set(rtimer_clock_t t);
19 
20 rtimer_clock_t rtimer_arch_now(void);
21 
22 #endif /* RTIMER_ARCH_H_ */
#define rtimer_arch_now()
Definition: rtimer-arch.h:40
Header file for the real-time timer module.