TUsbcEndpointInfo Class Reference

class TUsbcEndpointInfo

The desired endpoint capabilities used in RDevUsbcClient::SetInterface().

Constructor & Destructor Documentation

TUsbcEndpointInfo(TUint, TUint, TInt, TInt, TInt)

TUsbcEndpointInfo(TUintaType =  KUsbEpTypeBulk ,
TUintaDir =  KUsbEpDirOut ,
TIntaSize = 0,
TIntaInterval = 0,
TIntaExtra = 0
)[inline]

Parameters

TUint aType =  KUsbEpTypeBulk
TUint aDir =  KUsbEpDirOut
TInt aSize = 0
TInt aInterval = 0
TInt aExtra = 0

Member Functions Documentation

AdjustEpSizes(TInt &, TInt &)

TInt AdjustEpSizes(TInt &aEpSize_Fs,
TInt &aEpSize_Hs
)const

Parameters

TInt & aEpSize_Fs
TInt & aEpSize_Hs

AdjustPollInterval()

TInt AdjustPollInterval()

Member Data Documentation

TUint iDir

TUint iDir

Direction (mask: KUsbEpDirIn, etc., but used as value).

TInt iExtra

TInt iExtra

The number of extra bytes that the standard endpoint descriptor should be extended by. In almost all cases, this should be 0 (zero).

TUint32 iFeatureWord1

TUint32 iFeatureWord1
32 flag bits indicating miscellaneous endpoint features. Currently defined are:
  • KUsbcEndpointInfoFeatureWord1_DMA = 0x00000001

  • KUsbcEndpointInfoFeatureWord1_DoubleBuffering = 0x00000002

TInt iInterval

TInt iInterval

Interval for polling full-speed interrupt and isochronous endpoints. Expressed either directly in milliseconds with a valid range 1..255 (interrupt), or for use as 'value' in the expression interval=2^(value-1) with a valid range 1..16 (isochronous).

TInt iInterval_Hs

TInt iInterval_Hs

Interval for polling high-speed interrupt and isochronous endpoints, or to specify the NAK rate for high-speed control and bulk OUT endpoints. Expressed either for use as 'value' in the expression interval=2^(value-1) with a valid range 1..16 (interrupt and isochronous), or directly as the maximum NAK rate with a valid range 0..255 (control and bulk).

TUint32 iReserved

TUint32 iReserved

Reserved for future use.

TInt iSize

TInt iSize

Maximum packet size (literal, no mask).

TInt iTransactions

TInt iTransactions

The number of additional transactions per uframe to be scheduled (0..2) (A value greater than zero is only valid for high-speed high bandwidth interrupt and isochronous endpoints. Also note that there are endpoint size restrictions associated with additional transactions - see 9.6.6.)

TUint iType

TUint iType

Endpoint type (mask: KUsbEpTypeControl, etc., but used as value).