USB Standard Configuration Descriptor (section 9.6.1 table 9-10) */. More...
#include <std_descriptors.h>
Data Fields | |
uint8_t | bLength |
Size of this descriptor in bytes. | |
uint8_t | bDescriptorType |
CONFIGURATION Descriptor Type. | |
uint16_t | wTotalLength |
Total length of data returned for this configuration. Includes the combined length of all descriptors (configuration, interface, endpoint, and class- or vendor-specific) returned for this configuration. | |
uint8_t | bNumInterfaces |
Number of interfaces supported by this configuration. | |
uint8_t | bConfigurationValue |
Value to use as an argument to the SetConfiguration() request to select this configuration. | |
uint8_t | iConfiguration |
Index of string descriptor describing this configuration. | |
uint8_t | bmAttributes |
Configuration characteristics D7: Reserved (set to one) D6: Self-powered D5: Remote Wakeup D4...0: Reserved (reset to zero) D7 is reserved and must be set to one for historical reasons. A device configuration that uses power from the bus and a local source reports a non-zero value in bMaxPower to indicate the amount of bus power required and sets D6. The actual power source at runtime may be determined using the GetStatus(DEVICE) request (see USB 2.0 spec Section 9.4.5). If a device configuration supports remote wakeup, D5 is set to one. | |
uint8_t | bMaxPower |
Maximum power consumption of the USB device from the bus in this specific configuration when the device is fully operational. Expressed in 2 mA units (i.e., 50 = 100 mA). | |
USB Standard Configuration Descriptor (section 9.6.1 table 9-10) */.
Definition at line 77 of file std_descriptors.h.