EasyManuals Logo

Espressif ESP32-S2 User Manual

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
Page #510 background imageLoading...
Page #510 background image
Chapter 2. API Reference
USB_TRANSFER_TYPE_INTR
enum usb_transfer_status_t
The status of a particular transfer.
Values:
USB_TRANSFER_STATUS_COMPLETED
The transfer was successful (but may be short)
USB_TRANSFER_STATUS_ERROR
The transfer failed because due to excessive errors (e.g. no response or CRC error)
USB_TRANSFER_STATUS_TIMED_OUT
The transfer failed due to a time out
USB_TRANSFER_STATUS_CANCELED
The transfer was canceled
USB_TRANSFER_STATUS_STALL
The transfer was stalled
USB_TRANSFER_STATUS_OVERFLOW
The transfer as more data was sent than was requested
USB_TRANSFER_STATUS_SKIPPED
ISOC packets only. The packet was skipped due to system latency or bus overload
USB_TRANSFER_STATUS_NO_DEVICE
The transfer failed because the target device is gone
Header File
components/usb/include/usb/usb_types_ch9.h
Unions
union usb_setup_packet_t
#include <usb_types_ch9.h> Structure representing a USB control transfer setup packet.
See Table 9-2 of USB2.0 specification for more details
Public Members
uint8_t bmRequestType
Characteristics of request
uint8_t bRequest
Specific request
uint16_t wValue
Word-sized field that varies according to request
uint16_t wIndex
Word-sized field that varies according to request; typically used to pass an index or offset
uint16_t wLength
Number of bytes to transfer if there is a data stage
struct usb_setup_packet_t::[anonymous] [anonymous]
uint8_t val[USB_SETUP_PACKET_SIZE]
union usb_standard_desc_t
#include <usb_types_ch9.h> USB standard descriptor.
All USB standard descriptors start with these two bytes. Use this type when traversing over configuration
descriptors
Espressif Systems 499
Submit Document Feedback
Release v4.4

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Espressif ESP32-S2 Specifications

General IconGeneral
BrandEspressif
ModelESP32-S2
CategorySingle board computers
LanguageEnglish