IOUSBGetEndpointType
Extracts the type of an endpoint from an endpoint descriptor.
Declaration
uint8_t IOUSBGetEndpointType(const IOUSBEndpointDescriptor *descriptor);Parameters
- descriptor:
The descriptor to parse.
Return Value
The endpoint type.
Discussion
This method parses an endpoint descriptor to determine its type.
See Also
Endpoint Descriptors
IOUSBGetNextEndpointDescriptorIOUSBGetEndpointAddressIOUSBGetEndpointBurstSizeIOUSBGetEndpointDirectionIOUSBGetEndpointIntervalEncodedMicroframesIOUSBGetEndpointIntervalFramesIOUSBGetEndpointIntervalMicroframesIOUSBGetEndpointMaxPacketSizeIOUSBGetEndpointMaxStreamsIOUSBGetEndpointMaxStreamsEncodedIOUSBGetEndpointMultIOUSBGetEndpointNumber