TUsbOTGDescriptor Class Reference

class TUsbOTGDescriptor : public TUsbGenericDescriptor

OTG descriptor.

See section 6.4 of the USB 2.0 On-The-Go Supplement Revision 1.3

Intended to be available to 3rd parties later

Inherits from

Constructor & Destructor Documentation

TUsbOTGDescriptor()

IMPORT_C TUsbOTGDescriptor ( )

Member Functions Documentation

Attributes()

IMPORT_C TUint8 Attributes ( ) const

Cast(TUsbGenericDescriptor *)

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

Parameters

TUsbGenericDescriptor * aOriginal

HNPSupported()

IMPORT_C TBool HNPSupported ( ) const

IsParent(TUsbGenericDescriptor &)

TBool IsParent ( TUsbGenericDescriptor & aPotentialParent ) [virtual]

Parameters

TUsbGenericDescriptor & aPotentialParent

IsPeer(TUsbGenericDescriptor &)

TBool IsPeer ( TUsbGenericDescriptor & aPotentialPeer ) [virtual]

Parameters

TUsbGenericDescriptor & aPotentialPeer

ParseL(TPtrC8 &, TUsbGenericDescriptor *)

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

The parsing routine for OTG descriptors.

Parameters

TPtrC8 & aUsbDes
TUsbGenericDescriptor * aPreviousDesc

SRPSupported()

IMPORT_C TBool SRPSupported ( ) const

Member Enumerations Documentation

Enum TFieldOffsets

Enumerators

EbmAttributes = 2

Member Data Documentation

const TInt KSizeInOctets

const TInt KSizeInOctets [static]