TUsbcScChunkHeader Class Reference
Constructor & Destructor Documentation
TUsbcScChunkHeader(RChunk)
IMPORT_C
|
TUsbcScChunkHeader
|
(
|
RChunk
|
aChunk
|
)
|
|
The constructor for the
TUsbcScChunkHeader
class takes a
RChunk
object, containing USBcSc data structures, and initialises itself, so that GetNumberOfEndpoints & GetBuffer can be used to interpret the chunk structures.
Member Functions Documentation
GetBuffer(TInt, TInt, TUsbcScHdrEndpointRecord *&)
Retrieves the available information in the chunk, about the given endpoint, on the given alternate setting. The returned
TUsbcScBufferRecord
, represents the buffer geometry, used for for the endpoint, while the filled in
TUsbcScHdrEndpointRecord
represents additional endpoint information.
Parameters
TInt
aAltSetting
|
The alternate setting, for which the provided endpoint number, is a member of.
|
TInt
aEndpoint
|
The endpoint, who's buffer geometry is required.
|
TUsbcScHdrEndpointRecord
*& aEndpointInf
|
The provided record is filled in with details of the endpoint, who's number was given.
|
GetNumberOfEndpoints(TInt)
IMPORT_C
TInt
|
GetNumberOfEndpoints
|
(
|
TInt
|
aAltSetting
|
)
|
|
Retrieves the number of endpoints found in a given alternate setting.
Parameters
TInt
aAltSetting
|
The alternate setting number, for which the number of endpoints contained within, is needed.
|
Member Data Documentation
TUsbcScChunkAltSettingHeader * iAltSettings
TUsbcScChunkBuffersHeader * iBuffers
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.