#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 |
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.