RUsbPipe Class Reference

class RUsbPipe

Functions which act on an individual pipe established between the local host and a remote device.

Constructor & Destructor Documentation

RUsbPipe()

RUsbPipe()[inline]

Member Functions Documentation

CancelAllTransfers()

voidCancelAllTransfers()[inline]

Cancel all queued transfers

ClearRemoteStall()

TInt ClearRemoteStall()[inline]

Clear a stall on the remote endpoint.

Close()

voidClose()[inline]

Close a pipe to a remote device.

GetBusId(TUsbBusId &)

TInt GetBusId(TUsbBusId &aBusId)[inline]

Get Bus ID

Parameters

TUsbBusId & aBusId

GetEndpointDescriptor(TUsbEndpointDescriptor &)

TInt GetEndpointDescriptor(TUsbEndpointDescriptor &aDescriptor)[inline]

Return the section of the USB Configuration Descriptor under the supplied endpoint.

Parameters

TUsbEndpointDescriptor & aDescriptorThe descriptor tree for this endpoint.

GetEndpointId(TUsbEndpointId &)

TInt GetEndpointId(TUsbEndpointId &aEndpointId)[inline]

Get endpoint ID

Parameters

TUsbEndpointId & aEndpointId

Handle()

TUint32 Handle()const [inline]

IssueTransfer(TInt, TRequestStatus &)

voidIssueTransfer(TIntaTransferHandle,
TRequestStatus &aRequest
)[private, inline]

Issues a transfer.

Parameters

TInt aTransferHandle
TRequestStatus & aRequest

Transfer(RUsbTransferDescriptor &, TRequestStatus &)

IMPORT_C voidTransfer(RUsbTransferDescriptor &aTransfer,
TRequestStatus &aRequest
)

Queue a transfer.

Parameters

RUsbTransferDescriptor & aTransferThe transfer descriptor to execute.
TRequestStatus & aRequestHolds completion status of the transfer.

Member Enumerations Documentation

Enum TUsbPipeControl

Enumerators

EClose = 0x4000000
EAbort
EClearRemoteStall
EGetEndpointId

Enum TUsbPipeRequest

Enumerators

EIssueTransfer = 0x4000000

Member Data Documentation

TUint32 iHandle

TUint32 iHandle[private]

TUsbEndpointDescriptor * iHeadEndpointDescriptor

TUsbEndpointDescriptor *iHeadEndpointDescriptor[private]

RUsbInterface * iInterface

RUsbInterface *iInterface[private]