USB enumeration¶
The XVF3610 includes a Human Interface Device (HID) endpoint to enable the XVF3610 to signal interrupts caused by GPIO events. The table below shows how the XVF3610 HID appears on Windows using USB view.
Device Name |
Description |
Device Type |
Vendor ID |
Product ID |
USB Class |
USB SubClass |
USB Protocol |
Service Name |
USB Version |
Driver Description |
---|---|---|---|---|---|---|---|---|---|---|
XVF3610 (UAC1.0) Adaptive |
USB Composite Device |
Unknown |
20b1 |
16 |
0 |
0 |
0 |
usbccgp |
2 |
USB Composite Device |
XVF3610 (UAC1.0) Adaptive |
USB Audio Device |
Audio |
20b1 |
16 |
1 |
1 |
0 |
usbaudio |
2 |
USB Audio Device |
XVF3610 (UAC1.0) Adaptive |
XMOS Control |
Vendor Specific |
20b1 |
16 |
ff |
ff |
ff |
2 |
||
XVF3610 (UAC1.0) Adaptive |
USB Input Device |
HID (Human Interface Device) |
20b1 |
16 |
3 |
0 |
0 |
HidUsb |
2 |
USB Input Device |
During USB enumeration, the XVF3610 HID produces three descriptors. The listing below shows them as recorded on Windows using USB View. For details of the structure and meaning of these descriptors, see the USB Specification v2.0 sections 9.6.5 and 9.6.6 and the Device Class Definition for Human Interface Devices (HID) v1.11 section 6.2.1.
===>Interface Descriptor<===
bLength: 0x09
bDescriptorType: 0x04
bInterfaceNumber: 0x04
bAlternateSetting: 0x00
bNumEndpoints: 0x01
bInterfaceClass: 0x03 -> HID Interface Class
bInterfaceSubClass: 0x00
bInterfaceProtocol: 0x00
iInterface: 0x00
===>HID Descriptor<===
bLength: 0x09
bDescriptorType: 0x21
bcdHID: 0x0110
bCountryCode: 0x00
bNumDescriptors: 0x01
bDescriptorType: 0x22 (Report Descriptor)
wDescriptorLength: 0x006E
===>Endpoint Descriptor<===
bLength: 0x07
bDescriptorType: 0x05
bEndpointAddress: 0x82 -> Direction: IN - EndpointID: 2
bmAttributes: 0x03 -> Interrupt Transfer Type
wMaxPacketSize: 0x0040 = 0x40 bytes
bInterval: 0x08
Note
If the SET_HID_USAGE command has been used to change the meaning of a bit in the HID Report, the wDescriptorLength field of the HID Descriptor may contain a different value.