pub unsafe extern "C-unwind" fn IOUSBGetEndpointIntervalEncodedMicroframes(
usb_device_speed: u32,
descriptor: *const IOUSBEndpointDescriptor,
) -> u32Available on crate features
AppleUSBDescriptorParsing and objc2-io-kit only.Expand description
Extract the interval of an endpoint descriptor
This method parses an endpoint descriptor and returns the service interval as n in (2^(n-1)) microframes
Parameter usbDeviceSpeed: The operational speed of the device
Parameter descriptor: The EndpointDescriptor to parse
Returns: uint32_t Encoded endpoint interval
ยงSafety
descriptor must be a valid pointer.