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§
- U3vInterface
Info - 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.