From: Stefan BrĂ¼ns Date: Wed, 3 Jan 2018 22:57:02 +0000 (+0100) Subject: fx2lafw: add definitions for IBN (IN BULK NAK) interrupt X-Git-Tag: sigrok-firmware-fx2lafw-0.1.6~8 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=edf37359a4dedfd8c54f42a25cbef1c7d0814887;p=sigrok-firmware-fx2lafw.git fx2lafw: add definitions for IBN (IN BULK NAK) interrupt --- diff --git a/fx2lib/include/autovector.h b/fx2lib/include/autovector.h index 0b196c24..495a3126 100644 --- a/fx2lib/include/autovector.h +++ b/fx2lib/include/autovector.h @@ -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