Barrelfish
Data Fields
usb_device_descriptor Struct Reference

Data Fields

uint8_t bLength
 the length of the descriptor (18 bytes)
 
uint8_t bDescriptorType
 always USB_DESCRIPTOR_TYPE_DEVICE
 
uint16_t bcdUSB
 the USB revision number
 
uint8_t bDeviceClass
 device class code (defined by USB-IF)
 
uint8_t bDeviceSubClass
 device sub class code (defined by USB-IF)
 
uint8_t bDeviceProtocol
 specific protocol used by this device
 
uint8_t bMaxPacketSize0
 the max packet size of endpoint 0
 
uint16_t idVendor
 the vendor ID
 
uint16_t idProduct
 the product ID
 
uint16_t bcdDevice
 the revision of the device
 
uint8_t iManufacturer
 string index of the manufacturer
 
uint8_t iProduct
 string index of the product
 
uint8_t iSerialNumber
 string index of the serial number
 
uint8_t bNumConfigurations
 the number of configurations
 

Detailed Description


USB Device Descriptor (USB Specification, Rev 2.0, Section 9.6.1)

General and global information about an USB device. Each USB device has exactly one usb_device_descriptor.


The documentation for this struct was generated from the following file: