Contents

IOUSBGetEndpointIntervalFrames(_:_:)

Obtains the interval of an endpoint descriptor.

Declaration

func IOUSBGetEndpointIntervalFrames(_ usbDeviceSpeed: UInt32, _ descriptor: UnsafePointer<IOUSBEndpointDescriptor>!) -> UInt32

Parameters

  • usbDeviceSpeed:

    The operational speed of the device.

  • descriptor:

    The endpoint descriptor to parse.

Return Value

The endpoint interval in frames.

Discussion

This method parses an endpoint descriptor and returns the service interval in frames.

See Also

Endpoint Descriptor Parsing