struct libusb_ss_endpoint_companion_descriptor

Overview

A structure representing the superspeed endpoint companion descriptor. Moreā€¦

#include <libusb.h>

struct libusb_ss_endpoint_companion_descriptor {
    // fields

    uint8_t bLength;
    uint8_t bDescriptorType;
    uint8_t bMaxBurst;
    uint8_t bmAttributes;
    uint16_t wBytesPerInterval;
};

Detailed Documentation

A structure representing the superspeed endpoint companion descriptor.

This descriptor is documented in section 9.6.7 of the USB 3.0 specification. All multiple-byte fields are represented in host-endian format.

Fields

uint8_t bLength

Size of this descriptor (in bytes)

uint8_t bDescriptorType

Descriptor type.

Will have value libusb_descriptor_type::LIBUSB_DT_SS_ENDPOINT_COMPANION in this context.

uint8_t bMaxBurst

The maximum number of packets the endpoint can send or receive as part of a burst.

uint8_t bmAttributes

In bulk EP: bits 4:0 represents the maximum number of streams the EP supports.

In isochronous EP: bits 1:0 represents the Mult - a zero based value that determines the maximum number of packets within a service interval

uint16_t wBytesPerInterval

The total number of bytes this EP will transfer every service interval.

valid only for periodic EPs.