Richard Collins / USBHostControllerDriver
Embed: (wiki syntax)

« Back to documentation index

ConfigurationDescription Struct Reference

ConfigurationDescription Struct Reference

A USB device can have several different configurations although the majority of devices are simple and only have one. More...

#include <UsbStructures.h>


Detailed Description

A USB device can have several different configurations although the majority of devices are simple and only have one.

The configuration descriptor specifies how the device is powered, what the maximum power consumption is, the number of interfaces it has. Therefore it is possible to have two configurations, one for when the device is bus powered and another when it is mains powered. As this is a "header" to the Interface descriptors, its also feasible to have one configuration using a different transfer mode to that of another configuration. Once all the configurations have been examined by the host, the host will send a SetConfiguration command with a non zero value which matches the bConfigurationValue of one of the configurations. This is used to select the desired configuration.

Definition at line 84 of file UsbStructures.h.