]> sigrok.org Git - sigrok-firmware-fx2lafw.git/commitdiff
fx2lafw: add definitions for IBN (IN BULK NAK) interrupt
authorStefan Brüns <redacted>
Wed, 3 Jan 2018 22:57:02 +0000 (23:57 +0100)
committerUwe Hermann <redacted>
Wed, 17 Jan 2018 16:46:05 +0000 (17:46 +0100)
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