X-Git-Url: https://git.karo-electronics.de/?p=oswald.git;a=blobdiff_plain;f=metawatch%2Fmw_main.h;h=8d02f7d1906dcbbf50926eba0ec28206e513cc12;hp=23dcf5efa49f11341199ff2853cf28b039815968;hb=81da03661f51061203889cb115142217230d6a76;hpb=84e4829f9f2bbf104d05b4bbb9a2551b3759d792 diff --git a/metawatch/mw_main.h b/metawatch/mw_main.h index 23dcf5e..8d02f7d 100644 --- a/metawatch/mw_main.h +++ b/metawatch/mw_main.h @@ -12,6 +12,7 @@ #endif #include "hal_io_macros.h" +#define LPM3_EXIT_ISR() { _BIC_SR_IRQ(SCG1+OSCOFF+CPUOFF); nop(); } #define WATCHDOG_EVENT 1 << 0 #define RTC_1HZ_EVENT 1 << 1 @@ -21,6 +22,8 @@ #define TIMER_100MS_EVENT 1 << 5 #define POWER_SRC_EVENT 1 << 6 #define BT_UART_RCV_EVENT 1 << 7 +#define BT_UART_WAKEUP_EVENT 1 << 8 +#define ACCEL_EVENT 1 << 9 extern unsigned int _event_src;