Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

344 Zeilen
21KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.14"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>SdFat: ArduinoSdFat/libraries/SdFat/src/SpiDriver/SdSpiArduinoDriver.h File 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.14 -->
  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 id="nav-path" class="navpath">
  61. <ul>
  62. <li class="navelem"><a class="el" href="dir_bd3b508a448b79faa7486a2af0c5c4a2.html">ArduinoSdFat</a></li><li class="navelem"><a class="el" href="dir_d7cdc5eb6907b67ec8d6facf0ac28083.html">libraries</a></li><li class="navelem"><a class="el" href="dir_30f4e013e11264f0426cd7e4f10b230b.html">SdFat</a></li><li class="navelem"><a class="el" href="dir_ffa9b8a1695a52c2b9469cb7873a40f4.html">src</a></li><li class="navelem"><a class="el" href="dir_00bd6ec11a5e8396a31c0ecb5ef15fc7.html">SpiDriver</a></li> </ul>
  63. </div>
  64. </div><!-- top -->
  65. <div class="header">
  66. <div class="summary">
  67. <a href="#nested-classes">Classes</a> &#124;
  68. <a href="#define-members">Macros</a> &#124;
  69. <a href="#typedef-members">Typedefs</a> </div>
  70. <div class="headertitle">
  71. <div class="title">SdSpiArduinoDriver.h File Reference</div> </div>
  72. </div><!--header-->
  73. <div class="contents">
  74. <p>SpiDriver classes for Arduino compatible systems.
  75. <a href="#details">More...</a></p>
  76. <div class="textblock"><code>#include &quot;<a class="el" href="_sys_call_8h.html">../common/SysCall.h</a>&quot;</code><br />
  77. </div><div class="textblock"><div class="dynheader">
  78. Include dependency graph for SdSpiArduinoDriver.h:</div>
  79. <div class="dyncontent">
  80. <div class="center"><img src="_sd_spi_arduino_driver_8h__incl.png" border="0" usemap="#_arduino_sd_fat_2libraries_2_sd_fat_2src_2_spi_driver_2_sd_spi_arduino_driver_8h" alt=""/></div>
  81. <map name="_arduino_sd_fat_2libraries_2_sd_fat_2src_2_spi_driver_2_sd_spi_arduino_driver_8h" id="_arduino_sd_fat_2libraries_2_sd_fat_2src_2_spi_driver_2_sd_spi_arduino_driver_8h">
  82. <area shape="rect" id="node2" href="_sys_call_8h.html" title="SysCall class. " alt="" coords="50,109,194,136"/>
  83. <area shape="rect" id="node5" href="_sd_fat_config_8h.html" title="configuration definitions " alt="" coords="126,184,230,211"/>
  84. </map>
  85. </div>
  86. </div><div class="textblock"><div class="dynheader">
  87. This graph shows which files directly or indirectly include this file:</div>
  88. <div class="dyncontent">
  89. <div class="center"><img src="_sd_spi_arduino_driver_8h__dep__incl.png" border="0" usemap="#_arduino_sd_fat_2libraries_2_sd_fat_2src_2_spi_driver_2_sd_spi_arduino_driver_8hdep" alt=""/></div>
  90. <map name="_arduino_sd_fat_2libraries_2_sd_fat_2src_2_spi_driver_2_sd_spi_arduino_driver_8hdep" id="_arduino_sd_fat_2libraries_2_sd_fat_2src_2_spi_driver_2_sd_spi_arduino_driver_8hdep">
  91. <area shape="rect" id="node2" href="_sd_spi_driver_8h.html" title="SpiDriver classes. " alt="" coords="6,109,226,151"/>
  92. <area shape="rect" id="node3" href="_sd_spi_card_8h.html" title="SdSpiCard class for V2 SD/SDHC cards. " alt="" coords="13,199,219,240"/>
  93. </map>
  94. </div>
  95. </div><table class="memberdecls">
  96. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
  97. Classes</h2></td></tr>
  98. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_lib_spi_driver.html">SdLibSpiDriver</a></td></tr>
  99. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_sd_lib_spi_driver.html" title="SdLibSpiDriver - use standard SPI library. ">SdLibSpiDriver</a> - use standard SPI library. <a href="class_sd_lib_spi_driver.html#details">More...</a><br /></td></tr>
  100. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  101. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_spi_config.html">SdSpiConfig</a></td></tr>
  102. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">SPI card configuration. <a href="class_sd_spi_config.html#details">More...</a><br /></td></tr>
  103. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. </table><table class="memberdecls">
  105. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
  106. Macros</h2></td></tr>
  107. <tr class="memitem:a7509778808cb232d96b7c45ad76034b0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd_spi_arduino_driver_8h.html#a7509778808cb232d96b7c45ad76034b0">SD_SCK_HZ</a>(maxSpeed)&#160;&#160;&#160;SPISettings(maxSpeed, MSBFIRST, SPI_MODE0)</td></tr>
  108. <tr class="separator:a7509778808cb232d96b7c45ad76034b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:af9d0d377262ffe2bf47d8604381a5ec1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd_spi_arduino_driver_8h.html#af9d0d377262ffe2bf47d8604381a5ec1">SD_SCK_MHZ</a>(maxMhz)&#160;&#160;&#160;SPISettings(1000000UL*maxMhz, MSBFIRST, SPI_MODE0)</td></tr>
  110. <tr class="separator:af9d0d377262ffe2bf47d8604381a5ec1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:a2d3c9c75ba6bea3fbcb82c2d0fbc21bb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd_spi_arduino_driver_8h.html#a2d3c9c75ba6bea3fbcb82c2d0fbc21bb">SPI_DIV3_SPEED</a>&#160;&#160;&#160;<a class="el" href="_sd_spi_arduino_driver_8h.html#a7509778808cb232d96b7c45ad76034b0">SD_SCK_HZ</a>(F_CPU/3)</td></tr>
  112. <tr class="separator:a2d3c9c75ba6bea3fbcb82c2d0fbc21bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:acbca47c0a33eec35109cea773bb65ee0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd_spi_arduino_driver_8h.html#acbca47c0a33eec35109cea773bb65ee0">SPI_DIV6_SPEED</a>&#160;&#160;&#160;<a class="el" href="_sd_spi_arduino_driver_8h.html#a7509778808cb232d96b7c45ad76034b0">SD_SCK_HZ</a>(F_CPU/6)</td></tr>
  114. <tr class="separator:acbca47c0a33eec35109cea773bb65ee0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:a4818fb924fd75160a3fcd5d14abdc375"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd_spi_arduino_driver_8h.html#a4818fb924fd75160a3fcd5d14abdc375">SPI_EIGHTH_SPEED</a>&#160;&#160;&#160;<a class="el" href="_sd_spi_arduino_driver_8h.html#a7509778808cb232d96b7c45ad76034b0">SD_SCK_HZ</a>(F_CPU/16)</td></tr>
  116. <tr class="separator:a4818fb924fd75160a3fcd5d14abdc375"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:a785afdf191e080f93703ad0a6f8f3d3b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd_spi_arduino_driver_8h.html#a785afdf191e080f93703ad0a6f8f3d3b">SPI_FULL_SPEED</a>&#160;&#160;&#160;<a class="el" href="_sd_spi_arduino_driver_8h.html#af9d0d377262ffe2bf47d8604381a5ec1">SD_SCK_MHZ</a>(50)</td></tr>
  118. <tr class="separator:a785afdf191e080f93703ad0a6f8f3d3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:af7493f43efa1c1be2b718bd3cc759d0e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd_spi_arduino_driver_8h.html#af7493f43efa1c1be2b718bd3cc759d0e">SPI_HALF_SPEED</a>&#160;&#160;&#160;<a class="el" href="_sd_spi_arduino_driver_8h.html#a7509778808cb232d96b7c45ad76034b0">SD_SCK_HZ</a>(F_CPU/4)</td></tr>
  120. <tr class="separator:af7493f43efa1c1be2b718bd3cc759d0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:a2881b956f046994a54b9db715dc31c9f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd_spi_arduino_driver_8h.html#a2881b956f046994a54b9db715dc31c9f">SPI_LOW_SPEED</a>&#160;&#160;&#160;<a class="el" href="_sd_spi_arduino_driver_8h.html#a7509778808cb232d96b7c45ad76034b0">SD_SCK_HZ</a>(250000)</td></tr>
  122. <tr class="separator:a2881b956f046994a54b9db715dc31c9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:a3bfd4f8b788952234111778be51087ae"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd_spi_arduino_driver_8h.html#a3bfd4f8b788952234111778be51087ae">SPI_QUARTER_SPEED</a>&#160;&#160;&#160;<a class="el" href="_sd_spi_arduino_driver_8h.html#a7509778808cb232d96b7c45ad76034b0">SD_SCK_HZ</a>(F_CPU/8)</td></tr>
  124. <tr class="separator:a3bfd4f8b788952234111778be51087ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:a6d3bbc68aed8dc3948669d0d40f4eb11"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd_spi_arduino_driver_8h.html#a6d3bbc68aed8dc3948669d0d40f4eb11">SPI_SIXTEENTH_SPEED</a>&#160;&#160;&#160;<a class="el" href="_sd_spi_arduino_driver_8h.html#a7509778808cb232d96b7c45ad76034b0">SD_SCK_HZ</a>(F_CPU/32)</td></tr>
  126. <tr class="separator:a6d3bbc68aed8dc3948669d0d40f4eb11"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. </table><table class="memberdecls">
  128. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
  129. Typedefs</h2></td></tr>
  130. <tr class="memitem:ab862e944263a70d21beb329c59991191"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="class_sd_lib_spi_driver.html">SdLibSpiDriver</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd_spi_arduino_driver_8h.html#ab862e944263a70d21beb329c59991191">SdSpiDriver</a></td></tr>
  131. <tr class="separator:ab862e944263a70d21beb329c59991191"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:a472d56ea7cb52ec5d68b3067baa000c3"><td class="memItemLeft" align="right" valign="top">typedef SPIClass&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd_spi_arduino_driver_8h.html#a472d56ea7cb52ec5d68b3067baa000c3">SpiPort_t</a></td></tr>
  133. <tr class="separator:a472d56ea7cb52ec5d68b3067baa000c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. </table>
  135. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  136. <div class="textblock"><p>SpiDriver classes for Arduino compatible systems. </p>
  137. <p>Copyright (c) 2011-2019 Bill Greiman This file is part of the SdFat library for SD memory cards.</p>
  138. <p>MIT License</p>
  139. <p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
  140. <p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
  141. <p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. </p>
  142. </div><h2 class="groupheader">Macro Definition Documentation</h2>
  143. <a id="a7509778808cb232d96b7c45ad76034b0"></a>
  144. <h2 class="memtitle"><span class="permalink"><a href="#a7509778808cb232d96b7c45ad76034b0">&#9670;&nbsp;</a></span>SD_SCK_HZ</h2>
  145. <div class="memitem">
  146. <div class="memproto">
  147. <table class="memname">
  148. <tr>
  149. <td class="memname">#define SD_SCK_HZ</td>
  150. <td>(</td>
  151. <td class="paramtype">&#160;</td>
  152. <td class="paramname">maxSpeed</td><td>)</td>
  153. <td>&#160;&#160;&#160;SPISettings(maxSpeed, MSBFIRST, SPI_MODE0)</td>
  154. </tr>
  155. </table>
  156. </div><div class="memdoc">
  157. <p>SPISettings for SCK frequency in Hz. </p>
  158. </div>
  159. </div>
  160. <a id="af9d0d377262ffe2bf47d8604381a5ec1"></a>
  161. <h2 class="memtitle"><span class="permalink"><a href="#af9d0d377262ffe2bf47d8604381a5ec1">&#9670;&nbsp;</a></span>SD_SCK_MHZ</h2>
  162. <div class="memitem">
  163. <div class="memproto">
  164. <table class="memname">
  165. <tr>
  166. <td class="memname">#define SD_SCK_MHZ</td>
  167. <td>(</td>
  168. <td class="paramtype">&#160;</td>
  169. <td class="paramname">maxMhz</td><td>)</td>
  170. <td>&#160;&#160;&#160;SPISettings(1000000UL*maxMhz, MSBFIRST, SPI_MODE0)</td>
  171. </tr>
  172. </table>
  173. </div><div class="memdoc">
  174. <p>SPISettings for SCK frequency in MHz. </p>
  175. </div>
  176. </div>
  177. <a id="a2d3c9c75ba6bea3fbcb82c2d0fbc21bb"></a>
  178. <h2 class="memtitle"><span class="permalink"><a href="#a2d3c9c75ba6bea3fbcb82c2d0fbc21bb">&#9670;&nbsp;</a></span>SPI_DIV3_SPEED</h2>
  179. <div class="memitem">
  180. <div class="memproto">
  181. <table class="memname">
  182. <tr>
  183. <td class="memname">#define SPI_DIV3_SPEED&#160;&#160;&#160;<a class="el" href="_sd_spi_arduino_driver_8h.html#a7509778808cb232d96b7c45ad76034b0">SD_SCK_HZ</a>(F_CPU/3)</td>
  184. </tr>
  185. </table>
  186. </div><div class="memdoc">
  187. <p>Set SCK rate to F_CPU/3 for Due </p>
  188. </div>
  189. </div>
  190. <a id="acbca47c0a33eec35109cea773bb65ee0"></a>
  191. <h2 class="memtitle"><span class="permalink"><a href="#acbca47c0a33eec35109cea773bb65ee0">&#9670;&nbsp;</a></span>SPI_DIV6_SPEED</h2>
  192. <div class="memitem">
  193. <div class="memproto">
  194. <table class="memname">
  195. <tr>
  196. <td class="memname">#define SPI_DIV6_SPEED&#160;&#160;&#160;<a class="el" href="_sd_spi_arduino_driver_8h.html#a7509778808cb232d96b7c45ad76034b0">SD_SCK_HZ</a>(F_CPU/6)</td>
  197. </tr>
  198. </table>
  199. </div><div class="memdoc">
  200. <p>Set SCK rate to F_CPU/6 for Due </p>
  201. </div>
  202. </div>
  203. <a id="a4818fb924fd75160a3fcd5d14abdc375"></a>
  204. <h2 class="memtitle"><span class="permalink"><a href="#a4818fb924fd75160a3fcd5d14abdc375">&#9670;&nbsp;</a></span>SPI_EIGHTH_SPEED</h2>
  205. <div class="memitem">
  206. <div class="memproto">
  207. <table class="memname">
  208. <tr>
  209. <td class="memname">#define SPI_EIGHTH_SPEED&#160;&#160;&#160;<a class="el" href="_sd_spi_arduino_driver_8h.html#a7509778808cb232d96b7c45ad76034b0">SD_SCK_HZ</a>(F_CPU/16)</td>
  210. </tr>
  211. </table>
  212. </div><div class="memdoc">
  213. <p>Set SCK rate to F_CPU/16. </p>
  214. </div>
  215. </div>
  216. <a id="a785afdf191e080f93703ad0a6f8f3d3b"></a>
  217. <h2 class="memtitle"><span class="permalink"><a href="#a785afdf191e080f93703ad0a6f8f3d3b">&#9670;&nbsp;</a></span>SPI_FULL_SPEED</h2>
  218. <div class="memitem">
  219. <div class="memproto">
  220. <table class="memname">
  221. <tr>
  222. <td class="memname">#define SPI_FULL_SPEED&#160;&#160;&#160;<a class="el" href="_sd_spi_arduino_driver_8h.html#af9d0d377262ffe2bf47d8604381a5ec1">SD_SCK_MHZ</a>(50)</td>
  223. </tr>
  224. </table>
  225. </div><div class="memdoc">
  226. <p>Set SCK to max rate. </p>
  227. </div>
  228. </div>
  229. <a id="af7493f43efa1c1be2b718bd3cc759d0e"></a>
  230. <h2 class="memtitle"><span class="permalink"><a href="#af7493f43efa1c1be2b718bd3cc759d0e">&#9670;&nbsp;</a></span>SPI_HALF_SPEED</h2>
  231. <div class="memitem">
  232. <div class="memproto">
  233. <table class="memname">
  234. <tr>
  235. <td class="memname">#define SPI_HALF_SPEED&#160;&#160;&#160;<a class="el" href="_sd_spi_arduino_driver_8h.html#a7509778808cb232d96b7c45ad76034b0">SD_SCK_HZ</a>(F_CPU/4)</td>
  236. </tr>
  237. </table>
  238. </div><div class="memdoc">
  239. <p>Set SCK rate to F_CPU/4. </p>
  240. </div>
  241. </div>
  242. <a id="a2881b956f046994a54b9db715dc31c9f"></a>
  243. <h2 class="memtitle"><span class="permalink"><a href="#a2881b956f046994a54b9db715dc31c9f">&#9670;&nbsp;</a></span>SPI_LOW_SPEED</h2>
  244. <div class="memitem">
  245. <div class="memproto">
  246. <table class="memname">
  247. <tr>
  248. <td class="memname">#define SPI_LOW_SPEED&#160;&#160;&#160;<a class="el" href="_sd_spi_arduino_driver_8h.html#a7509778808cb232d96b7c45ad76034b0">SD_SCK_HZ</a>(250000)</td>
  249. </tr>
  250. </table>
  251. </div><div class="memdoc">
  252. <p>Set SCK for SD initialization - only needed for very old cards. </p>
  253. </div>
  254. </div>
  255. <a id="a3bfd4f8b788952234111778be51087ae"></a>
  256. <h2 class="memtitle"><span class="permalink"><a href="#a3bfd4f8b788952234111778be51087ae">&#9670;&nbsp;</a></span>SPI_QUARTER_SPEED</h2>
  257. <div class="memitem">
  258. <div class="memproto">
  259. <table class="memname">
  260. <tr>
  261. <td class="memname">#define SPI_QUARTER_SPEED&#160;&#160;&#160;<a class="el" href="_sd_spi_arduino_driver_8h.html#a7509778808cb232d96b7c45ad76034b0">SD_SCK_HZ</a>(F_CPU/8)</td>
  262. </tr>
  263. </table>
  264. </div><div class="memdoc">
  265. <p>Set SCK rate to F_CPU/8. </p>
  266. </div>
  267. </div>
  268. <a id="a6d3bbc68aed8dc3948669d0d40f4eb11"></a>
  269. <h2 class="memtitle"><span class="permalink"><a href="#a6d3bbc68aed8dc3948669d0d40f4eb11">&#9670;&nbsp;</a></span>SPI_SIXTEENTH_SPEED</h2>
  270. <div class="memitem">
  271. <div class="memproto">
  272. <table class="memname">
  273. <tr>
  274. <td class="memname">#define SPI_SIXTEENTH_SPEED&#160;&#160;&#160;<a class="el" href="_sd_spi_arduino_driver_8h.html#a7509778808cb232d96b7c45ad76034b0">SD_SCK_HZ</a>(F_CPU/32)</td>
  275. </tr>
  276. </table>
  277. </div><div class="memdoc">
  278. <p>Set SCK rate to F_CPU/32. </p>
  279. </div>
  280. </div>
  281. <h2 class="groupheader">Typedef Documentation</h2>
  282. <a id="ab862e944263a70d21beb329c59991191"></a>
  283. <h2 class="memtitle"><span class="permalink"><a href="#ab862e944263a70d21beb329c59991191">&#9670;&nbsp;</a></span>SdSpiDriver</h2>
  284. <div class="memitem">
  285. <div class="memproto">
  286. <table class="memname">
  287. <tr>
  288. <td class="memname">typedef <a class="el" href="class_sd_lib_spi_driver.html">SdLibSpiDriver</a> <a class="el" href="_sd_spi_arduino_driver_8h.html#ab862e944263a70d21beb329c59991191">SdSpiDriver</a></td>
  289. </tr>
  290. </table>
  291. </div><div class="memdoc">
  292. <p>Use standard SPI library </p>
  293. </div>
  294. </div>
  295. <a id="a472d56ea7cb52ec5d68b3067baa000c3"></a>
  296. <h2 class="memtitle"><span class="permalink"><a href="#a472d56ea7cb52ec5d68b3067baa000c3">&#9670;&nbsp;</a></span>SpiPort_t</h2>
  297. <div class="memitem">
  298. <div class="memproto">
  299. <table class="memname">
  300. <tr>
  301. <td class="memname">typedef SPIClass <a class="el" href="_sd_spi_arduino_driver_8h.html#a472d56ea7cb52ec5d68b3067baa000c3">SpiPort_t</a></td>
  302. </tr>
  303. </table>
  304. </div><div class="memdoc">
  305. <p>Port type for SPI hardware driver. </p>
  306. </div>
  307. </div>
  308. </div><!-- contents -->
  309. <!-- start footer part -->
  310. <hr class="footer"/><address class="footer"><small>
  311. Generated on Thu May 9 2019 06:51:28 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  312. <img class="footer" src="doxygen.png" alt="doxygen"/>
  313. </a> 1.8.14
  314. </small></address>
  315. </body>
  316. </html>