Difference between revisions of "USB"

From Stm32World Wiki
Jump to navigation Jump to search
Line 8: Line 8:
  
 
[[File:USB Descriptor Hierarchy.png|1000px]]
 
[[File:USB Descriptor Hierarchy.png|1000px]]
 +
 +
=== Device Descriptors ===
 +
 +
=== Configuration Descriptors ===
 +
=== Interface Descriptors ===
 +
=== Endpoint Descriptors ===
 +
=== String Descriptors ===
 +
  
 
== Miscellaneous Links ==
 
== Miscellaneous Links ==
  
 
* [https://beyondlogic.org/usbnutshell/usb5.shtml USB In a Nutshell]]
 
* [https://beyondlogic.org/usbnutshell/usb5.shtml USB In a Nutshell]]

Revision as of 06:11, 30 August 2021


Descriptors

One of the most complex things when developing USB is the descriptors. Descriptors are used by a USB Gadgets to inform the USB Host about it's capabilities.

Overall, USB Descriptors is a hierarchy of descriptors organised like this:

USB Descriptor Hierarchy.png

Device Descriptors

Configuration Descriptors

Interface Descriptors

Endpoint Descriptors

String Descriptors

Miscellaneous Links