USB Configuration Descriptor.

Public Attributes#

uint8_t

Size of this descriptor in bytes

uint8_t

Constant CONFIGURATION Descriptor Type

uint16_t

Total length of data returned for this configuration.

uint8_t

Number of interfaces supported by this configuration

uint8_t

Value to use as an argument to the SetConfiguration request to select this configuration.

uint8_t

Index of string descriptor describing this configuration.

uint8_t

Configuration characteristics.

uint8_t

Maximum power consumption of the USB device, unit is 2mA per LSB

Public Attribute Documentation#

bLength#

uint8_t USB_ConfigurationDescriptor_TypeDef::bLength

Size of this descriptor in bytes


Definition at line 428 of file platform/middleware/usb_gecko/inc/em_usb.h

bDescriptorType#

uint8_t USB_ConfigurationDescriptor_TypeDef::bDescriptorType

Constant CONFIGURATION Descriptor Type


Definition at line 429 of file platform/middleware/usb_gecko/inc/em_usb.h

wTotalLength#

uint16_t USB_ConfigurationDescriptor_TypeDef::wTotalLength

Total length of data returned for this configuration.

Includes the combined length of all descriptors (configuration, interface, endpoint, and class- or vendor-specific) returned for this configuration.


Definition at line 430 of file platform/middleware/usb_gecko/inc/em_usb.h

bNumInterfaces#

uint8_t USB_ConfigurationDescriptor_TypeDef::bNumInterfaces

Number of interfaces supported by this configuration


Definition at line 435 of file platform/middleware/usb_gecko/inc/em_usb.h

bConfigurationValue#

uint8_t USB_ConfigurationDescriptor_TypeDef::bConfigurationValue

Value to use as an argument to the SetConfiguration request to select this configuration.


Definition at line 437 of file platform/middleware/usb_gecko/inc/em_usb.h

iConfiguration#

uint8_t USB_ConfigurationDescriptor_TypeDef::iConfiguration

Index of string descriptor describing this configuration.


Definition at line 440 of file platform/middleware/usb_gecko/inc/em_usb.h

bmAttributes#

uint8_t USB_ConfigurationDescriptor_TypeDef::bmAttributes

Configuration characteristics.

D7: Reserved (set to one) D6: Self-powered D5: Remote Wakeup D4...0: Reserved (reset to zero)


Definition at line 442 of file platform/middleware/usb_gecko/inc/em_usb.h

bMaxPower#

uint8_t USB_ConfigurationDescriptor_TypeDef::bMaxPower

Maximum power consumption of the USB device, unit is 2mA per LSB


Definition at line 447 of file platform/middleware/usb_gecko/inc/em_usb.h