55 #define PRINTF(...) printf(__VA_ARGS__)
61 PRINTF(
"rtc_wu_irq\n\r");
62 PRINTF(
"now is %u\n", rtimer_arch_now());
70 rtimer_arch_init(
void)
75 rtimer_arch_schedule(rtimer_clock_t t)
77 volatile uint32_t now;
78 now = rtimer_arch_now();
79 PRINTF(
"rtimer_arch_schedule time %u; now is %u\n", t,now);
83 *CRM_RTC_TIMEOUT = t - now;
90 *CRM_RTC_TIMEOUT = t - now;
97 PRINTF(
"rtimer_arch_schedule CRM_RTC_TIMEOUT is %u\n", *CRM_RTC_TIMEOUT);