diff -r 578be2adaf3e -r 307f4279f433 Adaptation/GUID-E1277A18-7201-4856-8712-067022F92123.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Adaptation/GUID-E1277A18-7201-4856-8712-067022F92123.dita Fri Oct 15 14:32:18 2010 +0100 @@ -0,0 +1,84 @@ + + + + + +DSDIOStack +Class TutorialDescribes the DSDIOStack API class. +
Description

The DSDIOStack class +provides the SDIO specific implementation of the initialization state machine +and the support for asynchronous IO read and write operations.

+ + + +

Header file

+

sdio.h

+
+ +

Source code file

+

sdiostack.cpp

+
+ +

Required libraries

+

EPBUSSDIO

+
+ +

Class declaration

+

class DSDIOStack : public DStackBase

+
+ + +
+
AcquireStackSM()

The +function declaration for the AcquireStackSM()method is:

IMPORT_C virtual TMMCErr AcquireStackSM();

Description

This adds a new SDIO card to the SDIO card stack. +This is an extension of the DSDStack::AcquireStackSM state +machine function. It handles the SDIO initialization procedure as described +in version 1.10f of the SDIO card specification.

Parameters

None

Return +value

+ + + +

TMMCErr

+

Return code of the operation. The return value is KErrNone if +the operation was successful, otherwise an error code.

+
+ + +
+
CIMIoReadWriteDirectSM()

The +function declaration for the CIMIoReadWriteDirectSM() method +is:

IMPORT_C TMMCErr CIMIoReadWriteDirectSM();

Description

Implements +the state machine for the IO_RW_DIRECT command (CMD52).

Parameters

None

Return +value

+ + + +

TMMCErr

+

Return code of the operation. The return value is KErrNone if +the operation was successful, otherwise an error code.

+
+ + +
+
CIMIoReadWriteExtendedSM()

The +function declaration for the CIMIoReadWriteExtendedSM() method +is:

IMPORT_C TMMCErr CIMIoReadWriteExtendedSM();

Description

Used +to write an CMD53 command to the card.

Parameters

None

Return +value

+ + + +

TMMCErr

+

Return code of the operation. The return value is KErrNone if +the operation was successful, otherwise an error code.

+
+ + +
+
\ No newline at end of file