USB各種描述符類型

USB 描述符類型   usb usb描述符 uvc


更多的USB學習知識詳見:http://www.bytekits.com/s.php?q=usb

http://www.bytekits.com/tsingchen/usb-note/usb-intro.html

http://www.bytekits.com/tsingchen/kerneldbg/kdnet.html


 
  1. // USB 1.1: 9.4 Standard Device Requests, Table 9-5. Descriptor Types
  2. //
  3. #define USB_DEVICE_DESCRIPTOR_TYPE 0x01
  4. #define USB_CONFIGURATION_DESCRIPTOR_TYPE 0x02
  5. #define USB_STRING_DESCRIPTOR_TYPE 0x03
  6. #define USB_INTERFACE_DESCRIPTOR_TYPE 0x04
  7. #define USB_ENDPOINT_DESCRIPTOR_TYPE 0x05
  8. //
  9. // USB 2.0: 9.4 Standard Device Requests, Table 9-5. Descriptor Types
  10. //
  11. #define USB_DEVICE_QUALIFIER_DESCRIPTOR_TYPE 0x06
  12. #define USB_OTHER_SPEED_CONFIGURATION_DESCRIPTOR_TYPE 0x07
  13. #define USB_INTERFACE_POWER_DESCRIPTOR_TYPE 0x08
  14. //
  15. // USB 3.0: 9.4 Standard Device Requests, Table 9-5. Descriptor Types
  16. //
  17. #define USB_OTG_DESCRIPTOR_TYPE 0x09
  18. #define USB_DEBUG_DESCRIPTOR_TYPE 0x0A
  19. #define USB_INTERFACE_ASSOCIATION_DESCRIPTOR_TYPE 0x0B
  20. #define USB_BOS_DESCRIPTOR_TYPE 0x0F
  21. #define USB_DEVICE_CAPABILITY_DESCRIPTOR_TYPE 0x10
  22. #define USB_SUPERSPEED_ENDPOINT_COMPANION_DESCRIPTOR_TYPE 0x30
  23. //
  24. // USB 3.1: 9.4 Standard Device Requests, Table 9-6. Descriptor Types
  25. //
  26. #define USB_SUPERSPEEDPLUS_ISOCH_ENDPOINT_COMPANION_DESCRIPTOR_TYPE 0x31
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章