Contents

IOUSBGetEndpointUsageType

Declaration

uint8_t IOUSBGetEndpointUsageType(const IOUSBEndpointDescriptor *descriptor);

Parameters

  • descriptor:

    The descriptor to parse

Return Value

tEndpointUsageType indicating the type found.

Discussion

Extract the usage type of an endpoint from an endpoint descriptor

This method parses an endpoint descriptor to determine its usage type. Only periodic endpoints have usage types

See Also

Functions