TransferType (Enum)

class usbx.TransferType(value)

USB transfer type.

BULK = 2

Bulk transfer.

CONTROL = 0

Control transfer.

INTERRUPT = 3

Interrupt transfer.

ISOCHRONOUS = 1

Isochronous transfer.

classmethod from_attributes(attributes: int) TransferType

Extract the transfer type from bmAttributes of an endpoint descriptor.