本文主要是介绍Usb Audio Device Descriptor(10) Hid Device,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
对于 Standard Interface Descriptor, 当 bInterfaceClass=0x03时,即为HID设备。Standard Interface Descriptor如下
struct usb_standard_interface_descriptor
{U8 bLength; /*Size of this descriptor in bytes*/U8 bDescriptorType; /*INTERFACE Descriptor Type*/U8 bInterfaceNumber; /*Number of this interface. Zero-basedvalue identifying the index in the array ofconcurrent interfaces supported by thisconfiguration.*/U8 bAlternateSetting; /*Value used to select this alternate settingfor the interface identified in the prior field*/U8 bNumEndpoints; /*Number of endpoints used by thisinterface (excluding endpoint zero). If thisvalue is zero, this interface only uses theDefault Control Pipe.*/U8 bInterfaceClass; /*Class code (assigned by the USB-IF).A value of zero is reserved for futurestandardization.If this field
这篇关于Usb Audio Device Descriptor(10) Hid Device的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!