You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

167 lines
6.9KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.16"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>SdFat: SdCardFactory Class Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectalign" style="padding-left: 0.5em;">
  24. <div id="projectname">SdFat
  25. </div>
  26. </td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. </div>
  31. <!-- end header part -->
  32. <!-- Generated by Doxygen 1.8.16 -->
  33. <script type="text/javascript">
  34. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  35. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  36. /* @license-end */
  37. </script>
  38. <script type="text/javascript" src="menudata.js"></script>
  39. <script type="text/javascript" src="menu.js"></script>
  40. <script type="text/javascript">
  41. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  42. $(function() {
  43. initMenu('',true,false,'search.php','Search');
  44. $(document).ready(function() { init_search(); });
  45. });
  46. /* @license-end */</script>
  47. <div id="main-nav"></div>
  48. <!-- window showing the filter options -->
  49. <div id="MSearchSelectWindow"
  50. onmouseover="return searchBox.OnSearchSelectShow()"
  51. onmouseout="return searchBox.OnSearchSelectHide()"
  52. onkeydown="return searchBox.OnSearchSelectKey(event)">
  53. </div>
  54. <!-- iframe showing the search results (closed by default) -->
  55. <div id="MSearchResultsWindow">
  56. <iframe src="javascript:void(0)" frameborder="0"
  57. name="MSearchResults" id="MSearchResults">
  58. </iframe>
  59. </div>
  60. </div><!-- top -->
  61. <div class="header">
  62. <div class="summary">
  63. <a href="#pub-methods">Public Member Functions</a> &#124;
  64. <a href="class_sd_card_factory-members.html">List of all members</a> </div>
  65. <div class="headertitle">
  66. <div class="title">SdCardFactory Class Reference</div> </div>
  67. </div><!--header-->
  68. <div class="contents">
  69. <p>Setup a SPI card or SDIO card.
  70. <a href="class_sd_card_factory.html#details">More...</a></p>
  71. <p><code>#include &lt;SdCard.h&gt;</code></p>
  72. <table class="memberdecls">
  73. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  74. Public Member Functions</h2></td></tr>
  75. <tr class="memitem:a7e5bcb01e8eed2df25e60c25fe47d916"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_sd_spi_card.html">SdCard</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_card_factory.html#a7e5bcb01e8eed2df25e60c25fe47d916">newCard</a> (<a class="el" href="class_sdio_config.html">SdioConfig</a> config)</td></tr>
  76. <tr class="separator:a7e5bcb01e8eed2df25e60c25fe47d916"><td class="memSeparator" colspan="2">&#160;</td></tr>
  77. <tr class="memitem:a8337ec1a741c25ed9fb9fd730d68b792"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_sd_spi_card.html">SdCard</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_card_factory.html#a8337ec1a741c25ed9fb9fd730d68b792">newCard</a> (<a class="el" href="class_sd_spi_config.html">SdSpiConfig</a> config)</td></tr>
  78. <tr class="separator:a8337ec1a741c25ed9fb9fd730d68b792"><td class="memSeparator" colspan="2">&#160;</td></tr>
  79. </table>
  80. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  81. <div class="textblock"><p>Setup a SPI card or SDIO card. </p>
  82. </div><h2 class="groupheader">Member Function Documentation</h2>
  83. <a id="a7e5bcb01e8eed2df25e60c25fe47d916"></a>
  84. <h2 class="memtitle"><span class="permalink"><a href="#a7e5bcb01e8eed2df25e60c25fe47d916">&#9670;&nbsp;</a></span>newCard() <span class="overload">[1/2]</span></h2>
  85. <div class="memitem">
  86. <div class="memproto">
  87. <table class="mlabels">
  88. <tr>
  89. <td class="mlabels-left">
  90. <table class="memname">
  91. <tr>
  92. <td class="memname"><a class="el" href="class_sd_spi_card.html">SdCard</a>* SdCardFactory::newCard </td>
  93. <td>(</td>
  94. <td class="paramtype"><a class="el" href="class_sdio_config.html">SdioConfig</a>&#160;</td>
  95. <td class="paramname"><em>config</em></td><td>)</td>
  96. <td></td>
  97. </tr>
  98. </table>
  99. </td>
  100. <td class="mlabels-right">
  101. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  102. </tr>
  103. </table>
  104. </div><div class="memdoc">
  105. <p>Initialize SDIO card.</p>
  106. <dl class="params"><dt>Parameters</dt><dd>
  107. <table class="params">
  108. <tr><td class="paramdir">[in]</td><td class="paramname">config</td><td>SDIO configuration. </td></tr>
  109. </table>
  110. </dd>
  111. </dl>
  112. <dl class="section return"><dt>Returns</dt><dd>generic card pointer or nullptr if SDIO is not supported. </dd></dl>
  113. </div>
  114. </div>
  115. <a id="a8337ec1a741c25ed9fb9fd730d68b792"></a>
  116. <h2 class="memtitle"><span class="permalink"><a href="#a8337ec1a741c25ed9fb9fd730d68b792">&#9670;&nbsp;</a></span>newCard() <span class="overload">[2/2]</span></h2>
  117. <div class="memitem">
  118. <div class="memproto">
  119. <table class="mlabels">
  120. <tr>
  121. <td class="mlabels-left">
  122. <table class="memname">
  123. <tr>
  124. <td class="memname"><a class="el" href="class_sd_spi_card.html">SdCard</a>* SdCardFactory::newCard </td>
  125. <td>(</td>
  126. <td class="paramtype"><a class="el" href="class_sd_spi_config.html">SdSpiConfig</a>&#160;</td>
  127. <td class="paramname"><em>config</em></td><td>)</td>
  128. <td></td>
  129. </tr>
  130. </table>
  131. </td>
  132. <td class="mlabels-right">
  133. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  134. </tr>
  135. </table>
  136. </div><div class="memdoc">
  137. <p>Initialize SPI card.</p>
  138. <dl class="params"><dt>Parameters</dt><dd>
  139. <table class="params">
  140. <tr><td class="paramdir">[in]</td><td class="paramname">config</td><td>SPI configuration. </td></tr>
  141. </table>
  142. </dd>
  143. </dl>
  144. <dl class="section return"><dt>Returns</dt><dd>generic card pointer. </dd></dl>
  145. </div>
  146. </div>
  147. <hr/>The documentation for this class was generated from the following file:<ul>
  148. <li>ArduinoSdFat/libraries/SdFat/src/SdCard/SdCard.h</li>
  149. </ul>
  150. </div><!-- contents -->
  151. <!-- start footer part -->
  152. <hr class="footer"/><address class="footer"><small>
  153. Generated on Fri Dec 6 2019 09:45:12 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  154. <img class="footer" src="doxygen.png" alt="doxygen"/>
  155. </a> 1.8.16
  156. </small></address>
  157. </body>
  158. </html>