Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

_sd2_card_8h.html 31KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563
  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/Sd2Card.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="#var-members">Variables</a> </div>
  52. <div class="headertitle">
  53. <div class="title">Sd2Card.h File Reference</div> </div>
  54. </div><!--header-->
  55. <div class="contents">
  56. <p><a class="el" href="class_sd2_card.html" title="Raw access to SD and SDHC flash memory cards. ">Sd2Card</a> class for V2 SD/SDHC cards.
  57. <a href="#details">More...</a></p>
  58. <div class="textblock"><code>#include &lt;Arduino.h&gt;</code><br/>
  59. <code>#include &lt;<a class="el" href="_sd_fat_config_8h.html">SdFatConfig.h</a>&gt;</code><br/>
  60. <code>#include &lt;SdInfo.h&gt;</code><br/>
  61. <code>#include &lt;<a class="el" href="_sd_spi_8h.html">SdSpi.h</a>&gt;</code><br/>
  62. </div><div class="textblock"><div class="dynheader">
  63. Include dependency graph for Sd2Card.h:</div>
  64. <div class="dyncontent">
  65. <div class="center"><img src="_sd2_card_8h__incl.png" border="0" usemap="#_arduino_2libraries_2_sd_fat_2_sd2_card_8h" alt=""/></div>
  66. <map name="_arduino_2libraries_2_sd_fat_2_sd2_card_8h" id="_arduino_2libraries_2_sd_fat_2_sd2_card_8h">
  67. <area shape="rect" id="node5" href="_sd_fat_config_8h.html" title="configuration definitions " alt="" coords="168,171,272,197"/> <area shape="rect" id="node11" href="_sd_spi_8h.html" title="SdSpi class for V2 SD/SDHC cards. " alt="" coords="51,96,119,123"/> </map>
  68. </div>
  69. </div><div class="textblock"><div class="dynheader">
  70. This graph shows which files directly or indirectly include this file:</div>
  71. <div class="dyncontent">
  72. <div class="center"><img src="_sd2_card_8h__dep__incl.png" border="0" usemap="#_arduino_2libraries_2_sd_fat_2_sd2_card_8hdep" alt=""/></div>
  73. <map name="_arduino_2libraries_2_sd_fat_2_sd2_card_8hdep" id="_arduino_2libraries_2_sd_fat_2_sd2_card_8hdep">
  74. <area shape="rect" id="node3" href="_sd2_card_8cpp.html" title="Arduino/libraries/SdFat\l/Sd2Card.cpp" alt="" coords="753,97,908,138"/> <area shape="rect" id="node5" href="_sd_volume_8h.html" title="SdVolume class. " alt="" coords="932,97,1087,138"/> <area shape="rect" id="node7" href="_sd_base_file_8h.html" title="SdBaseFile class. " alt="" coords="932,187,1087,229"/> <area shape="rect" id="node9" href="ios_8h.html" title="ios_base and ios classes " alt="" coords="843,278,997,319"/> <area shape="rect" id="node38" href="_stdio_stream_8h.html" title="Arduino/libraries/SdFat\l/StdioStream.h" alt="" coords="1307,822,1461,863"/> <area shape="rect" id="node42" href="_sd_stream_8h.html" title="fstream, ifstream, and ofstream classes " alt="" coords="533,550,688,591"/> <area shape="rect" id="node52" href="_sd_file_8h.html" title="SdFile class. " alt="" coords="1021,278,1176,319"/> <area shape="rect" id="node11" href="istream_8h.html" title="istream class " alt="" coords="696,369,851,410"/> <area shape="rect" id="node47" href="ostream_8h.html" title="ostream class " alt="" coords="875,369,1029,410"/> <area shape="rect" id="node13" href="iostream_8h.html" title="iostream class " alt="" coords="712,459,867,501"/> <area shape="rect" id="node45" href="istream_8cpp.html" title="Arduino/libraries/SdFat\l/istream.cpp" alt="" coords="533,459,688,501"/> <area shape="rect" id="node15" href="bufstream_8h.html" title="ibufstream and obufstream classes " alt="" coords="712,550,867,591"/> <area shape="rect" id="node17" href="_arduino_stream_8h.html" title="ArduinoInStream and ArduinoOutStream classes. " alt="" coords="680,641,835,682"/> <area shape="rect" id="node19" href="_sd_fat_8h.html" title="SdFat class. " alt="" coords="664,731,819,773"/> <area shape="rect" id="node21" href="_sd_base_file_8cpp.html" title="Arduino/libraries/SdFat\l/SdBaseFile.cpp" alt="" coords="1128,822,1283,863"/> <area shape="rect" id="node23" href="_sd_base_file_print_8cpp.html" title="Arduino/libraries/SdFat\l/SdBaseFilePrint.cpp" alt="" coords="5,822,160,863"/> <area shape="rect" id="node25" href="_sd_fat_8cpp.html" title="Arduino/libraries/SdFat\l/SdFat.cpp" alt="" coords="184,822,339,863"/> <area shape="rect" id="node27" href="_sd_fat_error_print_8cpp.html" title="Arduino/libraries/SdFat\l/SdFatErrorPrint.cpp" alt="" coords="363,822,517,863"/> <area shape="rect" id="node29" href="_sd_fat_util_8cpp.html" title="Arduino/libraries/SdFat\l/SdFatUtil.cpp" alt="" coords="599,913,753,954"/> <area shape="rect" id="node31" href="_sd_fat_util_8h.html" title="Useful utility functions. " alt="" coords="541,822,696,863"/> <area shape="rect" id="node34" href="_sd_stream_8cpp.html" title="Arduino/libraries/SdFat\l/SdStream.cpp" alt="" coords="771,822,925,863"/> <area shape="rect" id="node36" href="_sd_volume_8cpp.html" title="Arduino/libraries/SdFat\l/SdVolume.cpp" alt="" coords="949,822,1104,863"/> <area shape="rect" id="node40" href="_stdio_stream_8cpp.html" title="Arduino/libraries/SdFat\l/StdioStream.cpp" alt="" coords="1307,913,1461,954"/> <area shape="rect" id="node50" href="ostream_8cpp.html" title="Arduino/libraries/SdFat\l/ostream.cpp" alt="" coords="891,459,1045,501"/> <area shape="rect" id="node55" href="_sd_file_8cpp.html" title="Arduino/libraries/SdFat\l/SdFile.cpp" alt="" coords="1120,369,1275,410"/> </map>
  75. </div>
  76. </div><table class="memberdecls">
  77. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
  78. Classes</h2></td></tr>
  79. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd2_card.html">Sd2Card</a></td></tr>
  80. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Raw access to SD and SDHC flash memory cards. <a href="class_sd2_card.html#details">More...</a><br/></td></tr>
  81. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  82. </table><table class="memberdecls">
  83. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
  84. Variables</h2></td></tr>
  85. <tr class="memitem:aa69b04c3716e3e9962617e264e7ebe44"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#aa69b04c3716e3e9962617e264e7ebe44">SD_CARD_ERROR_ACMD23</a> = 0X9</td></tr>
  86. <tr class="separator:aa69b04c3716e3e9962617e264e7ebe44"><td class="memSeparator" colspan="2">&#160;</td></tr>
  87. <tr class="memitem:a62fdea7af4f09fb98f302bac1bfa17c2"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#a62fdea7af4f09fb98f302bac1bfa17c2">SD_CARD_ERROR_ACMD41</a> = 0XA</td></tr>
  88. <tr class="separator:a62fdea7af4f09fb98f302bac1bfa17c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  89. <tr class="memitem:a0bbae62f7c90e60614cfa9063101c5e1"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#a0bbae62f7c90e60614cfa9063101c5e1">SD_CARD_ERROR_BAD_CSD</a> = 0XB</td></tr>
  90. <tr class="separator:a0bbae62f7c90e60614cfa9063101c5e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  91. <tr class="memitem:a3803cc53ecc2b346ba950053f3dced47"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#a3803cc53ecc2b346ba950053f3dced47">SD_CARD_ERROR_CMD0</a> = 0X1</td></tr>
  92. <tr class="separator:a3803cc53ecc2b346ba950053f3dced47"><td class="memSeparator" colspan="2">&#160;</td></tr>
  93. <tr class="memitem:ae713a04caec74b7a412fc3a4ca7ee8fd"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#ae713a04caec74b7a412fc3a4ca7ee8fd">SD_CARD_ERROR_CMD12</a> = 0X3</td></tr>
  94. <tr class="separator:ae713a04caec74b7a412fc3a4ca7ee8fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  95. <tr class="memitem:a2e79398dcb2711672e50dc2bea94e141"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#a2e79398dcb2711672e50dc2bea94e141">SD_CARD_ERROR_CMD17</a> = 0X4</td></tr>
  96. <tr class="separator:a2e79398dcb2711672e50dc2bea94e141"><td class="memSeparator" colspan="2">&#160;</td></tr>
  97. <tr class="memitem:a15f61426677cddfb1504e4b98900ae05"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#a15f61426677cddfb1504e4b98900ae05">SD_CARD_ERROR_CMD18</a> = 0X5</td></tr>
  98. <tr class="separator:a15f61426677cddfb1504e4b98900ae05"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. <tr class="memitem:ade761c5ed037fbe0598f80c5e6d34268"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#ade761c5ed037fbe0598f80c5e6d34268">SD_CARD_ERROR_CMD24</a> = 0X6</td></tr>
  100. <tr class="separator:ade761c5ed037fbe0598f80c5e6d34268"><td class="memSeparator" colspan="2">&#160;</td></tr>
  101. <tr class="memitem:a4840a2a3026b537bf0e6a679715ec734"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#a4840a2a3026b537bf0e6a679715ec734">SD_CARD_ERROR_CMD25</a> = 0X7</td></tr>
  102. <tr class="separator:a4840a2a3026b537bf0e6a679715ec734"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. <tr class="memitem:a0ebfb17cbc424fd2138918aa72307292"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#a0ebfb17cbc424fd2138918aa72307292">SD_CARD_ERROR_CMD58</a> = 0X8</td></tr>
  104. <tr class="separator:a0ebfb17cbc424fd2138918aa72307292"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:a974f951f7de236ad1bf498344c573b26"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#a974f951f7de236ad1bf498344c573b26">SD_CARD_ERROR_CMD59</a> = 0X1A</td></tr>
  106. <tr class="separator:a974f951f7de236ad1bf498344c573b26"><td class="memSeparator" colspan="2">&#160;</td></tr>
  107. <tr class="memitem:a2da93442c11fa58ffd24fe9d7038393d"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#a2da93442c11fa58ffd24fe9d7038393d">SD_CARD_ERROR_CMD8</a> = 0X2</td></tr>
  108. <tr class="separator:a2da93442c11fa58ffd24fe9d7038393d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:a7726e63b7a04bc15b70901b418d6dd1e"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#a7726e63b7a04bc15b70901b418d6dd1e">SD_CARD_ERROR_ERASE</a> = 0XC</td></tr>
  110. <tr class="separator:a7726e63b7a04bc15b70901b418d6dd1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:a00e05ddd835d81e0b4d78ededae70a3c"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#a00e05ddd835d81e0b4d78ededae70a3c">SD_CARD_ERROR_ERASE_SINGLE_BLOCK</a> = 0XD</td></tr>
  112. <tr class="separator:a00e05ddd835d81e0b4d78ededae70a3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:a8121967a262a076c5191a0e855531f99"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#a8121967a262a076c5191a0e855531f99">SD_CARD_ERROR_ERASE_TIMEOUT</a> = 0XE</td></tr>
  114. <tr class="separator:a8121967a262a076c5191a0e855531f99"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:ab2b7080183030b2cce47b7469e0dde7d"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#ab2b7080183030b2cce47b7469e0dde7d">SD_CARD_ERROR_INIT_NOT_CALLED</a> = 0X19</td></tr>
  116. <tr class="separator:ab2b7080183030b2cce47b7469e0dde7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:adb9b963e8c54c4daf616cc5fdc4010ac"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#adb9b963e8c54c4daf616cc5fdc4010ac">SD_CARD_ERROR_READ</a> = 0XF</td></tr>
  118. <tr class="separator:adb9b963e8c54c4daf616cc5fdc4010ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:afb7f0b9a1a4ea92107204508c893cc81"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#afb7f0b9a1a4ea92107204508c893cc81">SD_CARD_ERROR_READ_CRC</a> = 0X1B</td></tr>
  120. <tr class="separator:afb7f0b9a1a4ea92107204508c893cc81"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:af1cdb9d8082532f4fe4b7cf1931dddbe"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#af1cdb9d8082532f4fe4b7cf1931dddbe">SD_CARD_ERROR_READ_REG</a> = 0X10</td></tr>
  122. <tr class="separator:af1cdb9d8082532f4fe4b7cf1931dddbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:a49c57f2b1d31fe1b0baf73fab5bd469b"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#a49c57f2b1d31fe1b0baf73fab5bd469b">SD_CARD_ERROR_READ_TIMEOUT</a> = 0X11</td></tr>
  124. <tr class="separator:a49c57f2b1d31fe1b0baf73fab5bd469b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:aa4036973d09278197c2949181094e8e2"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#aa4036973d09278197c2949181094e8e2">SD_CARD_ERROR_SCK_RATE</a> = 0X18</td></tr>
  126. <tr class="separator:aa4036973d09278197c2949181094e8e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. <tr class="memitem:ae10703397b36b451e590946497a58867"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#ae10703397b36b451e590946497a58867">SD_CARD_ERROR_SPI_DMA</a> = 0X1C</td></tr>
  128. <tr class="separator:ae10703397b36b451e590946497a58867"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:a87264e66265e36be6b1428ebacf2e4ed"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#a87264e66265e36be6b1428ebacf2e4ed">SD_CARD_ERROR_STOP_TRAN</a> = 0X12</td></tr>
  130. <tr class="separator:a87264e66265e36be6b1428ebacf2e4ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. <tr class="memitem:a98bb1b625b0b9ce99d8494fbb195274c"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#a98bb1b625b0b9ce99d8494fbb195274c">SD_CARD_ERROR_WRITE</a> = 0X13</td></tr>
  132. <tr class="separator:a98bb1b625b0b9ce99d8494fbb195274c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. <tr class="memitem:a376db89ebd1e212110419e3ac7a0c33f"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#a376db89ebd1e212110419e3ac7a0c33f">SD_CARD_ERROR_WRITE_BLOCK_ZERO</a> = 0X14</td></tr>
  134. <tr class="separator:a376db89ebd1e212110419e3ac7a0c33f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <tr class="memitem:a30bc1de9e3914ace0b9dc30f99a0edea"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#a30bc1de9e3914ace0b9dc30f99a0edea">SD_CARD_ERROR_WRITE_MULTIPLE</a> = 0X15</td></tr>
  136. <tr class="separator:a30bc1de9e3914ace0b9dc30f99a0edea"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. <tr class="memitem:a06b427dad894918bd33fe2e74c50c2e0"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#a06b427dad894918bd33fe2e74c50c2e0">SD_CARD_ERROR_WRITE_PROGRAMMING</a> = 0X16</td></tr>
  138. <tr class="separator:a06b427dad894918bd33fe2e74c50c2e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. <tr class="memitem:ae6574296ec37c52209c5f2c5664dccdb"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#ae6574296ec37c52209c5f2c5664dccdb">SD_CARD_ERROR_WRITE_TIMEOUT</a> = 0X17</td></tr>
  140. <tr class="separator:ae6574296ec37c52209c5f2c5664dccdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <tr class="memitem:af55081a60d333ab063a5da5dd2c3633b"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#af55081a60d333ab063a5da5dd2c3633b">SD_CARD_TYPE_SD1</a> = 1</td></tr>
  142. <tr class="separator:af55081a60d333ab063a5da5dd2c3633b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  143. <tr class="memitem:a225807c91fc41717b4230d3b7e99c9f7"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#a225807c91fc41717b4230d3b7e99c9f7">SD_CARD_TYPE_SD2</a> = 2</td></tr>
  144. <tr class="separator:a225807c91fc41717b4230d3b7e99c9f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  145. <tr class="memitem:a39b05691c3bcfffddd5d590589980f44"><td class="memItemLeft" align="right" valign="top">uint8_t const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_sd2_card_8h.html#a39b05691c3bcfffddd5d590589980f44">SD_CARD_TYPE_SDHC</a> = 3</td></tr>
  146. <tr class="separator:a39b05691c3bcfffddd5d590589980f44"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. </table>
  148. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  149. <div class="textblock"><p><a class="el" href="class_sd2_card.html" title="Raw access to SD and SDHC flash memory cards. ">Sd2Card</a> class for V2 SD/SDHC cards. </p>
  150. </div><h2 class="groupheader">Variable Documentation</h2>
  151. <a class="anchor" id="aa69b04c3716e3e9962617e264e7ebe44"></a>
  152. <div class="memitem">
  153. <div class="memproto">
  154. <table class="memname">
  155. <tr>
  156. <td class="memname">uint8_t const SD_CARD_ERROR_ACMD23 = 0X9</td>
  157. </tr>
  158. </table>
  159. </div><div class="memdoc">
  160. <p>SET_WR_BLK_ERASE_COUNT failed </p>
  161. </div>
  162. </div>
  163. <a class="anchor" id="a62fdea7af4f09fb98f302bac1bfa17c2"></a>
  164. <div class="memitem">
  165. <div class="memproto">
  166. <table class="memname">
  167. <tr>
  168. <td class="memname">uint8_t const SD_CARD_ERROR_ACMD41 = 0XA</td>
  169. </tr>
  170. </table>
  171. </div><div class="memdoc">
  172. <p>ACMD41 initialization process timeout </p>
  173. </div>
  174. </div>
  175. <a class="anchor" id="a0bbae62f7c90e60614cfa9063101c5e1"></a>
  176. <div class="memitem">
  177. <div class="memproto">
  178. <table class="memname">
  179. <tr>
  180. <td class="memname">uint8_t const SD_CARD_ERROR_BAD_CSD = 0XB</td>
  181. </tr>
  182. </table>
  183. </div><div class="memdoc">
  184. <p>card returned a bad CSR version field </p>
  185. </div>
  186. </div>
  187. <a class="anchor" id="a3803cc53ecc2b346ba950053f3dced47"></a>
  188. <div class="memitem">
  189. <div class="memproto">
  190. <table class="memname">
  191. <tr>
  192. <td class="memname">uint8_t const SD_CARD_ERROR_CMD0 = 0X1</td>
  193. </tr>
  194. </table>
  195. </div><div class="memdoc">
  196. <p>timeout error for command CMD0 (initialize card in SPI mode) </p>
  197. </div>
  198. </div>
  199. <a class="anchor" id="ae713a04caec74b7a412fc3a4ca7ee8fd"></a>
  200. <div class="memitem">
  201. <div class="memproto">
  202. <table class="memname">
  203. <tr>
  204. <td class="memname">uint8_t const SD_CARD_ERROR_CMD12 = 0X3</td>
  205. </tr>
  206. </table>
  207. </div><div class="memdoc">
  208. <p>card returned an error response for CMD12 (stop multiblock read) </p>
  209. </div>
  210. </div>
  211. <a class="anchor" id="a2e79398dcb2711672e50dc2bea94e141"></a>
  212. <div class="memitem">
  213. <div class="memproto">
  214. <table class="memname">
  215. <tr>
  216. <td class="memname">uint8_t const SD_CARD_ERROR_CMD17 = 0X4</td>
  217. </tr>
  218. </table>
  219. </div><div class="memdoc">
  220. <p>card returned an error response for CMD17 (read block) </p>
  221. </div>
  222. </div>
  223. <a class="anchor" id="a15f61426677cddfb1504e4b98900ae05"></a>
  224. <div class="memitem">
  225. <div class="memproto">
  226. <table class="memname">
  227. <tr>
  228. <td class="memname">uint8_t const SD_CARD_ERROR_CMD18 = 0X5</td>
  229. </tr>
  230. </table>
  231. </div><div class="memdoc">
  232. <p>card returned an error response for CMD18 (read multiple block) </p>
  233. </div>
  234. </div>
  235. <a class="anchor" id="ade761c5ed037fbe0598f80c5e6d34268"></a>
  236. <div class="memitem">
  237. <div class="memproto">
  238. <table class="memname">
  239. <tr>
  240. <td class="memname">uint8_t const SD_CARD_ERROR_CMD24 = 0X6</td>
  241. </tr>
  242. </table>
  243. </div><div class="memdoc">
  244. <p>card returned an error response for CMD24 (write block) </p>
  245. </div>
  246. </div>
  247. <a class="anchor" id="a4840a2a3026b537bf0e6a679715ec734"></a>
  248. <div class="memitem">
  249. <div class="memproto">
  250. <table class="memname">
  251. <tr>
  252. <td class="memname">uint8_t const SD_CARD_ERROR_CMD25 = 0X7</td>
  253. </tr>
  254. </table>
  255. </div><div class="memdoc">
  256. <p>WRITE_MULTIPLE_BLOCKS command failed </p>
  257. </div>
  258. </div>
  259. <a class="anchor" id="a0ebfb17cbc424fd2138918aa72307292"></a>
  260. <div class="memitem">
  261. <div class="memproto">
  262. <table class="memname">
  263. <tr>
  264. <td class="memname">uint8_t const SD_CARD_ERROR_CMD58 = 0X8</td>
  265. </tr>
  266. </table>
  267. </div><div class="memdoc">
  268. <p>card returned an error response for CMD58 (read OCR) </p>
  269. </div>
  270. </div>
  271. <a class="anchor" id="a974f951f7de236ad1bf498344c573b26"></a>
  272. <div class="memitem">
  273. <div class="memproto">
  274. <table class="memname">
  275. <tr>
  276. <td class="memname">uint8_t const SD_CARD_ERROR_CMD59 = 0X1A</td>
  277. </tr>
  278. </table>
  279. </div><div class="memdoc">
  280. <p>card returned an error for CMD59 (CRC_ON_OFF) </p>
  281. </div>
  282. </div>
  283. <a class="anchor" id="a2da93442c11fa58ffd24fe9d7038393d"></a>
  284. <div class="memitem">
  285. <div class="memproto">
  286. <table class="memname">
  287. <tr>
  288. <td class="memname">uint8_t const SD_CARD_ERROR_CMD8 = 0X2</td>
  289. </tr>
  290. </table>
  291. </div><div class="memdoc">
  292. <p>CMD8 was not accepted - not a valid SD card </p>
  293. </div>
  294. </div>
  295. <a class="anchor" id="a7726e63b7a04bc15b70901b418d6dd1e"></a>
  296. <div class="memitem">
  297. <div class="memproto">
  298. <table class="memname">
  299. <tr>
  300. <td class="memname">uint8_t const SD_CARD_ERROR_ERASE = 0XC</td>
  301. </tr>
  302. </table>
  303. </div><div class="memdoc">
  304. <p>erase block group command failed </p>
  305. </div>
  306. </div>
  307. <a class="anchor" id="a00e05ddd835d81e0b4d78ededae70a3c"></a>
  308. <div class="memitem">
  309. <div class="memproto">
  310. <table class="memname">
  311. <tr>
  312. <td class="memname">uint8_t const SD_CARD_ERROR_ERASE_SINGLE_BLOCK = 0XD</td>
  313. </tr>
  314. </table>
  315. </div><div class="memdoc">
  316. <p>card not capable of single block erase </p>
  317. </div>
  318. </div>
  319. <a class="anchor" id="a8121967a262a076c5191a0e855531f99"></a>
  320. <div class="memitem">
  321. <div class="memproto">
  322. <table class="memname">
  323. <tr>
  324. <td class="memname">uint8_t const SD_CARD_ERROR_ERASE_TIMEOUT = 0XE</td>
  325. </tr>
  326. </table>
  327. </div><div class="memdoc">
  328. <p>Erase sequence timed out </p>
  329. </div>
  330. </div>
  331. <a class="anchor" id="ab2b7080183030b2cce47b7469e0dde7d"></a>
  332. <div class="memitem">
  333. <div class="memproto">
  334. <table class="memname">
  335. <tr>
  336. <td class="memname">uint8_t const SD_CARD_ERROR_INIT_NOT_CALLED = 0X19</td>
  337. </tr>
  338. </table>
  339. </div><div class="memdoc">
  340. <p>init() not called </p>
  341. </div>
  342. </div>
  343. <a class="anchor" id="adb9b963e8c54c4daf616cc5fdc4010ac"></a>
  344. <div class="memitem">
  345. <div class="memproto">
  346. <table class="memname">
  347. <tr>
  348. <td class="memname">uint8_t const SD_CARD_ERROR_READ = 0XF</td>
  349. </tr>
  350. </table>
  351. </div><div class="memdoc">
  352. <p>card returned an error token instead of read data </p>
  353. </div>
  354. </div>
  355. <a class="anchor" id="afb7f0b9a1a4ea92107204508c893cc81"></a>
  356. <div class="memitem">
  357. <div class="memproto">
  358. <table class="memname">
  359. <tr>
  360. <td class="memname">uint8_t const SD_CARD_ERROR_READ_CRC = 0X1B</td>
  361. </tr>
  362. </table>
  363. </div><div class="memdoc">
  364. <p>invalid read CRC </p>
  365. </div>
  366. </div>
  367. <a class="anchor" id="af1cdb9d8082532f4fe4b7cf1931dddbe"></a>
  368. <div class="memitem">
  369. <div class="memproto">
  370. <table class="memname">
  371. <tr>
  372. <td class="memname">uint8_t const SD_CARD_ERROR_READ_REG = 0X10</td>
  373. </tr>
  374. </table>
  375. </div><div class="memdoc">
  376. <p>read CID or CSD failed </p>
  377. </div>
  378. </div>
  379. <a class="anchor" id="a49c57f2b1d31fe1b0baf73fab5bd469b"></a>
  380. <div class="memitem">
  381. <div class="memproto">
  382. <table class="memname">
  383. <tr>
  384. <td class="memname">uint8_t const SD_CARD_ERROR_READ_TIMEOUT = 0X11</td>
  385. </tr>
  386. </table>
  387. </div><div class="memdoc">
  388. <p>timeout while waiting for start of read data </p>
  389. </div>
  390. </div>
  391. <a class="anchor" id="aa4036973d09278197c2949181094e8e2"></a>
  392. <div class="memitem">
  393. <div class="memproto">
  394. <table class="memname">
  395. <tr>
  396. <td class="memname">uint8_t const SD_CARD_ERROR_SCK_RATE = 0X18</td>
  397. </tr>
  398. </table>
  399. </div><div class="memdoc">
  400. <p>incorrect rate selected </p>
  401. </div>
  402. </div>
  403. <a class="anchor" id="ae10703397b36b451e590946497a58867"></a>
  404. <div class="memitem">
  405. <div class="memproto">
  406. <table class="memname">
  407. <tr>
  408. <td class="memname">uint8_t const SD_CARD_ERROR_SPI_DMA = 0X1C</td>
  409. </tr>
  410. </table>
  411. </div><div class="memdoc">
  412. <p>SPI DMA error </p>
  413. </div>
  414. </div>
  415. <a class="anchor" id="a87264e66265e36be6b1428ebacf2e4ed"></a>
  416. <div class="memitem">
  417. <div class="memproto">
  418. <table class="memname">
  419. <tr>
  420. <td class="memname">uint8_t const SD_CARD_ERROR_STOP_TRAN = 0X12</td>
  421. </tr>
  422. </table>
  423. </div><div class="memdoc">
  424. <p>card did not accept STOP_TRAN_TOKEN </p>
  425. </div>
  426. </div>
  427. <a class="anchor" id="a98bb1b625b0b9ce99d8494fbb195274c"></a>
  428. <div class="memitem">
  429. <div class="memproto">
  430. <table class="memname">
  431. <tr>
  432. <td class="memname">uint8_t const SD_CARD_ERROR_WRITE = 0X13</td>
  433. </tr>
  434. </table>
  435. </div><div class="memdoc">
  436. <p>card returned an error token as a response to a write operation </p>
  437. </div>
  438. </div>
  439. <a class="anchor" id="a376db89ebd1e212110419e3ac7a0c33f"></a>
  440. <div class="memitem">
  441. <div class="memproto">
  442. <table class="memname">
  443. <tr>
  444. <td class="memname">uint8_t const SD_CARD_ERROR_WRITE_BLOCK_ZERO = 0X14</td>
  445. </tr>
  446. </table>
  447. </div><div class="memdoc">
  448. <p>attempt to write protected block zero </p>
  449. </div>
  450. </div>
  451. <a class="anchor" id="a30bc1de9e3914ace0b9dc30f99a0edea"></a>
  452. <div class="memitem">
  453. <div class="memproto">
  454. <table class="memname">
  455. <tr>
  456. <td class="memname">uint8_t const SD_CARD_ERROR_WRITE_MULTIPLE = 0X15</td>
  457. </tr>
  458. </table>
  459. </div><div class="memdoc">
  460. <p>card did not go ready for a multiple block write </p>
  461. </div>
  462. </div>
  463. <a class="anchor" id="a06b427dad894918bd33fe2e74c50c2e0"></a>
  464. <div class="memitem">
  465. <div class="memproto">
  466. <table class="memname">
  467. <tr>
  468. <td class="memname">uint8_t const SD_CARD_ERROR_WRITE_PROGRAMMING = 0X16</td>
  469. </tr>
  470. </table>
  471. </div><div class="memdoc">
  472. <p>card returned an error to a CMD13 status check after a write </p>
  473. </div>
  474. </div>
  475. <a class="anchor" id="ae6574296ec37c52209c5f2c5664dccdb"></a>
  476. <div class="memitem">
  477. <div class="memproto">
  478. <table class="memname">
  479. <tr>
  480. <td class="memname">uint8_t const SD_CARD_ERROR_WRITE_TIMEOUT = 0X17</td>
  481. </tr>
  482. </table>
  483. </div><div class="memdoc">
  484. <p>timeout occurred during write programming </p>
  485. </div>
  486. </div>
  487. <a class="anchor" id="af55081a60d333ab063a5da5dd2c3633b"></a>
  488. <div class="memitem">
  489. <div class="memproto">
  490. <table class="memname">
  491. <tr>
  492. <td class="memname">uint8_t const SD_CARD_TYPE_SD1 = 1</td>
  493. </tr>
  494. </table>
  495. </div><div class="memdoc">
  496. <p>Standard capacity V1 SD card </p>
  497. </div>
  498. </div>
  499. <a class="anchor" id="a225807c91fc41717b4230d3b7e99c9f7"></a>
  500. <div class="memitem">
  501. <div class="memproto">
  502. <table class="memname">
  503. <tr>
  504. <td class="memname">uint8_t const SD_CARD_TYPE_SD2 = 2</td>
  505. </tr>
  506. </table>
  507. </div><div class="memdoc">
  508. <p>Standard capacity V2 SD card </p>
  509. </div>
  510. </div>
  511. <a class="anchor" id="a39b05691c3bcfffddd5d590589980f44"></a>
  512. <div class="memitem">
  513. <div class="memproto">
  514. <table class="memname">
  515. <tr>
  516. <td class="memname">uint8_t const SD_CARD_TYPE_SDHC = 3</td>
  517. </tr>
  518. </table>
  519. </div><div class="memdoc">
  520. <p>High Capacity SD card </p>
  521. </div>
  522. </div>
  523. </div><!-- contents -->
  524. <!-- start footer part -->
  525. <hr class="footer"/><address class="footer"><small>
  526. Generated on Sun Aug 24 2014 09:37:38 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  527. <img class="footer" src="doxygen.png" alt="doxygen"/>
  528. </a> 1.8.6
  529. </small></address>
  530. </body>
  531. </html>