Skip to main content

Module descriptor

Module descriptor 

Source
Expand description

USB descriptor parsing for USB3 Vision devices.

USB3 Vision devices are identified by their Interface Association Descriptor (IAD) class codes and interface class/subclass values. This module extracts endpoint addresses and interface numbers from USB descriptors.

Structs§

U3vInterfaceInfo
Information about a USB3 Vision device’s interfaces and endpoints, extracted from USB descriptors.

Constants§

U3V_CONTROL_SUBCLASS
U3V control interface subclass.
U3V_EVENT_SUBCLASS
U3V event interface subclass.
U3V_INTERFACE_CLASS
USB3 Vision interface class code.
U3V_INTERFACE_PROTOCOL
U3V interface protocol code.
U3V_INTERFACE_SUBCLASS
USB3 Vision interface subclass for IAD.
U3V_STREAM_SUBCLASS
U3V streaming interface subclass.

Functions§

is_likely_u3v_device
Check whether a device descriptor looks like it could be a U3V device.
parse_u3v_interfaces
Check whether a USB device’s interface descriptors indicate a USB3 Vision device and extract endpoint information.