TUsbOtherSpeedDescriptor Class Reference

class TUsbOtherSpeedDescriptor : public TUsbGenericDescriptor

Other Speed descriptor.

See section 9.6.4 of the USB 2.0 specification.

Intended to be available to 3rd parties later

Inherits from

Public Member Functions
TUsbOtherSpeedDescriptor ()
IMPORT_C TUint8 Attributes ()
IMPORT_C TUsbOtherSpeedDescriptor * Cast ( TUsbGenericDescriptor *)
IMPORT_C TUint8 ConfigurationIndex ()
IMPORT_C TUint8 ConfigurationValue ()
TBool IsParent ( TUsbGenericDescriptor &)
TBool IsPeer ( TUsbGenericDescriptor &)
IMPORT_C TUint8 MaxPower ()
IMPORT_C TUint8 NumInterfaces ()
TUsbOtherSpeedDescriptor * ParseL ( TPtrC8 &, TUsbGenericDescriptor *)
IMPORT_C TUint16 TotalLength ()
Inherited Functions
TUsbGenericDescriptor::DestroyTree()
TUsbGenericDescriptor::IsChild(TUsbGenericDescriptor &)
TUsbGenericDescriptor::TUint16At(TInt)const
TUsbGenericDescriptor::TUint32At(TInt)const
TUsbGenericDescriptor::TUint8At(TInt)const
TUsbGenericDescriptor::TUsbGenericDescriptor()
TUsbGenericDescriptor::operator TCleanupItem()
TUsbGenericDescriptor::operator=(const TUsbGenericDescriptor &)
Public Member Enumerations
enum TFieldOffsets {
EwTotalLength  = 2, EbNumInterfaces  = 4, EbConfigurationValue  = 5, EiConfiguration  = 6, EbmAttributes  = 7, EbMaxPower  = 8
}
Inherited Enumerations
TUsbGenericDescriptor:TUsbGenericDescriptorFlags
Public Attributes
const TInt KSizeInOctets
Inherited Attributes
TUsbGenericDescriptor::KbDescriptorTypeOffset
TUsbGenericDescriptor::KbLengthOffset
TUsbGenericDescriptor::iBlob
TUsbGenericDescriptor::iFirstChild
TUsbGenericDescriptor::iNextPeer
TUsbGenericDescriptor::iParent
TUsbGenericDescriptor::iRecognisedAndParsed
TUsbGenericDescriptor::ibDescriptorType
TUsbGenericDescriptor::ibLength

Constructor & Destructor Documentation

TUsbOtherSpeedDescriptor()

IMPORT_C TUsbOtherSpeedDescriptor ( )

Member Functions Documentation

Attributes()

IMPORT_C TUint8 Attributes ( ) const

Cast(TUsbGenericDescriptor *)

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

Parameters

TUsbGenericDescriptor * aOriginal

ConfigurationIndex()

IMPORT_C TUint8 ConfigurationIndex ( ) const

ConfigurationValue()

IMPORT_C TUint8 ConfigurationValue ( ) const

IsParent(TUsbGenericDescriptor &)

TBool IsParent ( TUsbGenericDescriptor & aPotentialParent ) [virtual]

Parameters

TUsbGenericDescriptor & aPotentialParent

IsPeer(TUsbGenericDescriptor &)

TBool IsPeer ( TUsbGenericDescriptor & aPotentialPeer ) [virtual]

Parameters

TUsbGenericDescriptor & aPotentialPeer

MaxPower()

IMPORT_C TUint8 MaxPower ( ) const

NumInterfaces()

IMPORT_C TUint8 NumInterfaces ( ) const

ParseL(TPtrC8 &, TUsbGenericDescriptor *)

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

The parsing routine for other speed descriptors.

Parameters

TPtrC8 & aUsbDes
TUsbGenericDescriptor * aPreviousDesc

TotalLength()

IMPORT_C TUint16 TotalLength ( ) 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 TInt KSizeInOctets [static]