struct libusb_interface

Overview

A collection of alternate settings for a particular USB interface. Moreā€¦

#include <libusb.h>

struct libusb_interface {
    // fields

    const struct libusb_interface_descriptor* altsetting;
    int num_altsetting;
};

Detailed Documentation

A collection of alternate settings for a particular USB interface.

Fields

const struct libusb_interface_descriptor* altsetting

Array of interface descriptors.

The length of this array is determined by the num_altsetting field.

int num_altsetting

The number of alternate settings that belong to this interface.