USB Host

en

Standard USB Descriptors

The following are the descriptors of the game pad used for this implementation.
(HID class REPORT descriptor, returned by Get_Report_Request, is not shown.)

Device Descriptor

ByteFieldValue(HEX)
0bLength12
1bDescriptor1
2bcdUSB010
3bcdUSB11
4bDeviceClass0
5bDeviceSubClass0
6bDeviceProtocol0
7bMaxPacketSize08
8idVendor095
9idVendor19
10idProduct013
11idProduct10
12bcdDevice088
13bcdDevice12
14iManufacturer1
15iProduct2
16iSerialNumber0
17bNumConfigurations1

Configuration Descriptor

ByteFieldValue(HEX)
0bLength9
1bDescriptor2
2wTotalLength022
3wTotalLength10
4bNumInterface1
5bConfigurationValue1
6iConfiguration0
7bmAttributes80
8bMaxPower32

Interface Descriptor

ByteFieldValue(HEX)
0bLength9
1bDescriptorType4
2bInterfaceNumber0
3bAttributeSetting0
4bNumEndpoints1
5bInterfaceClass3
6bInterfaceSubClass0
7bInterfaceProtocol0
8iInterface0

HID Descriptor

ByteFieldValue(HEX)
0bLength9
1bDescriptorType21
2bcdHID[0]10
3bcdHID[1]1
4bCountryCode0
5bNumDescriptors1
6bDescriptorType22
7wDescriptorLength[0]40
8wDescriptorLength[1]0

Endpoint Descriptor

ByteFieldValue(HEX)
0bLength7
1bDescriptorType5
2bEndpointAddress81
3bmAttributes3
4wMaxPacketSize04
5wMaxPacketSize10
6bIntervala
タイトルとURLをコピーしました