Struct usb_device_descriptor
ClassList > usb_device_descriptor
Represents a USB device descriptor. More...
#include <usb_std.h>
Public Attributes
Type | Name |
---|---|
uint8_t | bDescriptorType USB_DTYPE_DEVICE Device descriptor. |
uint8_t | bDeviceClass USB device class. |
uint8_t | bDeviceProtocol USB device protocol. |
uint8_t | bDeviceSubClass USB device subclass. |
uint8_t | bLength Size of the descriptor, in bytes. |
uint8_t | bMaxPacketSize0 Size of the control endpoint's bank in bytes. |
uint8_t | bNumConfigurations Total number of configurations supported by the device. |
uint16_t | bcdDevice Product release (version) number. |
uint16_t | bcdUSB BCD of the supported USB specification. |
uint8_t | iManufacturer String index for the manufacturer's name. |
uint8_t | iProduct String index for the product name/details. |
uint8_t | iSerialNumber String index for the product serial number. |
uint16_t | idProduct Unique product ID for the USB product. |
uint16_t | idVendor Vendor ID for the USB product. |
Detailed Description
A device descriptor describes general information about a USB device. It includes information that applies globally to the device and all of the device’s configurations. A USB device has only one device descriptor. A high-speed capable device that has different device information for full-speed and high-speed must also have a usb_qualifier_descriptor.
Public Attributes Documentation
variable bDescriptorType
uint8_t usb_device_descriptor::bDescriptorType;
variable bDeviceClass
uint8_t usb_device_descriptor::bDeviceClass;
variable bDeviceProtocol
uint8_t usb_device_descriptor::bDeviceProtocol;
variable bDeviceSubClass
uint8_t usb_device_descriptor::bDeviceSubClass;
variable bLength
uint8_t usb_device_descriptor::bLength;
variable bMaxPacketSize0
uint8_t usb_device_descriptor::bMaxPacketSize0;
variable bNumConfigurations
uint8_t usb_device_descriptor::bNumConfigurations;
variable bcdDevice
uint16_t usb_device_descriptor::bcdDevice;
variable bcdUSB
uint16_t usb_device_descriptor::bcdUSB;
variable iManufacturer
uint8_t usb_device_descriptor::iManufacturer;
variable iProduct
uint8_t usb_device_descriptor::iProduct;
variable iSerialNumber
uint8_t usb_device_descriptor::iSerialNumber;
variable idProduct
uint16_t usb_device_descriptor::idProduct;
variable idVendor
uint16_t usb_device_descriptor::idVendor;
The documentation for this class was generated from the following file fw/rbcx-coprocessor/lib/libusb_stm32/include/usb_std.h