usb_protocol.types.superspeed package

Module contents

SuperSpeed USB types – defines enumerations that describe standard USB3 types.

class usb_protocol.types.superspeed.HeaderPacketType(value)[source]

Bases: IntEnum

Constants representing the Header Packet archetypes.

DATA = 8
ISOCHRONOUS_TIMESTAMP = 12
TRANSACTION = 4
class usb_protocol.types.superspeed.LinkCommand(value)[source]

Bases: IntEnum

Constant values (including both class and type) for link commands.

LAU = 5
LBAD = 3
LCRD = 1
LDN = 11
LGOOD = 0
LGO_U = 4
LPMA = 7
LRTY = 2
LUP = 8
LXU = 6
get_class()[source]
get_type()[source]
class usb_protocol.types.superspeed.LinkManagementPacketSubtype(value)[source]

Bases: IntEnum

Constants represneting the various types of Link Management Packet.

PORT_CAPABILITY = 4
PORT_CONFIGURATION = 5
PORT_CONFIGURATION_RESPONSE = 6
PRECISION_TIME_MANAGEMENT = 7
U2_INACTIVITY_TIMEOUT = 2
VENDOR_DEVICE_TEST = 3
class usb_protocol.types.superspeed.TransactionPacketSubtype(value)[source]

Bases: IntEnum

Constants representing the subtypes of Transition Header Packet.

ACK = 1
ERDY = 3
NOTIFICATION = 6
NRDY = 2
PING = 7
PING_RESPONSE = 8
STALL = 5
STATUS = 4