TUsbConfigurationDescriptor Class Reference

class TUsbConfigurationDescriptor : public TUsbGenericDescriptor

Configuration descriptor.

See section 9.6.3 of the USB 2.0 specification.

Intended to be available to 3rd parties later

Inherits from

Constructor & Destructor Documentation

TUsbConfigurationDescriptor()

IMPORT_CTUsbConfigurationDescriptor()

Member Functions Documentation

Attributes()

IMPORT_C TUint8Attributes()const

Cast(TUsbGenericDescriptor *)

IMPORT_C TUsbConfigurationDescriptor *Cast(TUsbGenericDescriptor *aOriginal)[static]

Parameters

TUsbGenericDescriptor * aOriginal

ConfigurationIndex()

IMPORT_C TUint8ConfigurationIndex()const

ConfigurationValue()

IMPORT_C TUint8ConfigurationValue()const

IsParent(TUsbGenericDescriptor &)

TBool IsParent(TUsbGenericDescriptor &aPotentialParent)[virtual]

Parameters

TUsbGenericDescriptor & aPotentialParent

IsPeer(TUsbGenericDescriptor &)

TBool IsPeer(TUsbGenericDescriptor &aPotentialPeer)[virtual]

Parameters

TUsbGenericDescriptor & aPotentialPeer

MaxPower()

IMPORT_C TUint8MaxPower()const

NumInterfaces()

IMPORT_C TUint8NumInterfaces()const

ParseL(TPtrC8 &, TUsbGenericDescriptor *)

TUsbConfigurationDescriptor *ParseL(TPtrC8 &aUsbDes,
TUsbGenericDescriptor *aPreviousDesc
)[static]

The parsing routine for configuration descriptors.

Parameters

TPtrC8 & aUsbDes
TUsbGenericDescriptor * aPreviousDesc

TotalLength()

IMPORT_C TUint16TotalLength()const

Member Enumerations Documentation

Enum TFieldOffsets

Enumerators

EwTotalLength = 2
EbNumInterfaces = 4
EbConfigurationValue = 5
EiConfiguration = 6
EbmAttributes = 7
EbMaxPower = 8

Member Data Documentation

const TInt KSizeInOctets

const TIntKSizeInOctets[static]