[riot-notifications] [RIOT-OS/RIOT] USBUS: Initial work towards an USB stack (#10916)

Koen Zandberg notifications at github.com
Thu May 30 20:41:12 CEST 2019


bergzand commented on this pull request.



> +#define USB_SETUP_REQ_SET_INTERFACE         0x0b    /**< Set interface         */
+/** @} */
+
+/**
+ * @name USB descriptor types (USB 2.0 spec table 9-5)
+ * @{
+ */
+#define USB_TYPE_DESCRIPTOR_DEVICE          0x01    /**< Device descriptor         */
+#define USB_TYPE_DESCRIPTOR_CONFIGURATION   0x02    /**< Configuration Descriptor  */
+#define USB_TYPE_DESCRIPTOR_STRING          0x03    /**< String descriptor         */
+#define USB_TYPE_DESCRIPTOR_INTERFACE       0x04    /**< Interface descriptor      */
+#define USB_TYPE_DESCRIPTOR_ENDPOINT        0x05    /**< Endpoint descriptor       */
+#define USB_TYPE_DESCRIPTOR_DEV_QUALIFIER   0x06    /**< Device qualifier          */
+#define USB_TYPE_DESCRIPTOR_SPEED_CONFIG    0x07    /**< Other speed configuration */
+#define USB_TYPE_DESCRIPTOR_IFACE_POWER     0x08    /**< Interface power           */
+#define USB_TYPE_DESCRIPTOR_INTERFACE_ASSOC 0x0B    /**< Interface association     */

Changed :blush: 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10916#discussion_r289119597
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190530/f42a6f86/attachment-0001.html>


More information about the notifications mailing list