enum libusb_standard_request

Overview

Standard requests, as defined in table 9-5 of the USB 3.0 specifications. More…

#include <libusb.h>

enum libusb_standard_request {
    LIBUSB_REQUEST_GET_STATUS        = 0x00,
    LIBUSB_REQUEST_CLEAR_FEATURE     = 0x01,
    LIBUSB_REQUEST_SET_FEATURE       = 0x03,
    LIBUSB_REQUEST_SET_ADDRESS       = 0x05,
    LIBUSB_REQUEST_GET_DESCRIPTOR    = 0x06,
    LIBUSB_REQUEST_SET_DESCRIPTOR    = 0x07,
    LIBUSB_REQUEST_GET_CONFIGURATION = 0x08,
    LIBUSB_REQUEST_SET_CONFIGURATION = 0x09,
    LIBUSB_REQUEST_GET_INTERFACE     = 0x0A,
    LIBUSB_REQUEST_SET_INTERFACE     = 0x0B,
    LIBUSB_REQUEST_SYNCH_FRAME       = 0x0C,
    LIBUSB_REQUEST_SET_SEL           = 0x30,
    LIBUSB_SET_ISOCH_DELAY           = 0x31,
};

Detailed Documentation

Standard requests, as defined in table 9-5 of the USB 3.0 specifications.

Enum Values

LIBUSB_REQUEST_GET_STATUS

Request status of the specific recipient.

LIBUSB_REQUEST_CLEAR_FEATURE

Clear or disable a specific feature.

LIBUSB_REQUEST_SET_FEATURE

Set or enable a specific feature.

LIBUSB_REQUEST_SET_ADDRESS

Set device address for all future accesses.

LIBUSB_REQUEST_GET_DESCRIPTOR

Get the specified descriptor.

LIBUSB_REQUEST_SET_DESCRIPTOR

Used to update existing descriptors or add new descriptors.

LIBUSB_REQUEST_GET_CONFIGURATION

Get the current device configuration value.

LIBUSB_REQUEST_SET_CONFIGURATION

Set device configuration.

LIBUSB_REQUEST_GET_INTERFACE

Return the selected alternate setting for the specified interface.

LIBUSB_REQUEST_SET_INTERFACE

Select an alternate interface for the specified interface.

LIBUSB_REQUEST_SYNCH_FRAME

Set then report an endpoint’s synchronization frame.

LIBUSB_REQUEST_SET_SEL

Sets both the U1 and U2 Exit Latency.

LIBUSB_SET_ISOCH_DELAY

Delay from the time a host transmits a packet to the time it is received by the device.