Contents

IOUSBGetEndpointType(_:)

Obtains the type of an endpoint from an endpoint descriptor.

Declaration

func IOUSBGetEndpointType(_ descriptor: UnsafePointer<IOUSBEndpointDescriptor>!) -> UInt8

Parameters

  • descriptor:

    An endpoint descriptor to parse.

Return Value

The type found.

See Also

Endpoint Descriptor Parsing