1 #include "rtimer-arch-interrupt.h"
2 #include "rtimer-arch.h"
3 #include <interrupt-utils.h>
4 #include <AT91SAM7S64.h>
9 #define PRINTF(...) printf(__VA_ARGS__)
15 static void rtimer_int_safe() __attribute((noinline));
20 status = RTIMER_ARCH_TIMER_BASE->TC_SR;
21 if (status & AT91C_TC_CPAS) {
28 rtimer_interrupt (
void) {