Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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.
Generated on Wed Jul 13 2022 15:27:32 by
1.7.2