Lightweight USB stack
1.0
|
Represents a USB device descriptor. More...
#include <usb_std.h>
Data Fields | |
uint8_t | bLength |
Size of the descriptor, in bytes. | |
uint8_t | bDescriptorType |
USB_DTYPE_DEVICE Device descriptor. | |
uint16_t | bcdUSB |
BCD of the supported USB specification. | |
uint8_t | bDeviceClass |
USB device class. | |
uint8_t | bDeviceSubClass |
USB device subclass. | |
uint8_t | bDeviceProtocol |
USB device protocol. | |
uint8_t | bMaxPacketSize0 |
Size of the control endpoint's bank in bytes. | |
uint16_t | idVendor |
Vendor ID for the USB product. | |
uint16_t | idProduct |
Unique product ID for the USB product. | |
uint16_t | bcdDevice |
Product release (version) number. | |
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. | |
uint8_t | bNumConfigurations |
Total number of configurations supported by the device. | |
Represents a USB device descriptor.
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.