IOUSBHostDeviceRequestType(_:_:_:)
Creates the request type field of a device request.
Declaration
func IOUSBHostDeviceRequestType(_ direction: tIOUSBDeviceRequestDirectionValue, _ type: tIOUSBDeviceRequestTypeValue, _ recipient: tIOUSBDeviceRequestRecipientValue) -> UInt8Parameters
- direction:
The direction of the request.
- type:
The type of the request.
- recipient:
The recipient of the request.
Return Value
The request type.