]> sigrok.org Git - sigrok-firmware-fx2lafw.git/blobdiff - fx2lib/include/autovector.h
fx2lafw: add definitions for IBN (IN BULK NAK) interrupt
[sigrok-firmware-fx2lafw.git] / fx2lib / include / autovector.h
index 0b196c24502ed34905de584f6d5eb30a5b9266b6..495a312610577674a5ec7abedc558e6364e1cd60 100644 (file)
@@ -115,6 +115,9 @@ extern volatile BYTE INT4JT;
 #define ENABLE_GPIFWF() GPIFIE |= 0x02;
 #define CLEAR_GPIFWF() GLEAR_GPIF(); GPIFIRQ = 0x02;
 
+#define ENABLE_IBN() NAKIE |= bmIBN;
+#define ENABLE_EP2IBN() ENABLE_IBN(); IBNIE |= bmEP2IBN;
+
 /**
  * ez-usb has 12 built in ISRs, to get
  * sdcc to put these USB ISRs immediately