pub unsafe extern "C-unwind" fn IOUSBGetEndpointMult(
usb_device_speed: u32,
descriptor: *const IOUSBEndpointDescriptor,
companion_descriptor: *const IOUSBSuperSpeedEndpointCompanionDescriptor,
ssp_companion_descriptor: *const IOUSBSuperSpeedPlusIsochronousEndpointCompanionDescriptor,
) -> u8Available on crate features
AppleUSBDescriptorParsing and objc2-io-kit only.Expand description
Extract the mult count from endpoint descriptors
This method parses endpoint descriptors to determine mult
Parameter usbDeviceSpeed: The operational speed of the device
Parameter descriptor: The EndpointDescriptor to parse
Parameter companionDescriptor: The SuperSpeedEndpointCompanionDescriptor to parse, or NULL
Parameter sspCompanionDescriptor: The SuperSpeedPlusIsochronousEndpointCompanionDescriptor to parse, or NULL
Returns: uint8_t The mult count
ยงSafety
descriptormust be a valid pointer.companion_descriptormust be a valid pointer.ssp_companion_descriptormust be a valid pointer.