PIP 6.1.0
Platform-Independent Primitives
Loading...
Searching...
No Matches
PIUSB::Descriptor Struct Reference

Top-level USB device descriptor collected during opening. More...

#include <piusb.h>

Public Attributes

ushort usb_spec_number = 0
 USB specification version in BCD form.
uchar device_class = 0
 Device class code.
uchar device_subclass = 0
 Device subclass code.
uchar device_protocol = 0
 Device protocol code.
uchar max_packet_size = 0
 Maximum packet size for endpoint zero.
ushort id_vendor = 0
 Vendor identifier.
ushort id_product = 0
 Product identifier.
ushort id_device_release = 0
 Device release number in BCD form.
uchar index_manufacturer = 0
 Index of manufacturer string descriptor.
uchar index_product = 0
 Index of product string descriptor.
uchar index_serial = 0
 Index of serial number string descriptor.
PIVector< PIUSB::Configuration > configurations
 Available device configurations.

Detailed Description

Top-level USB device descriptor collected during opening.