|
Barrelfish
|
Data Fields | |
| uint8_t | bLength |
| length of the descriptor in bytes | |
| uint8_t | bDescriptorType |
| always USB_DESCRIPTOR_TYPE_CONFIG | |
| uint16_t | wTotalLength |
| total length of this descritpor | |
| uint8_t | bNumInterfaces |
| the number of interfaces in this config | |
| uint8_t | bConfigurationValue |
| parameter for SetConfiguration() | |
| uint8_t | iConfiguration |
| string index of this configuration | |
| uint8_t | bmAttributes |
| configuration characteristics | |
| uint8_t | bMaxPower |
| the maximum power consumption (2mA steps) | |
This descriptor contains information about a specific device configuration. The bConfigurationValue is used as a parameter to SetConfiguration().
wTotalLength: the size of the entire configuration: config descriptor + interfaces + endpoints Each USB device has one or more configuration descriptors
1.8.11