Lightweight USB stack
1.0
|
USB device configuration descriptor. More...
#include <usb_std.h>
Data Fields | |
uint8_t | bLength |
Size of the descriptor, in bytes. | |
uint8_t | bDescriptorType |
Configuration descriptor. | |
uint16_t | wTotalLength |
Size of the configuration descriptor header, and all sub descriptors inside the configuration. | |
uint8_t | bNumInterfaces |
Total number of interfaces in the configuration. | |
uint8_t | bConfigurationValue |
Configuration index of the current configuration. | |
uint8_t | iConfiguration |
Index of a string descriptor describing the configuration. | |
uint8_t | bmAttributes |
Configuration attributes. More... | |
uint8_t | bMaxPower |
Maximum power consumption of the device. USB_CFG_POWER_MA() macro. | |
USB device configuration descriptor.
The configuration descriptor describes information about a specific device configuration. The descriptor contains a bConfigurationValue field with a value that, when used as a parameter to the SetConfiguration() request, causes the device to assume the described configuration.
uint8_t usb_config_descriptor::bmAttributes |