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

Descriptor header, including type and size.

Size of the configuration descriptor header, and all sub descriptors inside the configuration.

Total number of interfaces in the configuration.

Configuration index of the current configuration.

Index of a string descriptor describing the configuration.

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

Maximum power consumption of the device while in the current configuration, calculated by the USB_CONFIG_POWER_MA() macro.


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

Generated on Mon Jul 7 12:27:44 2008 for MyUSB Library by  doxygen 1.5.5