LUFA Library
120219
|
Standard USB Configuration Descriptor (LUFA naming conventions). More...
#include <StdDescriptors.h>
Data Fields | |
USB_Descriptor_Header_t | Header |
uint16_t | TotalConfigurationSize |
uint8_t | TotalInterfaces |
uint8_t | ConfigurationNumber |
uint8_t | ConfigurationStrIndex |
uint8_t | ConfigAttributes |
uint8_t | MaxPowerConsumption |
Type define for a standard Configuration Descriptor header. This structure uses LUFA-specific element names to make each element's purpose clearer.
Configuration attributes, comprised of a mask of USB_CONFIG_ATTR_*
masks. On all devices, this should include USB_CONFIG_ATTR_RESERVED at a minimum.
Configuration index of the current configuration.
Index of a string descriptor describing the configuration.
Descriptor header, including type and size.
Maximum power consumption of the device while in the current configuration, calculated by the USB_CONFIG_POWER_MA() macro.
Size of the configuration descriptor header, and all sub descriptors inside the configuration.
Total number of interfaces in the configuration.