1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-22 14:04:59 +02:00

atusb/fw/usb/usb.h: add endpoint types

This commit is contained in:
Werner Almesberger 2015-04-12 04:15:04 -03:00
parent a6c639bbb3
commit f7e684bbde

View File

@ -68,6 +68,15 @@
#define USB_ATTR_SELF_POWERED 0x40 #define USB_ATTR_SELF_POWERED 0x40
#define USB_ATTR_REMOTE_WAKEUP 0x20 #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 * Setup request types
*/ */