USB configuration descriptor (USB 2.0 spec table 9-10) More...
USB configuration descriptor (USB 2.0 spec table 9-10)
Definition at line 143 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 | |
uint8_t usb_descriptor_configuration_t::attributes |
Configuration attributes (USB_CONF_ATTR)
Definition at line 150 of file descriptor.h.
uint8_t usb_descriptor_configuration_t::idx |
Configuration descriptor string index
Definition at line 149 of file descriptor.h.
uint8_t usb_descriptor_configuration_t::length |
Size of this descriptor
Definition at line 144 of file descriptor.h.
uint8_t usb_descriptor_configuration_t::max_power |
Maximum power consumption in 2mA steps
Definition at line 151 of file descriptor.h.
uint8_t usb_descriptor_configuration_t::num_interfaces |
Number of interfaces supported by this configuration
Definition at line 147 of file descriptor.h.
uint16_t usb_descriptor_configuration_t::total_length |
Total length of the configuration
Definition at line 146 of file descriptor.h.
uint8_t usb_descriptor_configuration_t::type |
Descriptor type (USB_TYPE_DESCRIPTOR_CONFIGURATION)
Definition at line 145 of file descriptor.h.
uint8_t usb_descriptor_configuration_t::val |
Value to select this configuration by
Definition at line 148 of file descriptor.h.