IOUSBGetEndpointMult
Extracts the mult count from endpoint descriptors.
Declaration
uint8_t IOUSBGetEndpointMult(uint32_t usbDeviceSpeed, const IOUSBEndpointDescriptor *descriptor, const IOUSBSuperSpeedEndpointCompanionDescriptor *companionDescriptor, const IOUSBSuperSpeedPlusIsochronousEndpointCompanionDescriptor *sspCompanionDescriptor);Parameters
- usbDeviceSpeed:
The operational speed of the device.
- descriptor:
The endpoint descriptor to parse.
- companionDescriptor:
The companion descriptor to parse, or
NULL. - sspCompanionDescriptor:
The SSP companion descriptor to parse, or
NULL.
Return Value
The mult count.
Discussion
This method parses endpoint descriptors to determine mult.
See Also
Endpoint Descriptors
IOUSBGetNextEndpointDescriptorIOUSBGetEndpointAddressIOUSBGetEndpointBurstSizeIOUSBGetEndpointDirectionIOUSBGetEndpointIntervalEncodedMicroframesIOUSBGetEndpointIntervalFramesIOUSBGetEndpointIntervalMicroframesIOUSBGetEndpointMaxPacketSizeIOUSBGetEndpointMaxStreamsIOUSBGetEndpointMaxStreamsEncodedIOUSBGetEndpointNumberIOUSBGetEndpointType