Browse Source

Merge pull request #30 from SushiBits/master

Added references to USB IAD
Dmitry Filimonchuk 7 năm trước cách đây
mục cha
commit
11d52c426f
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      inc/usb_std.h

+ 3 - 0
inc/usb_std.h

@@ -108,6 +108,9 @@ extern "C" {
 #define USB_CLASS_VENDOR            0xFF    /**<\brief Vendor specific class.*/
 #define USB_SUBCLASS_VENDOR         0xFF    /**<\brief Vendor specific subclass.*/
 #define USB_PROTO_VENDOR            0xFF    /**<\brief Vendor specific protocol.*/
+#define USB_CLASS_IAD               0xEF    /**<\brief Class defined on interface association level.*/
+#define USB_SUBCLASS_IAD            0x02    /**<\brief Subclass defined on interface association level.*/
+#define USB_PROTO_IAD               0x01    /**<\brief Protocol defined on interface association level.*/
 /** @} */
 
 /**\name USB Standard descriptor types