USB_Descriptor_Configuration_Header_t Struct Reference

#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


Detailed Description

Type define for a standard configuration descriptor.

Note:
The non-standard structure element names are documented here - see the StdDescriptors.h file documentation for more information on the two descriptor naming schemes. If the USE_NONSTANDARD_DESCRIPTOR_NAMES token is not set, this structure contains elements with names identical to those listed in the USB standard.

Field Documentation

Configuration attributes, comprised of a mask of zero or more USB_CONFIG_ATTR_* masks.

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.


The documentation for this struct was generated from the following file:

Generated on Wed Apr 1 16:39:52 2009 for LUFA Library by  doxygen 1.5.7.1