From f7e684bbde5d47aaf855462ce4d2bb87f99ff4df Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sun, 12 Apr 2015 04:15:04 -0300 Subject: [PATCH] atusb/fw/usb/usb.h: add endpoint types --- atusb/fw/usb/usb.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/atusb/fw/usb/usb.h b/atusb/fw/usb/usb.h index 633b8df..32d8ad7 100644 --- a/atusb/fw/usb/usb.h +++ b/atusb/fw/usb/usb.h @@ -68,6 +68,15 @@ #define USB_ATTR_SELF_POWERED 0x40 #define USB_ATTR_REMOTE_WAKEUP 0x20 +/* + * Endpoint type + */ + +#define USB_ENDPOINT_TYPE_CONTROL 0 +#define USB_ENDPOINT_TYPE_ISOCHRONOUS 1 +#define USB_ENDPOINT_TYPE_BULK 2 +#define USB_ENDPOINT_TYPE_INTERRUPT 3 + /* * Setup request types */