Symbian3/PDK/Source/GUID-114A23CF-BF8B-54F5-8AF6-FEF007891884.dita
changeset 5 f345bda72bc4
parent 3 46218c8b8afa
child 9 59758314f811
equal deleted inserted replaced
4:4816d766a08a 5:f345bda72bc4
    62 them. When it detects an SD card, the SD card initialization protocol is loaded.
    62 them. When it detects an SD card, the SD card initialization protocol is loaded.
    63 The initialization protocol is a sequence of commands as described in the <xref href="http://www.sdcard.org/developers/tech/sdcard/pls/Simplified_Physical_Layer_Spec.pdf" scope="external">SD Association</xref> specification. </p> </section>
    63 The initialization protocol is a sequence of commands as described in the <xref href="http://www.sdcard.org/developers/tech/sdcard/pls/Simplified_Physical_Layer_Spec.pdf" scope="external">SD Association</xref> specification. </p> </section>
    64 <section id="GUID-0EA05AC0-557D-573F-B907-41752445DC60"><title>SD controller
    64 <section id="GUID-0EA05AC0-557D-573F-B907-41752445DC60"><title>SD controller
    65 classes</title> <fig id="GUID-F044A820-5E7E-5A99-83D5-7CA47EBABBC8">
    65 classes</title> <fig id="GUID-F044A820-5E7E-5A99-83D5-7CA47EBABBC8">
    66 <title>              SD controller classes            </title>
    66 <title>              SD controller classes            </title>
    67 <image href="GUID-58A5C008-88B6-5C91-8BE5-E98CA5E5A438_d0e389784_href.png" placement="inline"/>
    67 <image href="GUID-58A5C008-88B6-5C91-8BE5-E98CA5E5A438_d0e411582_href.png" placement="inline"/>
    68 </fig> </section>
    68 </fig> </section>
    69 <section id="GUID-CC3B269D-44E9-4AB8-B93B-E1AE5DE69DDF"><title>SD Stack </title><p>The SD controller is implemented through
    69 <section id="GUID-25A29720-A91E-49FA-8E60-3060F25536EA"><title>SD Stack </title><p>The SD controller is implemented through
    70 a set of classes derived from the MMC controller. The <xref href="GUID-3DC34D4F-E693-3BF0-B5D6-DF22FCE37340.dita"><apiname>DMMCStack</apiname></xref> maintains
    70 a set of classes derived from the MMC controller. The <xref href="GUID-3DC34D4F-E693-3BF0-B5D6-DF22FCE37340.dita"><apiname>DMMCStack</apiname></xref> maintains
    71 a state machine and is responsible for detecting the new cards and initializing
    71 a state machine and is responsible for detecting the new cards and initializing
    72 the necessary stack. The <xref href="GUID-3DC34D4F-E693-3BF0-B5D6-DF22FCE37340.dita"><apiname>DSDStack</apiname></xref> is
    72 the necessary stack. The <xref href="GUID-3DC34D4F-E693-3BF0-B5D6-DF22FCE37340.dita"><apiname>DSDStack</apiname></xref> is
    73 initialised when the controller detects a new SD card. The <xref href="GUID-3DC34D4F-E693-3BF0-B5D6-DF22FCE37340.dita"><apiname>DSDStack</apiname></xref> sends
    73 initialised when the controller detects a new SD card. The <xref href="GUID-3DC34D4F-E693-3BF0-B5D6-DF22FCE37340.dita"><apiname>DSDStack</apiname></xref> sends
    74 the commands to acquire the cards as described in the SD topology. <xref href="GUID-3DC34D4F-E693-3BF0-B5D6-DF22FCE37340.dita"><apiname>DSDStack::InitialiseMemoryCardSM()</apiname></xref> is used to
    74 the commands to acquire the cards as described in the SD topology. <xref href="GUID-3DC34D4F-E693-3BF0-B5D6-DF22FCE37340.dita"><apiname>DSDStack::InitialiseMemoryCardSM()</apiname></xref> is used to
    75 initialize the SD cards and <xref href="GUID-3DC34D4F-E693-3BF0-B5D6-DF22FCE37340.dita"><apiname>DSDStack::ConfigureMemoryCardSM()</apiname></xref> is
    75 initialize the SD cards and <xref href="GUID-3DC34D4F-E693-3BF0-B5D6-DF22FCE37340.dita"><apiname>DSDStack::ConfigureMemoryCardSM()</apiname></xref> is
    76 used to configure the card. </p></section>
    76 used to configure the card. </p></section>
    77 <section id="GUID-6BE6F7E7-8ECD-4604-A1DE-8096EF5B682B"><title>TSDCard</title><p>The <xref href="GUID-3DC34D4F-E693-3BF0-B5D6-DF22FCE37340.dita"><apiname>TSDCard</apiname></xref> class
    77 <section id="GUID-23D87A40-614C-4F4D-A35E-B02216097C1A"><title>TSDCard</title><p>The <xref href="GUID-3DC34D4F-E693-3BF0-B5D6-DF22FCE37340.dita"><apiname>TSDCard</apiname></xref> class
    78 provides the functions to read and write information about the card. The <xref href="GUID-3DC34D4F-E693-3BF0-B5D6-DF22FCE37340.dita"><apiname>PreferredWriteGroupLength</apiname></xref> returns the Erase Sector
    78 provides the functions to read and write information about the card. The <xref href="GUID-3DC34D4F-E693-3BF0-B5D6-DF22FCE37340.dita"><apiname>PreferredWriteGroupLength</apiname></xref> returns the Erase Sector
    79 size of the SD card. Clients of the SD controller should use <xref href="GUID-3DC34D4F-E693-3BF0-B5D6-DF22FCE37340.dita"><apiname>DMMCStack::CardP()</apiname></xref> to
    79 size of the SD card. Clients of the SD controller should use <xref href="GUID-3DC34D4F-E693-3BF0-B5D6-DF22FCE37340.dita"><apiname>DMMCStack::CardP()</apiname></xref> to
    80 get a pointer to the card object.<xref href="GUID-3DC34D4F-E693-3BF0-B5D6-DF22FCE37340.dita"><apiname> TSDCard::IsCard()</apiname></xref> function
    80 get a pointer to the card object.<xref href="GUID-3DC34D4F-E693-3BF0-B5D6-DF22FCE37340.dita"><apiname> TSDCard::IsCard()</apiname></xref> function
    81 is used to detect a SD card. </p></section>
    81 is used to detect a SD card. </p></section>
    82 <section id="GUID-9D9AE44F-1E6F-4D09-9B3E-76AB3BFC42F2"><title>Omissions</title> <p>The
    82 <section id="GUID-9D9AE44F-1E6F-4D09-9B3E-76AB3BFC42F2"><title>Omissions</title> <p>The
    83 Symbian platform does not support SPI mode in SD cards. </p> </section>
    83 Symbian platform does not support SPI mode in SD cards. </p> </section>
    84 <section id="GUID-A47AC10A-00E7-4647-8EDD-DC6103ECBB55"><title>Session</title><p>The <xref href="GUID-3DC34D4F-E693-3BF0-B5D6-DF22FCE37340.dita"><apiname>DSDSession</apiname></xref> class
    84 <section id="GUID-8B7FCAA7-3A62-4CEA-917E-27CC571E6FAF"><title>Session</title><p>The <xref href="GUID-3DC34D4F-E693-3BF0-B5D6-DF22FCE37340.dita"><apiname>DSDSession</apiname></xref> class
    85 provides the session related functions for the SD cards. The <xref href="GUID-3DC34D4F-E693-3BF0-B5D6-DF22FCE37340.dita"><apiname>DSDSession</apiname></xref> class
    85 provides the session related functions for the SD cards. The <xref href="GUID-3DC34D4F-E693-3BF0-B5D6-DF22FCE37340.dita"><apiname>DSDSession</apiname></xref> class
    86 creates the descriptors with command data. These commands are then sent to
    86 creates the descriptors with command data. These commands are then sent to
    87 the SD cards by the controller. </p></section>
    87 the SD cards by the controller. </p></section>
    88 </conbody><related-links>
    88 </conbody><related-links>
    89 <link href="GUID-0E5A241A-19F5-5754-B454-45747A8D80E1.dita"><linktext>SD Card Overview</linktext>
    89 <link href="GUID-0E5A241A-19F5-5754-B454-45747A8D80E1.dita"><linktext>SD Card Overview</linktext>