EasyManua.ls Logo

Espressif ESP32-S2 - Page 512

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 2. API Reference
See Table 9-10 of USB2.0 specification for more details
Note The full USB configuration includes all the interface and endpoint descriptors of that configuration.
Public Members
uint8_t bLength
Size of the descriptor in bytes
uint8_t bDescriptorType
CONFIGURATION Descriptor Type
uint16_t wTotalLength
Total length of data returned for this configuration
uint8_t bNumInterfaces
Number of interfaces supported by this configuration
uint8_t bConfigurationValue
Value to use as an argument to the SetConfiguration() request to select this configuration
uint8_t iConfiguration
Index of string descriptor describing this configuration
uint8_t bmAttributes
Configuration characteristics
uint8_t bMaxPower
Maximum power consumption of the USB device from the bus in this specic configuration when the
device is fully operational.
struct usb_config_desc_t::[anonymous] USB_DESC_ATTR
uint8_t val[USB_CONFIG_DESC_SIZE]
union usb_iad_desc_t
#include <usb_types_ch9.h> Structure representing a USB interface association descriptor.
Public Members
uint8_t bLength
Size of the descriptor in bytes
uint8_t bDescriptorType
INTERFACE ASSOCIATION Descriptor Type
uint8_t bFirstInterface
Interface number of the first interface that is associated with this function
uint8_t bInterfaceCount
Number of contiguous interfaces that are associated with this function
uint8_t bFunctionClass
Class code (assigned by USB-IF)
uint8_t bFunctionSubClass
Subclass code (assigned by USB-IF)
uint8_t bFunctionProtocol
Protocol code (assigned by USB-IF)
uint8_t iFunction
Index of string descriptor describing this function
struct usb_iad_desc_t::[anonymous] USB_DESC_ATTR
uint8_t val[USB_IAD_DESC_SIZE]
Espressif Systems 501
Submit Document Feedback
Release v4.4

Table of Contents