Chapter 2. API Reference
USB_BM_ATTRIBUTES_ONE
Bit masks belonging to the bmAttributes field of a configuration descriptor.
USB_BM_ATTRIBUTES_SELFPOWER
USB_BM_ATTRIBUTES_WAKEUP
USB_BM_ATTRIBUTES_BATTERY
USB_IAD_DESC_SIZE
Size of a USB interface association descriptor in bytes.
USB_INTF_DESC_SIZE
Size of a USB interface descriptor in bytes.
USB_EP_DESC_SIZE
Size of a USB endpoint descriptor in bytes.
USB_B_ENDPOINT_ADDRESS_EP_NUM_MASK
Bit masks belonging to the bEndpointAddress field of an endpoint descriptor.
USB_B_ENDPOINT_ADDRESS_EP_DIR_MASK
USB_BM_ATTRIBUTES_XFERTYPE_MASK
Bit masks belonging to the bmAttributes field of an endpoint descriptor.
USB_BM_ATTRIBUTES_XFER_CONTROL
USB_BM_ATTRIBUTES_XFER_ISOC
USB_BM_ATTRIBUTES_XFER_BULK
USB_BM_ATTRIBUTES_XFER_INT
USB_BM_ATTRIBUTES_SYNCTYPE_MASK
USB_BM_ATTRIBUTES_SYNC_NONE
USB_BM_ATTRIBUTES_SYNC_ASYNC
USB_BM_ATTRIBUTES_SYNC_ADAPTIVE
USB_BM_ATTRIBUTES_SYNC_SYNC
USB_BM_ATTRIBUTES_USAGETYPE_MASK
USB_BM_ATTRIBUTES_USAGE_DATA
USB_BM_ATTRIBUTES_USAGE_FEEDBACK
USB_BM_ATTRIBUTES_USAGE_IMPLICIT_FB
USB_EP_DESC_GET_XFERTYPE(desc_ptr)
Macro helpers to get information about an endpoint from its descriptor.
USB_EP_DESC_GET_EP_NUM(desc_ptr)
USB_EP_DESC_GET_EP_DIR(desc_ptr)
USB_EP_DESC_GET_MPS(desc_ptr)
USB_STR_DESC_SIZE
Size of a short USB string descriptor in bytes.
Enumerations
enum usb_device_state_t
USB2.0 device states.
See Table 9-1 of USB2.0 specification for more details
Note The USB_DEVICE_STATE_NOT_ATTACHED is not part of the USB2.0 specification, but is a catch
all state for devices that need to be cleaned up after a sudden disconnection or port error.
Espressif Systems 506
Submit Document Feedback
Release v4.4