|
@@ -277,8 +277,11 @@ struct usb_endpoint_descriptor {
|
277
|
277
|
/** Bulk IN endpoint (internal) type */
|
278
|
278
|
#define USB_BULK_IN ( USB_ENDPOINT_ATTR_BULK | USB_DIR_IN )
|
279
|
279
|
|
280
|
|
-/** Interrupt endpoint (internal) type */
|
281
|
|
-#define USB_INTERRUPT ( USB_ENDPOINT_ATTR_INTERRUPT | USB_DIR_IN )
|
|
280
|
+/** Interrupt IN endpoint (internal) type */
|
|
281
|
+#define USB_INTERRUPT_IN ( USB_ENDPOINT_ATTR_INTERRUPT | USB_DIR_IN )
|
|
282
|
+
|
|
283
|
+/** Interrupt OUT endpoint (internal) type */
|
|
284
|
+#define USB_INTERRUPT_OUT ( USB_ENDPOINT_ATTR_INTERRUPT | USB_DIR_OUT )
|
282
|
285
|
|
283
|
286
|
/** USB endpoint MTU */
|
284
|
287
|
#define USB_ENDPOINT_MTU(sizes) ( ( (sizes) >> 0 ) & 0x07ff )
|