USB_ConfigurationDescriptor_TypeDef Struct ReferencePlatform Middleware > USB > USB_COMMON

USB Configuration Descriptor.

Definition at line 424 of file em_usb.h .

#include < em_usb.h >

Data Fields

uint8_t bConfigurationValue
uint8_t bDescriptorType
uint8_t bLength
uint8_t bmAttributes
uint8_t bMaxPower
uint8_t bNumInterfaces
uint8_t iConfiguration
uint16_t wTotalLength

Field Documentation

uint8_t USB_ConfigurationDescriptor_TypeDef::bConfigurationValue

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

Definition at line 434 of file em_usb.h .

Referenced by USBH_PrintConfigurationDescriptor() .

uint8_t USB_ConfigurationDescriptor_TypeDef::bDescriptorType

Constant CONFIGURATION Descriptor Type

Definition at line 426 of file em_usb.h .

Referenced by USBH_PrintConfigurationDescriptor() .

uint8_t USB_ConfigurationDescriptor_TypeDef::bLength

Size of this descriptor in bytes

Definition at line 425 of file em_usb.h .

Referenced by USBH_PrintConfigurationDescriptor() .

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 439 of file em_usb.h .

Referenced by USBH_PrintConfigurationDescriptor() .

uint8_t USB_ConfigurationDescriptor_TypeDef::bMaxPower

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

Definition at line 444 of file em_usb.h .

Referenced by USBH_PrintConfigurationDescriptor() .

uint8_t USB_ConfigurationDescriptor_TypeDef::bNumInterfaces

Number of interfaces supported by this configuration

Definition at line 432 of file em_usb.h .

Referenced by USBH_PrintConfigurationDescriptor() .

uint8_t USB_ConfigurationDescriptor_TypeDef::iConfiguration

Index of string descriptor describing this configuration.

Definition at line 437 of file em_usb.h .

Referenced by USBH_PrintConfigurationDescriptor() .

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 427 of file em_usb.h .

Referenced by USBH_PrintConfigurationDescriptor() , and USBH_QueryDeviceB() .


The documentation for this struct was generated from the following file:
  • C:/repos/embsw_super_h1/platform/middleware/usb_gecko/inc/ em_usb.h