usb_standard_configuration_descriptor_t Struct Reference
[Base USB library]

Standard USB configuration descriptor. More...

#include <descriptor.h>


Data Fields

uint8_t attributes
 Attribute bitmap.
uint8_t configuration_number
 Configuration value used when setting this configuration.
uint8_t descriptor_type
 Descriptor type (USB_DESCTYPE_CONFIGURATION).
uint8_t interface_count
 Number of possible interfaces under this configuration.
uint8_t length
 Size of this descriptor in bytes.
uint8_t max_power
 Maximum power consumption from the USB under this configuration.
uint8_t str_configuration
 String descriptor describing this configuration.
uint16_t total_length
 Total length of all data of this configuration.


Detailed Description

Standard USB configuration descriptor.

Definition at line 93 of file descriptor.h.


Field Documentation

uint8_t max_power

Maximum power consumption from the USB under this configuration.

Expressed in 2mA unit (e.g. 50 ~ 100mA).

Definition at line 115 of file descriptor.h.

uint16_t total_length

Total length of all data of this configuration.

This includes the combined length of all descriptors (configuration, interface, endpoint, class-specific and vendor-specific) valid for this configuration.

Definition at line 103 of file descriptor.h.


The documentation for this struct was generated from the following file:
Generated on Thu Jun 2 07:46:01 2011 for HelenOS/USB by  doxygen 1.4.7