Configuration descriptor. More...
#include <app_usbd_descriptor.h>
Data Fields |
|
| uint8_t | bLength |
|
Size of the descriptor in bytes.
|
|
| uint8_t | bDescriptorType |
|
Should equal to
APP_USBD_DESCRIPTOR_DEVICE
.
|
|
| uint16_t | wTotalLength |
|
Total length of configuration data, including all descriptors returned after configuration itself.
|
|
| uint8_t | bNumInterfaces |
|
Number of interfaces supportedf by this configuration.
|
|
| uint8_t | bConfigurationValue |
|
Value to use as an argument to the SetConfiguration request.
|
|
| uint8_t | iConfiguration |
|
Index of string descriptor describing this configuration.
|
|
| uint8_t | bmAttributes |
|
Configuration characteristics.
|
|
| uint8_t | bMaxPower |
|
Maximum power consumption. Expressed in 2 mA units.
|
|
Detailed Description
Configuration descriptor.
Descriptor used at the beginning of configuration response.
- components/libraries/usbd/app_usbd_descriptor.h