IOUSBGetEndpointType(_:)
Obtains the type of an endpoint from an endpoint descriptor.
Declaration
func IOUSBGetEndpointType(_ descriptor: UnsafePointer<IOUSBEndpointDescriptor>!) -> UInt8Parameters
- descriptor:
An endpoint descriptor to parse.
Return Value
The type found.
See Also
Endpoint Descriptor Parsing
IOUSBGetNextEndpointDescriptor(_:_:_:)IOUSBGetEndpointDirection(_:)IOUSBGetEndpointAddress(_:)IOUSBGetEndpointNumber(_:)IOUSBGetEndpointMaxPacketSize(_:_:)IOUSBGetEndpointIntervalEncodedMicroframes(_:_:)IOUSBGetEndpointIntervalMicroframes(_:_:)IOUSBGetEndpointIntervalFrames(_:_:)IOUSBGetEndpointMaxStreamsEncoded(_:_:_:)IOUSBGetEndpointMaxStreams(_:_:_:)