|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-BDF1F32B-796B-4D3D-9C91-43FF8E9DDAF9" xml:lang="en"><title>SDIO |
|
13 Commands Tutorial</title><shortdesc>Lists commands to the SD bus that are specific to SDIO.</shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
14 <p>The SDIO hardware interface extends the functionality of SD devices. The |
|
15 combination of SD card with I/O is usually found in devices that can be ported |
|
16 easily and make heavy demands on memory. </p> |
|
17 <table id="GUID-0DC73E53-1A1E-4849-8166-D5FACA2377BE"><title>SDIO Hardware |
|
18 Interface</title> |
|
19 <tgroup cols="3"><colspec colname="col1" colwidth="0.66*"/><colspec colname="col2" colwidth="0.67*"/><colspec colname="col3" colwidth="1.67*"/> |
|
20 <thead> |
|
21 <row> |
|
22 <entry valign="top">Supported SDIO Command</entry> |
|
23 <entry valign="top">Interface functions</entry> |
|
24 <entry valign="top">Description</entry> |
|
25 </row> |
|
26 </thead> |
|
27 <tbody> |
|
28 <row> |
|
29 <entry><p>CMD5</p></entry> |
|
30 <entry><p><codeph>IO_OP_COND</codeph></p></entry> |
|
31 <entry><p>Used during initialization to determine the presence of an SDIO |
|
32 card and set the voltage.</p></entry> |
|
33 </row> |
|
34 <row> |
|
35 <entry><p>CMD52</p></entry> |
|
36 <entry><p><codeph>IO_RW_DIRECT</codeph></p></entry> |
|
37 <entry><p>Used to address and access a single register.</p></entry> |
|
38 </row> |
|
39 <row> |
|
40 <entry><p>CMD53</p></entry> |
|
41 <entry><p><codeph>IO_RW_EXTENDED</codeph></p></entry> |
|
42 <entry><p>Used to address multiple registers with a single SDIO command. This |
|
43 is called by the <codeph>IssueMMCCardCommand()</codeph> function.</p></entry> |
|
44 </row> |
|
45 <row> |
|
46 <entry><p>R4</p></entry> |
|
47 <entry><p><codeph>IO_SEND_OP_COND</codeph></p></entry> |
|
48 <entry><p>The SDIO response. <xref href="GUID-908B4DA8-8E1C-3B38-90FF-14EC52277B91.dita#GUID-908B4DA8-8E1C-3B38-90FF-14EC52277B91/GUID-FFD5A33A-73D2-3D19-94EF-638049B8B6E7"><apiname>DSDIOStack::ExtractSendOpCondResponse(aResponse,aFunctionCount)</apiname></xref> is |
|
49 used to extract the SDIO operation response.)</p></entry> |
|
50 </row> |
|
51 <row> |
|
52 <entry><p>R5</p></entry> |
|
53 <entry><p><codeph>IO_RW_DIRECT</codeph></p></entry> |
|
54 <entry><p>The SDIO response, handled by TSDIORseponseR5. It also provides |
|
55 information about the current state of the SDIO bus, error state, and the |
|
56 byte order the data is read.</p></entry> |
|
57 </row> |
|
58 </tbody> |
|
59 </tgroup> |
|
60 </table></conbody><related-links> |
|
61 <link href="GUID-9BBDFF77-5E2C-4E13-BEB3-716CC80B3375.dita"><linktext>SDIO Implementation |
|
62 Overview</linktext></link> |
|
63 </related-links></concept> |