EasyManua.ls Logo

Espressif ESP32-S2 - Page 513

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
union usb_intf_desc_t
#include <usb_types_ch9.h> Structure representing a USB interface descriptor.
See Table 9-12 of USB2.0 specification for more details
Public Members
uint8_t bLength
Size of the descriptor in bytes
uint8_t bDescriptorType
INTERFACE Descriptor Type
uint8_t bInterfaceNumber
Number of this interface.
uint8_t bAlternateSetting
Value used to select this alternate setting for the interface identified in the prior field
uint8_t bNumEndpoints
Number of endpoints used by this interface (excluding endpoint zero).
uint8_t bInterfaceClass
Class code (assigned by the USB-IF)
uint8_t bInterfaceSubClass
Subclass code (assigned by the USB-IF)
uint8_t bInterfaceProtocol
Protocol code (assigned by the USB)
uint8_t iInterface
Index of string descriptor describing this interface
struct usb_intf_desc_t::[anonymous] USB_DESC_ATTR
uint8_t val[USB_INTF_DESC_SIZE]
union usb_ep_desc_t
#include <usb_types_ch9.h> Structure representing a USB endpoint descriptor.
See Table 9-13 of USB2.0 specification for more details
Public Members
uint8_t bLength
Size of the descriptor in bytes
uint8_t bDescriptorType
ENDPOINT Descriptor Type
uint8_t bEndpointAddress
The address of the endpoint on the USB device described by this descriptor
uint8_t bmAttributes
This field describes the endpoints attributes when it is configured using the bConfigurationValue.
uint16_t wMaxPacketSize
Maximum packet size this endpoint is capable of sending or receiving when this configuration is selected.
uint8_t bInterval
Interval for polling Isochronous and Interrupt endpoints. Expressed in frames or microframes depending
on the device operating speed (1 ms for Low-Speed and Full-Speed or 125 us for USB High-Speed and
above).
struct usb_ep_desc_t::[anonymous] USB_DESC_ATTR
Espressif Systems 502
Submit Document Feedback
Release v4.4

Table of Contents