Data Members



Endpoint

public:
  struct  Endpoint  {
  IOUSBEndpointDescriptor  *descriptor;
  UInt8  number;
  UInt8  direction;  //  in,  out
  UInt8  transferType;  //  cntrl,  bulk,  isoc,  int
  UInt16  maxPacketSize;
  UInt8  interval;
  };

Describes an endpoint of a device. Simply an easier to use version of the endpoint descriptor.

Fields

NameDescription
descriptorThe raw endpoint descriptor.
numberEndpoint number
directionEndpoint direction: kUSBOut, kUSBIn, kUSBAnyDirn
transferTypeType of endpoint: kUSBControl, kUSBIsoc, kUSBBulk, kUSBInterrupt
maxPacketSizeMaximum packet size for endpoint
intervalPolling interval in milliseconds (only relevent for Interrupt endpoints)

© 2000 Apple Computer, Inc. — (Last Updated 2/23/2000)