Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

188 rindas
13KB

  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.6"/>
  7. <title>SdFat: Arduino/libraries/SdFat/SdSpi.h File Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  12. </head>
  13. <body>
  14. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  15. <div id="titlearea">
  16. <table cellspacing="0" cellpadding="0">
  17. <tbody>
  18. <tr style="height: 56px;">
  19. <td style="padding-left: 0.5em;">
  20. <div id="projectname">SdFat
  21. </div>
  22. </td>
  23. </tr>
  24. </tbody>
  25. </table>
  26. </div>
  27. <!-- end header part -->
  28. <!-- Generated by Doxygen 1.8.6 -->
  29. <div id="navrow1" class="tabs">
  30. <ul class="tablist">
  31. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  32. <li><a href="namespaces.html"><span>Namespaces</span></a></li>
  33. <li><a href="annotated.html"><span>Classes</span></a></li>
  34. <li class="current"><a href="files.html"><span>Files</span></a></li>
  35. </ul>
  36. </div>
  37. <div id="navrow2" class="tabs2">
  38. <ul class="tablist">
  39. <li><a href="files.html"><span>File&#160;List</span></a></li>
  40. <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  41. </ul>
  42. </div>
  43. <div id="nav-path" class="navpath">
  44. <ul>
  45. <li class="navelem"><a class="el" href="dir_a991eec27578c865874ede3d8ec657c2.html">Arduino</a></li><li class="navelem"><a class="el" href="dir_481cc946b8a81b8d9363a4aad6201160.html">libraries</a></li><li class="navelem"><a class="el" href="dir_1281b15c327061056ab3b326e90c50cf.html">SdFat</a></li> </ul>
  46. </div>
  47. </div><!-- top -->
  48. <div class="header">
  49. <div class="summary">
  50. <a href="#nested-classes">Classes</a> &#124;
  51. <a href="#define-members">Macros</a> &#124;
  52. <a href="#var-members">Variables</a> </div>
  53. <div class="headertitle">
  54. <div class="title">SdSpi.h File Reference</div> </div>
  55. </div><!--header-->
  56. <div class="contents">
  57. <p><a class="el" href="class_sd_spi.html" title="SPI class for access to SD and SDHC flash memory cards. ">SdSpi</a> class for V2 SD/SDHC cards.
  58. <a href="#details">More...</a></p>
  59. <div class="textblock"><code>#include &lt;Arduino.h&gt;</code><br/>
  60. <code>#include &lt;<a class="el" href="_sd_fat_config_8h.html">SdFatConfig.h</a>&gt;</code><br/>
  61. </div><div class="textblock"><div class="dynheader">
  62. Include dependency graph for SdSpi.h:</div>
  63. <div class="dyncontent">
  64. <div class="center"><img src="_sd_spi_8h__incl.png" border="0" usemap="#_arduino_2libraries_2_sd_fat_2_sd_spi_8h" alt=""/></div>
  65. <map name="_arduino_2libraries_2_sd_fat_2_sd_spi_8h" id="_arduino_2libraries_2_sd_fat_2_sd_spi_8h">
  66. <area shape="rect" id="node5" href="_sd_fat_config_8h.html" title="configuration definitions " alt="" coords="107,96,211,123"/> </map>
  67. </div>
  68. </div><div class="textblock"><div class="dynheader">
  69. This graph shows which files directly or indirectly include this file:</div>
  70. <div class="dyncontent">
  71. <div class="center"><img src="_sd_spi_8h__dep__incl.png" border="0" usemap="#_arduino_2libraries_2_sd_fat_2_sd_spi_8hdep" alt=""/></div>
  72. <map name="_arduino_2libraries_2_sd_fat_2_sd_spi_8hdep" id="_arduino_2libraries_2_sd_fat_2_sd_spi_8hdep">
  73. <area shape="rect" id="node3" href="_sd2_card_8cpp.html" title="Arduino/libraries/SdFat\l/Sd2Card.cpp" alt="" coords="753,187,908,229"/> <area shape="rect" id="node5" href="_sd2_card_8h.html" title="Sd2Card class for V2 SD/SDHC cards. " alt="" coords="868,97,1023,138"/> <area shape="rect" id="node62" href="_sd_spi_arduino_8cpp.html" title="Arduino/libraries/SdFat\l/SdSpiArduino.cpp" alt="" coords="1047,97,1201,138"/> <area shape="rect" id="node64" href="_sd_spi_a_v_r_8cpp.html" title="Arduino/libraries/SdFat\l/SdSpiAVR.cpp" alt="" coords="1225,97,1380,138"/> <area shape="rect" id="node66" href="_sd_spi_s_a_m3_x_8cpp.html" title="Arduino/libraries/SdFat\l/SdSpiSAM3X.cpp" alt="" coords="1404,97,1559,138"/> <area shape="rect" id="node68" href="_sd_spi_soft_8cpp.html" title="Arduino/libraries/SdFat\l/SdSpiSoft.cpp" alt="" coords="1583,97,1737,138"/> <area shape="rect" id="node70" href="_sd_spi_teensy3_8cpp.html" title="Arduino/libraries/SdFat\l/SdSpiTeensy3.cpp" alt="" coords="1761,97,1916,138"/> <area shape="rect" id="node8" href="_sd_volume_8h.html" title="SdVolume class. " alt="" coords="932,187,1087,229"/> <area shape="rect" id="node10" href="_sd_base_file_8h.html" title="SdBaseFile class. " alt="" coords="932,278,1087,319"/> <area shape="rect" id="node12" href="ios_8h.html" title="ios_base and ios classes " alt="" coords="843,369,997,410"/> <area shape="rect" id="node41" href="_stdio_stream_8h.html" title="Arduino/libraries/SdFat\l/StdioStream.h" alt="" coords="1307,913,1461,954"/> <area shape="rect" id="node45" href="_sd_stream_8h.html" title="fstream, ifstream, and ofstream classes " alt="" coords="533,641,688,682"/> <area shape="rect" id="node55" href="_sd_file_8h.html" title="SdFile class. " alt="" coords="1021,369,1176,410"/> <area shape="rect" id="node14" href="istream_8h.html" title="istream class " alt="" coords="696,459,851,501"/> <area shape="rect" id="node50" href="ostream_8h.html" title="ostream class " alt="" coords="875,459,1029,501"/> <area shape="rect" id="node16" href="iostream_8h.html" title="iostream class " alt="" coords="712,550,867,591"/> <area shape="rect" id="node48" href="istream_8cpp.html" title="Arduino/libraries/SdFat\l/istream.cpp" alt="" coords="533,550,688,591"/> <area shape="rect" id="node18" href="bufstream_8h.html" title="ibufstream and obufstream classes " alt="" coords="712,641,867,682"/> <area shape="rect" id="node20" href="_arduino_stream_8h.html" title="ArduinoInStream and ArduinoOutStream classes. " alt="" coords="680,731,835,773"/> <area shape="rect" id="node22" href="_sd_fat_8h.html" title="SdFat class. " alt="" coords="664,822,819,863"/> <area shape="rect" id="node24" href="_sd_base_file_8cpp.html" title="Arduino/libraries/SdFat\l/SdBaseFile.cpp" alt="" coords="1128,913,1283,954"/> <area shape="rect" id="node26" href="_sd_base_file_print_8cpp.html" title="Arduino/libraries/SdFat\l/SdBaseFilePrint.cpp" alt="" coords="5,913,160,954"/> <area shape="rect" id="node28" href="_sd_fat_8cpp.html" title="Arduino/libraries/SdFat\l/SdFat.cpp" alt="" coords="184,913,339,954"/> <area shape="rect" id="node30" href="_sd_fat_error_print_8cpp.html" title="Arduino/libraries/SdFat\l/SdFatErrorPrint.cpp" alt="" coords="363,913,517,954"/> <area shape="rect" id="node32" href="_sd_fat_util_8cpp.html" title="Arduino/libraries/SdFat\l/SdFatUtil.cpp" alt="" coords="599,1003,753,1045"/> <area shape="rect" id="node34" href="_sd_fat_util_8h.html" title="Useful utility functions. " alt="" coords="541,913,696,954"/> <area shape="rect" id="node37" href="_sd_stream_8cpp.html" title="Arduino/libraries/SdFat\l/SdStream.cpp" alt="" coords="771,913,925,954"/> <area shape="rect" id="node39" href="_sd_volume_8cpp.html" title="Arduino/libraries/SdFat\l/SdVolume.cpp" alt="" coords="949,913,1104,954"/> <area shape="rect" id="node43" href="_stdio_stream_8cpp.html" title="Arduino/libraries/SdFat\l/StdioStream.cpp" alt="" coords="1307,1003,1461,1045"/> <area shape="rect" id="node53" href="ostream_8cpp.html" title="Arduino/libraries/SdFat\l/ostream.cpp" alt="" coords="891,550,1045,591"/> <area shape="rect" id="node58" href="_sd_file_8cpp.html" title="Arduino/libraries/SdFat\l/SdFile.cpp" alt="" coords="1120,459,1275,501"/> </map>
  74. </div>
  75. </div><table class="memberdecls">
  76. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
  77. Classes</h2></td></tr>
  78. <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.html">SdSpi</a></td></tr>
  79. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">SPI class for access to SD and SDHC flash memory cards. <a href="class_sd_spi.html#details">More...</a><br/></td></tr>
  80. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  81. </table><table class="memberdecls">
  82. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
  83. Macros</h2></td></tr>
  84. <tr class="memitem:a8c93a984d3eca101c90d1d4274ee7f4e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd_spi_8h.html#a8c93a984d3eca101c90d1d4274ee7f4e">USE_AVR_NATIVE_SPI_INLINE</a>&#160;&#160;&#160;1</td></tr>
  85. <tr class="separator:a8c93a984d3eca101c90d1d4274ee7f4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  86. <tr class="memitem:a006962e9b82e144ffae567a5657c6f20"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd_spi_8h.html#a006962e9b82e144ffae567a5657c6f20">USE_NATIVE_AVR_SPI</a>&#160;&#160;&#160;0</td></tr>
  87. <tr class="separator:a006962e9b82e144ffae567a5657c6f20"><td class="memSeparator" colspan="2">&#160;</td></tr>
  88. <tr class="memitem:a87c59beeb1465d2d3b5faf008031a037"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd_spi_8h.html#a87c59beeb1465d2d3b5faf008031a037">USE_NATIVE_SAM3X_SPI</a>&#160;&#160;&#160;0</td></tr>
  89. <tr class="separator:a87c59beeb1465d2d3b5faf008031a037"><td class="memSeparator" colspan="2">&#160;</td></tr>
  90. <tr class="memitem:a8201c186b2394d059a4204d9e2a624c9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd_spi_8h.html#a8201c186b2394d059a4204d9e2a624c9">USE_NATIVE_TEENSY3_SPI</a>&#160;&#160;&#160;0</td></tr>
  91. <tr class="separator:a8201c186b2394d059a4204d9e2a624c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  92. <tr class="memitem:adc58bc95f1a1e044149d907287cb79a1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd_spi_8h.html#adc58bc95f1a1e044149d907287cb79a1">USE_SOFTWARE_SPI</a>&#160;&#160;&#160;0</td></tr>
  93. <tr class="separator:adc58bc95f1a1e044149d907287cb79a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  94. </table><table class="memberdecls">
  95. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
  96. Variables</h2></td></tr>
  97. <tr class="memitem:ae6b17538c14ba6c91ccb513db2c4c29c"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd_spi_8h.html#ae6b17538c14ba6c91ccb513db2c4c29c">SD_CHIP_SELECT_PIN</a> = SS</td></tr>
  98. <tr class="separator:ae6b17538c14ba6c91ccb513db2c4c29c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. </table>
  100. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  101. <div class="textblock"><p><a class="el" href="class_sd_spi.html" title="SPI class for access to SD and SDHC flash memory cards. ">SdSpi</a> class for V2 SD/SDHC cards. </p>
  102. </div><h2 class="groupheader">Macro Definition Documentation</h2>
  103. <a class="anchor" id="a8c93a984d3eca101c90d1d4274ee7f4e"></a>
  104. <div class="memitem">
  105. <div class="memproto">
  106. <table class="memname">
  107. <tr>
  108. <td class="memname">#define USE_AVR_NATIVE_SPI_INLINE&#160;&#160;&#160;1</td>
  109. </tr>
  110. </table>
  111. </div><div class="memdoc">
  112. <p>inline avr native functions if nonzero. </p>
  113. </div>
  114. </div>
  115. <a class="anchor" id="a006962e9b82e144ffae567a5657c6f20"></a>
  116. <div class="memitem">
  117. <div class="memproto">
  118. <table class="memname">
  119. <tr>
  120. <td class="memname">#define USE_NATIVE_AVR_SPI&#160;&#160;&#160;0</td>
  121. </tr>
  122. </table>
  123. </div><div class="memdoc">
  124. </div>
  125. </div>
  126. <a class="anchor" id="a87c59beeb1465d2d3b5faf008031a037"></a>
  127. <div class="memitem">
  128. <div class="memproto">
  129. <table class="memname">
  130. <tr>
  131. <td class="memname">#define USE_NATIVE_SAM3X_SPI&#160;&#160;&#160;0</td>
  132. </tr>
  133. </table>
  134. </div><div class="memdoc">
  135. </div>
  136. </div>
  137. <a class="anchor" id="a8201c186b2394d059a4204d9e2a624c9"></a>
  138. <div class="memitem">
  139. <div class="memproto">
  140. <table class="memname">
  141. <tr>
  142. <td class="memname">#define USE_NATIVE_TEENSY3_SPI&#160;&#160;&#160;0</td>
  143. </tr>
  144. </table>
  145. </div><div class="memdoc">
  146. </div>
  147. </div>
  148. <a class="anchor" id="adc58bc95f1a1e044149d907287cb79a1"></a>
  149. <div class="memitem">
  150. <div class="memproto">
  151. <table class="memname">
  152. <tr>
  153. <td class="memname">#define USE_SOFTWARE_SPI&#160;&#160;&#160;0</td>
  154. </tr>
  155. </table>
  156. </div><div class="memdoc">
  157. </div>
  158. </div>
  159. <h2 class="groupheader">Variable Documentation</h2>
  160. <a class="anchor" id="ae6b17538c14ba6c91ccb513db2c4c29c"></a>
  161. <div class="memitem">
  162. <div class="memproto">
  163. <table class="memname">
  164. <tr>
  165. <td class="memname">uint8_t const SD_CHIP_SELECT_PIN = SS</td>
  166. </tr>
  167. </table>
  168. </div><div class="memdoc">
  169. <p>The default chip select pin for the SD card is SS. </p>
  170. </div>
  171. </div>
  172. </div><!-- contents -->
  173. <!-- start footer part -->
  174. <hr class="footer"/><address class="footer"><small>
  175. Generated on Sun Aug 24 2014 09:37:38 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  176. <img class="footer" src="doxygen.png" alt="doxygen"/>
  177. </a> 1.8.6
  178. </small></address>
  179. </body>
  180. </html>