OpenOCD
usb_config_descriptor Struct Reference

USB Configuration Descriptor. More...

Data Fields

uint8_t bConfigurationValue
 Value used to select this configuration. More...
 
uint8_t bDescriptorType
 CONFIGURATION descriptor type. More...
 
uint8_t bLength
 Size of this descriptor in bytes. More...
 
uint8_t bmAttributes
 Configuration characteristics. More...
 
uint8_t bNumInterfaces
 Number of interfaces in this configuration. More...
 
uint8_t iConfiguration
 Index of configuration string descriptor. More...
 
uint8_t MaxPower
 Maximum power consumption in 2 mA units. More...
 
uint16_t wTotalLength
 Combined total length of all descriptors. More...
 

Detailed Description

USB Configuration Descriptor.

See USB 1.1 spec, pp. 199 - 200

Definition at line 56 of file usb.h.

Field Documentation

◆ bConfigurationValue

uint8_t usb_config_descriptor::bConfigurationValue

Value used to select this configuration.

Definition at line 61 of file usb.h.

Referenced by usb_handle_setup_data().

◆ bDescriptorType

uint8_t usb_config_descriptor::bDescriptorType

CONFIGURATION descriptor type.

Definition at line 58 of file usb.h.

◆ bLength

uint8_t usb_config_descriptor::bLength

Size of this descriptor in bytes.

Definition at line 57 of file usb.h.

◆ bmAttributes

uint8_t usb_config_descriptor::bmAttributes

Configuration characteristics.

Definition at line 63 of file usb.h.

◆ bNumInterfaces

uint8_t usb_config_descriptor::bNumInterfaces

Number of interfaces in this configuration.

Definition at line 60 of file usb.h.

◆ iConfiguration

uint8_t usb_config_descriptor::iConfiguration

Index of configuration string descriptor.

Definition at line 62 of file usb.h.

◆ MaxPower

uint8_t usb_config_descriptor::MaxPower

Maximum power consumption in 2 mA units.

Definition at line 64 of file usb.h.

◆ wTotalLength

uint16_t usb_config_descriptor::wTotalLength

Combined total length of all descriptors.

Definition at line 59 of file usb.h.


The documentation for this struct was generated from the following file: