Add more USB request definitions. The values are described in section

9.4.11 and 9.4.12 of the "Universal Serial Bus 3.0 Specification"

Submitted by:	Dmitry Luhtionov <dmitryluhtionov@gmail.com>
MFC after:	1 week
This commit is contained in:
Hans Petter Selasky 2015-01-16 12:11:01 +00:00
parent 69c4b56a74
commit 8778569724
2 changed files with 8 additions and 0 deletions

View File

@ -128,6 +128,8 @@ enum libusb_standard_request {
LIBUSB_REQUEST_GET_INTERFACE = 0x0A, LIBUSB_REQUEST_GET_INTERFACE = 0x0A,
LIBUSB_REQUEST_SET_INTERFACE = 0x0B, LIBUSB_REQUEST_SET_INTERFACE = 0x0B,
LIBUSB_REQUEST_SYNCH_FRAME = 0x0C, LIBUSB_REQUEST_SYNCH_FRAME = 0x0C,
LIBUSB_REQUEST_SET_SEL = 0x30,
LIBUSB_REQUEST_SET_ISOCH_DELAY = 0x31,
}; };
enum libusb_request_type { enum libusb_request_type {

View File

@ -481,6 +481,12 @@ enum libusb20_standard_request {
/** Set then report an endpoint's synchronization frame */ /** Set then report an endpoint's synchronization frame */
LIBUSB20_REQUEST_SYNCH_FRAME = 0x0C, LIBUSB20_REQUEST_SYNCH_FRAME = 0x0C,
/** Set U1 and U2 system exit latency */
LIBUSB20_REQUEST_SET_SEL = 0x30,
/** Set isochronous delay */
LIBUSB20_REQUEST_SET_ISOCH_DELAY = 0x31,
}; };
/** \ingroup misc /** \ingroup misc