libusb_device_descriptor is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDlibusb_device_descriptor

libusb_device_descriptor struct

A structure representing the standard USB device descriptor. This descriptor is documented in section 9.6.1 of the USB 3.0 specification. All multiple-byte fields are represented in host-endian format.

Syntax

struct libusb_device_descriptor;
Implemented in libusb.h:573

Fields

bLength

Size of this descriptor (in bytes). Read more...

bDescriptorType

Descriptor type. Will have value libusb_descriptor_type ::LIBUSB_DT_DEVICE LIBUSB_DT_DEVICE in this context. Read more...

bcdUSB

USB specification release number in binary-coded decimal. A value of 0x0200 indicates USB 2.0, 0x0110 indicates USB 1.1, etc. Read more...

bDeviceClass

USB-IF class code for the device. See libusb_class_code . Read more...

bDeviceSubClass

USB-IF subclass code for the device, qualified by the bDeviceClass value. Read more...

bDeviceProtocol

USB-IF protocol code for the device, qualified by the bDeviceClass and bDeviceSubClass values. Read more...

bMaxPacketSize0

Maximum packet size for endpoint 0. Read more...

idVendor

USB-IF vendor ID. Read more...

idProduct

USB-IF product ID. Read more...

bcdDevice

Device release number in binary-coded decimal. Read more...

iManufacturer

Index of string descriptor describing manufacturer. Read more...

iProduct

Index of string descriptor describing product. Read more...

iSerialNumber

Index of string descriptor containing device serial number. Read more...

bNumConfigurations

Number of possible configurations. Read more...

References

LocationReferrerScopeText
libusb.h:573
struct libusb_device_descriptor {
libusb_helper.h:31
struct libusb_device_descriptor *dev_desc);
libusb.h:1598libusb_get_device_descriptor()::desclibusb_get_device_descriptor()
struct libusb_device_descriptor *desc);
libusb_helper.h:31adapter_get_alternate_serial_fn::dev_desc
struct libusb_device_descriptor *dev_desc);
libusbi.h:512libusb_device::device_descriptorlibusb_device
struct libusb_device_descriptor device_descriptor;
libusbi.h:529usbi_localize_device_descriptor()
static inline void usbi_localize_device_descriptor(struct libusb_device_descriptor *desc)

Type Use

Variables of libusb_device_descriptor type
libusb_get_device_descriptor()::desc
adapter_get_alternate_serial_fn::dev_desc
all items filtered out
libusb_device_descriptor