Espressif ESP32-S2 Programming Manual page 511

Hide thumbs Also See for ESP32-S2:
Table of Contents

Advertisement

Chapter 2. API Reference
Public Members
uint8_t bLength
Size of the descriptor in bytes
uint8_t bDescriptorType
Descriptor Type
struct usb_standard_desc_t::[anonymous] USB_DESC_ATTR
uint8_t val[USB_STANDARD_DESC_SIZE]
union usb_device_desc_t
#include <usb_types_ch9.h> Structure representing a USB device descriptor.
See Table 9-8 of USB2.0 specification for more details
Public Members
uint8_t bLength
Size of the descriptor in bytes
uint8_t bDescriptorType
DEVICE Descriptor Type
uint16_t bcdUSB
USB Specification Release Number in Binary-Coded Decimal (i.e., 2.10 is 210H)
uint8_t bDeviceClass
Class code (assigned by the USB-IF)
uint8_t bDeviceSubClass
Subclass code (assigned by the USB-IF)
uint8_t bDeviceProtocol
Protocol code (assigned by the USB-IF)
uint8_t bMaxPacketSize0
Maximum packet size for endpoint zero (only 8, 16, 32, or 64 are valid)
uint16_t idVendor
Vendor ID (assigned by the USB-IF)
uint16_t idProduct
Product ID (assigned by the manufacturer)
uint16_t bcdDevice
Device release number in binary-coded decimal
uint8_t iManufacturer
Index of string descriptor describing manufacturer
uint8_t iProduct
Index of string descriptor describing product
uint8_t iSerialNumber
Index of string descriptor describing the device's serial number
uint8_t bNumConfigurations
Number of possible configurations
struct usb_device_desc_t::[anonymous] USB_DESC_ATTR
uint8_t val[USB_DEVICE_DESC_SIZE]
union usb_config_desc_t
#include <usb_types_ch9.h> Structure representing a short USB configuration descriptor.
Espressif Systems
500
Submit Document Feedback
Release v4.4

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32-S2 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF