![]() |
LUFA Library
120219
|
Standard USB Configuration Descriptor (USB-IF naming conventions). More...
#include <StdDescriptors.h>
Data Fields | |
uint8_t | bLength |
uint8_t | bDescriptorType |
uint16_t | wTotalLength |
uint8_t | bNumInterfaces |
uint8_t | bConfigurationValue |
uint8_t | iConfiguration |
uint8_t | bmAttributes |
uint8_t | bMaxPower |
Type define for a standard Configuration Descriptor header. This structure uses the relevant standard's given element names to ensure compatibility with the standard.
Configuration index of the current configuration.
Type of the descriptor, either a value in USB_DescriptorTypes_t or a value given by the specific class.
Size of the descriptor, in bytes.
Configuration attributes, comprised of a mask of USB_CONFIG_ATTR_*
masks. On all devices, this should include USB_CONFIG_ATTR_RESERVED at a minimum.
Maximum power consumption of the device while in the current configuration, calculated by the USB_CONFIG_POWER_MA() macro.
Total number of interfaces in the configuration.
Index of a string descriptor describing the configuration.
Size of the configuration descriptor header, and all sub descriptors inside the configuration.