Loading...
Searching...
No Matches
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 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

 

Field Documentation

◆ attributes

uint8_t usb_descriptor_configuration_t::attributes

Configuration attributes (USB_CONF_ATTR)

Definition at line 150 of file descriptor.h.

◆ idx

uint8_t usb_descriptor_configuration_t::idx

Configuration descriptor string index

Definition at line 149 of file descriptor.h.

◆ length

uint8_t usb_descriptor_configuration_t::length

Size of this descriptor

Definition at line 144 of file descriptor.h.

◆ max_power

uint8_t usb_descriptor_configuration_t::max_power

Maximum power consumption in 2mA steps

Definition at line 151 of file descriptor.h.

◆ num_interfaces

uint8_t usb_descriptor_configuration_t::num_interfaces

Number of interfaces supported by this configuration

Definition at line 147 of file descriptor.h.

◆ total_length

uint16_t usb_descriptor_configuration_t::total_length

Total length of the configuration

Definition at line 146 of file descriptor.h.

◆ type

uint8_t usb_descriptor_configuration_t::type

Descriptor type (USB_TYPE_DESCRIPTOR_CONFIGURATION)

Definition at line 145 of file descriptor.h.

◆ val

uint8_t usb_descriptor_configuration_t::val

Value to select this configuration by

Definition at line 148 of file descriptor.h.


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