usb_descriptor_configuration_t Struct Reference

USB configuration descriptor (USB 2.0 spec table 9-10) More...

Detailed Description

USB configuration descriptor (USB 2.0 spec table 9-10)

Definition at line 134 of file descriptor.h.

#include <descriptor.h>

Data Fields

uint8_t length
 Size of this descriptor

 
uint8_t type
 Descriptor type (USB_TYPE_DESCRIPTOR_CONFIGURATION)
 
uint16_t total_length
 Total length of the configuration

 
uint8_t num_interfaces
 Number of interfaces supported by this configuration

 
uint8_t val
 Value to select this configuration by

 
uint8_t idx
 Configuration descriptor string index

 
uint8_t attributes
 Configuration attributes (USB_CONF_ATTR)

 
uint8_t max_power
 Maximum power consumption in 2mA steps

 

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