aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/usb/usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/usb/usb.h')
-rw-r--r--libmaple/usb/usb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libmaple/usb/usb.h b/libmaple/usb/usb.h
index da6fa55..8ab40f0 100644
--- a/libmaple/usb/usb.h
+++ b/libmaple/usb/usb.h
@@ -34,6 +34,12 @@
extern "C" {
#endif
+#ifndef USB_ISR_MSK
+/* Handle CTRM, WKUPM, SUSPM, ERRM, SOFM, ESOFM, RESETM */
+#define USB_ISR_MSK 0xBF00
+#endif
+
+
/*
* Convenience routines, etc.
*/