Skip to content

Commit e3449e6

Browse files
committed
Update libusb.h
1 parent b4ec6b6 commit e3449e6

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

include/led-drivers/spi/ftdi/libusb.h

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,29 @@
3131
typedef long usbi_atomic_t;
3232
#endif
3333

34+
enum libusb_speed {
35+
/** The OS doesn't report or know the device speed. */
36+
LIBUSB_SPEED_UNKNOWN = 0,
37+
38+
/** The device is operating at low speed (1.5MBit/s). */
39+
LIBUSB_SPEED_LOW = 1,
40+
41+
/** The device is operating at full speed (12MBit/s). */
42+
LIBUSB_SPEED_FULL = 2,
43+
44+
/** The device is operating at high speed (480MBit/s). */
45+
LIBUSB_SPEED_HIGH = 3,
46+
47+
/** The device is operating at super speed (5000MBit/s). */
48+
LIBUSB_SPEED_SUPER = 4,
49+
50+
/** The device is operating at super speed plus (10000MBit/s). */
51+
LIBUSB_SPEED_SUPER_PLUS = 5,
52+
53+
/** The device is operating at super speed plus x2 (20000MBit/s). */
54+
LIBUSB_SPEED_SUPER_PLUS_X2 = 6,
55+
};
56+
3457
struct libusb_device_descriptor {
3558
/** Size of this descriptor (in bytes) */
3659
uint8_t bLength;

0 commit comments

Comments
 (0)