TUsbcInterfaceInfo Class Reference

class TUsbcInterfaceInfo

This must be filled in prior to a call to RDevUsbcClient::SetInterface().

Constructor & Destructor Documentation

TUsbcInterfaceInfo(TInt, TInt, TInt, TDesC16 *, TUint)

TUsbcInterfaceInfo(TIntaClass = 0,
TIntaSubClass = 0,
TIntaProtocol = 0,
TDesC16 *aString = NULL,
TUintaTotalEndpoints = 0
)[inline]

Parameters

TInt aClass = 0
TInt aSubClass = 0
TInt aProtocol = 0
TDesC16 * aString = NULL
TUint aTotalEndpoints = 0

Member Data Documentation

TUsbcClassInfo iClass

TUsbcClassInfo iClass

The class, subclass and protocol that this interface supports.

TUsbcEndpointInfo iEndpointData

TUsbcEndpointInfo iEndpointData

Desired properties of the endpoints requested. Do NOT include endpoint 0. APIs use endpoint numbers that are offsets into this array.

TUint32 iFeatureWord

TUint32 iFeatureWord
32 flag bits used for specifying miscellaneous Interface features. Currently defined are:
  • KUsbcInterfaceInfo_NoEp0RequestsPlease = 0x00000001

const TDesC16 * iString

const TDesC16 *iString

The description string for the interface. Used to construct the interface string descriptor.

TUint iTotalEndpointsUsed

TUint iTotalEndpointsUsed

Total number of endpoints being requested (0-5). Endpoint 0 should not be included in this number.