IOUSBGetEndpointIntervalMicroframes(_:_:)
Obtains the interval of an endpoint descriptor.
Declaration
func IOUSBGetEndpointIntervalMicroframes(_ usbDeviceSpeed: UInt32, _ descriptor: UnsafePointer<IOUSBEndpointDescriptor>!) -> UInt32Parameters
- usbDeviceSpeed:
The operational speed of the device.
- descriptor:
The endpoint descriptor to parse.
Return Value
The endpoint interval in microframes.
Discussion
This method parses an endpoint descriptor and returns the service interval in microframes.
See Also
Endpoint Descriptor Parsing
IOUSBGetNextEndpointDescriptor(_:_:_:)IOUSBGetEndpointDirection(_:)IOUSBGetEndpointAddress(_:)IOUSBGetEndpointNumber(_:)IOUSBGetEndpointType(_:)IOUSBGetEndpointMaxPacketSize(_:_:)IOUSBGetEndpointIntervalEncodedMicroframes(_:_:)IOUSBGetEndpointIntervalFrames(_:_:)IOUSBGetEndpointMaxStreamsEncoded(_:_:_:)IOUSBGetEndpointMaxStreams(_:_:_:)