您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

2341 行
101KB

  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.10"/>
  7. <title>SdFat: SdFatSdio Class 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="search/search.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="search/searchdata.js"></script>
  13. <script type="text/javascript" src="search/search.js"></script>
  14. <script type="text/javascript">
  15. $(document).ready(function() { init_search(); });
  16. </script>
  17. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  21. <div id="titlearea">
  22. <table cellspacing="0" cellpadding="0">
  23. <tbody>
  24. <tr style="height: 56px;">
  25. <td id="projectalign" style="padding-left: 0.5em;">
  26. <div id="projectname">SdFat
  27. </div>
  28. </td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </div>
  33. <!-- end header part -->
  34. <!-- Generated by Doxygen 1.8.10 -->
  35. <script type="text/javascript">
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. </script>
  38. <div id="navrow1" class="tabs">
  39. <ul class="tablist">
  40. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  41. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  42. <li><a href="files.html"><span>Files</span></a></li>
  43. <li>
  44. <div id="MSearchBox" class="MSearchBoxInactive">
  45. <span class="left">
  46. <img id="MSearchSelect" src="search/mag_sel.png"
  47. onmouseover="return searchBox.OnSearchSelectShow()"
  48. onmouseout="return searchBox.OnSearchSelectHide()"
  49. alt=""/>
  50. <input type="text" id="MSearchField" value="Search" accesskey="S"
  51. onfocus="searchBox.OnSearchFieldFocus(true)"
  52. onblur="searchBox.OnSearchFieldFocus(false)"
  53. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  54. </span><span class="right">
  55. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  56. </span>
  57. </div>
  58. </li>
  59. </ul>
  60. </div>
  61. <div id="navrow2" class="tabs2">
  62. <ul class="tablist">
  63. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  64. <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
  65. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  66. </ul>
  67. </div>
  68. <!-- window showing the filter options -->
  69. <div id="MSearchSelectWindow"
  70. onmouseover="return searchBox.OnSearchSelectShow()"
  71. onmouseout="return searchBox.OnSearchSelectHide()"
  72. onkeydown="return searchBox.OnSearchSelectKey(event)">
  73. </div>
  74. <!-- iframe showing the search results (closed by default) -->
  75. <div id="MSearchResultsWindow">
  76. <iframe src="javascript:void(0)" frameborder="0"
  77. name="MSearchResults" id="MSearchResults">
  78. </iframe>
  79. </div>
  80. </div><!-- top -->
  81. <div class="header">
  82. <div class="summary">
  83. <a href="#pub-methods">Public Member Functions</a> &#124;
  84. <a href="class_sd_fat_sdio-members.html">List of all members</a> </div>
  85. <div class="headertitle">
  86. <div class="title">SdFatSdio Class Reference</div> </div>
  87. </div><!--header-->
  88. <div class="contents">
  89. <p><a class="el" href="class_sd_fat.html" title="Main file system class for SdFat library. ">SdFat</a> class using SDIO.
  90. <a href="class_sd_fat_sdio.html#details">More...</a></p>
  91. <p><code>#include &lt;SdFat.h&gt;</code></p>
  92. <div class="dynheader">
  93. Inheritance diagram for SdFatSdio:</div>
  94. <div class="dyncontent">
  95. <div class="center"><img src="class_sd_fat_sdio__inherit__graph.png" border="0" usemap="#_sd_fat_sdio_inherit__map" alt="Inheritance graph"/></div>
  96. <map name="_sd_fat_sdio_inherit__map" id="_sd_fat_sdio_inherit__map">
  97. <area shape="rect" id="node2" href="class_sd_file_system.html" title="SdFileSystem\&lt; SdioCard \&gt;" alt="" coords="5,155,187,181"/>
  98. <area shape="rect" id="node3" href="class_fat_file_system.html" title="Integration class for the FatLib library. " alt="" coords="43,80,149,107"/>
  99. <area shape="rect" id="node4" href="class_fat_volume.html" title="Access FAT16 and FAT32 volumes on raw file devices. " alt="" coords="53,5,139,32"/>
  100. </map>
  101. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  102. <div class="dynheader">
  103. Collaboration diagram for SdFatSdio:</div>
  104. <div class="dyncontent">
  105. <div class="center"><img src="class_sd_fat_sdio__coll__graph.png" border="0" usemap="#_sd_fat_sdio_coll__map" alt="Collaboration graph"/></div>
  106. <map name="_sd_fat_sdio_coll__map" id="_sd_fat_sdio_coll__map">
  107. <area shape="rect" id="node2" href="class_sd_file_system.html" title="SdFileSystem\&lt; SdioCard \&gt;" alt="" coords="5,155,187,181"/>
  108. <area shape="rect" id="node3" href="class_fat_file_system.html" title="Integration class for the FatLib library. " alt="" coords="43,80,149,107"/>
  109. <area shape="rect" id="node4" href="class_fat_volume.html" title="Access FAT16 and FAT32 volumes on raw file devices. " alt="" coords="53,5,139,32"/>
  110. </map>
  111. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  112. <table class="memberdecls">
  113. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  114. Public Member Functions</h2></td></tr>
  115. <tr class="memitem:a5dda20d3dcbfc8c641babbb2c9aac382"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file_system.html#a5dda20d3dcbfc8c641babbb2c9aac382">begin</a> (<a class="el" href="_block_driver_8h.html#ace97f2377acdc471a01f9f7ec1fd6bbb">BlockDriver</a> *blockDev, uint8_t part=0)</td></tr>
  116. <tr class="separator:a5dda20d3dcbfc8c641babbb2c9aac382"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:ac742b37bd8f2f4eb4df44b37c98398e0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_fat_sdio.html#ac742b37bd8f2f4eb4df44b37c98398e0">begin</a> ()</td></tr>
  118. <tr class="separator:ac742b37bd8f2f4eb4df44b37c98398e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:a06beed4cea5e38116b58254a57125442"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_volume.html#a06beed4cea5e38116b58254a57125442">blocksPerCluster</a> () const </td></tr>
  120. <tr class="separator:a06beed4cea5e38116b58254a57125442"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:abc66d856d05198d9ebe7104c8c4155d7"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_volume.html#abc66d856d05198d9ebe7104c8c4155d7">blocksPerFat</a> () const </td></tr>
  122. <tr class="separator:abc66d856d05198d9ebe7104c8c4155d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:aa1e3b1d0c21d202deb82668068ab00e8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="unioncache__t.html">cache_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_volume.html#aa1e3b1d0c21d202deb82668068ab00e8">cacheClear</a> ()</td></tr>
  124. <tr class="separator:aa1e3b1d0c21d202deb82668068ab00e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:ab5dcfbeeb7caa38a38db86003341eb07"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_sdio_card.html">SdioCard</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#ab5dcfbeeb7caa38a38db86003341eb07">card</a> ()</td></tr>
  126. <tr class="separator:ab5dcfbeeb7caa38a38db86003341eb07"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. <tr class="memitem:ac49062cc8fb2a42564d0ff05b4c0be8b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_fat_sdio.html#ac49062cc8fb2a42564d0ff05b4c0be8b">cardBegin</a> ()</td></tr>
  128. <tr class="separator:ac49062cc8fb2a42564d0ff05b4c0be8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:aedfd5a0830c955bc5514e52f2f2dd066"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#aedfd5a0830c955bc5514e52f2f2dd066">cardErrorCode</a> ()</td></tr>
  130. <tr class="separator:aedfd5a0830c955bc5514e52f2f2dd066"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. <tr class="memitem:a0602ab3c04ea33293649f0a15fc81e05"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#a0602ab3c04ea33293649f0a15fc81e05">cardErrorData</a> ()</td></tr>
  132. <tr class="separator:a0602ab3c04ea33293649f0a15fc81e05"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. <tr class="memitem:a5667915e63187a43a71dfada63800865"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file_system.html#a5667915e63187a43a71dfada63800865">chdir</a> (bool set_cwd=false)</td></tr>
  134. <tr class="separator:a5667915e63187a43a71dfada63800865"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <tr class="memitem:a44af1b98e8d986d12107b654453acbc4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file_system.html#a44af1b98e8d986d12107b654453acbc4">chdir</a> (const char *path, bool set_cwd=false)</td></tr>
  136. <tr class="separator:a44af1b98e8d986d12107b654453acbc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. <tr class="memitem:af24917d6e00c8766dab168eb834047ec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file_system.html#af24917d6e00c8766dab168eb834047ec">chvol</a> ()</td></tr>
  138. <tr class="separator:af24917d6e00c8766dab168eb834047ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. <tr class="memitem:a18446a9c5924304fa7a87d5f03ccaf21"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_volume.html#a18446a9c5924304fa7a87d5f03ccaf21">clusterCount</a> () const </td></tr>
  140. <tr class="separator:a18446a9c5924304fa7a87d5f03ccaf21"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <tr class="memitem:ac0e63f33d71d5dc95a602834274def6a"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_volume.html#ac0e63f33d71d5dc95a602834274def6a">clusterSizeShift</a> () const </td></tr>
  142. <tr class="separator:ac0e63f33d71d5dc95a602834274def6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  143. <tr class="memitem:a443364af257c219f8e908d5b073d8fa3"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_volume.html#a443364af257c219f8e908d5b073d8fa3">dataStartBlock</a> () const </td></tr>
  144. <tr class="separator:a443364af257c219f8e908d5b073d8fa3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  145. <tr class="memitem:a25c6311b70fa274b3be94ff25fdebba7"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_volume.html#a25c6311b70fa274b3be94ff25fdebba7">dbgFat</a> (uint32_t n, uint32_t *v)</td></tr>
  146. <tr class="separator:a25c6311b70fa274b3be94ff25fdebba7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="memitem:a855267374306bfee2df67642c99d4d18"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#a855267374306bfee2df67642c99d4d18">errorHalt</a> ()</td></tr>
  148. <tr class="separator:a855267374306bfee2df67642c99d4d18"><td class="memSeparator" colspan="2">&#160;</td></tr>
  149. <tr class="memitem:ae1f79a2974ebe134e70f898c32d97e98"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#ae1f79a2974ebe134e70f898c32d97e98">errorHalt</a> (Print *pr)</td></tr>
  150. <tr class="separator:ae1f79a2974ebe134e70f898c32d97e98"><td class="memSeparator" colspan="2">&#160;</td></tr>
  151. <tr class="memitem:a32c20dfa6a8cb8af95f25847b19bdbca"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#a32c20dfa6a8cb8af95f25847b19bdbca">errorHalt</a> (char const *msg)</td></tr>
  152. <tr class="separator:a32c20dfa6a8cb8af95f25847b19bdbca"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. <tr class="memitem:a27fb329d6aee79a63c20386218ce7e9e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#a27fb329d6aee79a63c20386218ce7e9e">errorHalt</a> (Print *pr, char const *msg)</td></tr>
  154. <tr class="separator:a27fb329d6aee79a63c20386218ce7e9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  155. <tr class="memitem:af856494745a9842d9728dfeabf19c51e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#af856494745a9842d9728dfeabf19c51e">errorHalt</a> (const __FlashStringHelper *msg)</td></tr>
  156. <tr class="separator:af856494745a9842d9728dfeabf19c51e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  157. <tr class="memitem:a746c80d048c30baf0b281e16932670a2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#a746c80d048c30baf0b281e16932670a2">errorHalt</a> (Print *pr, const __FlashStringHelper *msg)</td></tr>
  158. <tr class="separator:a746c80d048c30baf0b281e16932670a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  159. <tr class="memitem:ab0b78154d6874c29279ba81f36ccb09c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#ab0b78154d6874c29279ba81f36ccb09c">errorPrint</a> ()</td></tr>
  160. <tr class="separator:ab0b78154d6874c29279ba81f36ccb09c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  161. <tr class="memitem:a03736274debea71fef5e2ff34d7ec3dc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#a03736274debea71fef5e2ff34d7ec3dc">errorPrint</a> (Print *pr)</td></tr>
  162. <tr class="separator:a03736274debea71fef5e2ff34d7ec3dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  163. <tr class="memitem:a2e2436b7b2666737cbaf4b22218bc69f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#a2e2436b7b2666737cbaf4b22218bc69f">errorPrint</a> (const char *msg)</td></tr>
  164. <tr class="separator:a2e2436b7b2666737cbaf4b22218bc69f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  165. <tr class="memitem:a0eb6b92a0700ba932f6127962981d153"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#a0eb6b92a0700ba932f6127962981d153">errorPrint</a> (Print *pr, char const *msg)</td></tr>
  166. <tr class="separator:a0eb6b92a0700ba932f6127962981d153"><td class="memSeparator" colspan="2">&#160;</td></tr>
  167. <tr class="memitem:a1ccb1f937f42e9c1331c942bc357f6da"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#a1ccb1f937f42e9c1331c942bc357f6da">errorPrint</a> (const __FlashStringHelper *msg)</td></tr>
  168. <tr class="separator:a1ccb1f937f42e9c1331c942bc357f6da"><td class="memSeparator" colspan="2">&#160;</td></tr>
  169. <tr class="memitem:a43344a079d9af92ea4b550914d0512f6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#a43344a079d9af92ea4b550914d0512f6">errorPrint</a> (Print *pr, const __FlashStringHelper *msg)</td></tr>
  170. <tr class="separator:a43344a079d9af92ea4b550914d0512f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  171. <tr class="memitem:aee58c6352652f216577196e32a594b67"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file_system.html#aee58c6352652f216577196e32a594b67">exists</a> (const char *path)</td></tr>
  172. <tr class="separator:aee58c6352652f216577196e32a594b67"><td class="memSeparator" colspan="2">&#160;</td></tr>
  173. <tr class="memitem:acdedc6a200b01e401c9cd9b511eae6ec"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_volume.html#acdedc6a200b01e401c9cd9b511eae6ec">fatCount</a> ()</td></tr>
  174. <tr class="separator:acdedc6a200b01e401c9cd9b511eae6ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
  175. <tr class="memitem:a0dd0cc689b63ef0702aed1cf36b1722d"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_volume.html#a0dd0cc689b63ef0702aed1cf36b1722d">fatStartBlock</a> () const </td></tr>
  176. <tr class="separator:a0dd0cc689b63ef0702aed1cf36b1722d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  177. <tr class="memitem:a1364f11fe9bb4717ce0685e2b7b86027"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_volume.html#a1364f11fe9bb4717ce0685e2b7b86027">fatType</a> () const </td></tr>
  178. <tr class="separator:a1364f11fe9bb4717ce0685e2b7b86027"><td class="memSeparator" colspan="2">&#160;</td></tr>
  179. <tr class="memitem:a1683b063fc6202ab85470b9610f16f93"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_volume.html#a1683b063fc6202ab85470b9610f16f93">freeClusterCount</a> ()</td></tr>
  180. <tr class="separator:a1683b063fc6202ab85470b9610f16f93"><td class="memSeparator" colspan="2">&#160;</td></tr>
  181. <tr class="memitem:aac0e8d86182a0e0566c4671c15f3df61"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_fat_sdio.html#aac0e8d86182a0e0566c4671c15f3df61">fsBegin</a> ()</td></tr>
  182. <tr class="separator:aac0e8d86182a0e0566c4671c15f3df61"><td class="memSeparator" colspan="2">&#160;</td></tr>
  183. <tr class="memitem:acab819fa25a91dad1cc698a7e1e0eb32"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_volume.html#acab819fa25a91dad1cc698a7e1e0eb32">init</a> ()</td></tr>
  184. <tr class="separator:acab819fa25a91dad1cc698a7e1e0eb32"><td class="memSeparator" colspan="2">&#160;</td></tr>
  185. <tr class="memitem:a034d997a1e7a0b2b664a4357bcccd256"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_volume.html#a034d997a1e7a0b2b664a4357bcccd256">init</a> (uint8_t part)</td></tr>
  186. <tr class="separator:a034d997a1e7a0b2b664a4357bcccd256"><td class="memSeparator" colspan="2">&#160;</td></tr>
  187. <tr class="memitem:a8e1f26486bb878a24fa9868e59dbbbc2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#a8e1f26486bb878a24fa9868e59dbbbc2">initErrorHalt</a> ()</td></tr>
  188. <tr class="separator:a8e1f26486bb878a24fa9868e59dbbbc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  189. <tr class="memitem:a24bd0f699cf0fe11fd2148b15c49251a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#a24bd0f699cf0fe11fd2148b15c49251a">initErrorHalt</a> (Print *pr)</td></tr>
  190. <tr class="separator:a24bd0f699cf0fe11fd2148b15c49251a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  191. <tr class="memitem:a893833a880e2a83757480ba4c1351041"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#a893833a880e2a83757480ba4c1351041">initErrorHalt</a> (char const *msg)</td></tr>
  192. <tr class="separator:a893833a880e2a83757480ba4c1351041"><td class="memSeparator" colspan="2">&#160;</td></tr>
  193. <tr class="memitem:a3077b1a53d789d0401b707963cb28f46"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#a3077b1a53d789d0401b707963cb28f46">initErrorHalt</a> (Print *pr, char const *msg)</td></tr>
  194. <tr class="separator:a3077b1a53d789d0401b707963cb28f46"><td class="memSeparator" colspan="2">&#160;</td></tr>
  195. <tr class="memitem:a2a1e4cc8056ba23b55dfa2c6486b8798"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#a2a1e4cc8056ba23b55dfa2c6486b8798">initErrorHalt</a> (const __FlashStringHelper *msg)</td></tr>
  196. <tr class="separator:a2a1e4cc8056ba23b55dfa2c6486b8798"><td class="memSeparator" colspan="2">&#160;</td></tr>
  197. <tr class="memitem:ab03d98012dea18733c3252f27832de69"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#ab03d98012dea18733c3252f27832de69">initErrorHalt</a> (Print *pr, const __FlashStringHelper *msg)</td></tr>
  198. <tr class="separator:ab03d98012dea18733c3252f27832de69"><td class="memSeparator" colspan="2">&#160;</td></tr>
  199. <tr class="memitem:ae31c9cbd7e1c03129d6c99b25f73cd50"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#ae31c9cbd7e1c03129d6c99b25f73cd50">initErrorPrint</a> ()</td></tr>
  200. <tr class="separator:ae31c9cbd7e1c03129d6c99b25f73cd50"><td class="memSeparator" colspan="2">&#160;</td></tr>
  201. <tr class="memitem:a066707dce0667213b5f083d59f67448d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#a066707dce0667213b5f083d59f67448d">initErrorPrint</a> (Print *pr)</td></tr>
  202. <tr class="separator:a066707dce0667213b5f083d59f67448d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  203. <tr class="memitem:a538796f79fd9db9c5bbeefd9defe639a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#a538796f79fd9db9c5bbeefd9defe639a">initErrorPrint</a> (char const *msg)</td></tr>
  204. <tr class="separator:a538796f79fd9db9c5bbeefd9defe639a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  205. <tr class="memitem:ad9855d33ebd465715b706d0926291b13"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#ad9855d33ebd465715b706d0926291b13">initErrorPrint</a> (Print *pr, char const *msg)</td></tr>
  206. <tr class="separator:ad9855d33ebd465715b706d0926291b13"><td class="memSeparator" colspan="2">&#160;</td></tr>
  207. <tr class="memitem:ad6ffec5a7d82be46d46b8a4f82d0803b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#ad6ffec5a7d82be46d46b8a4f82d0803b">initErrorPrint</a> (const __FlashStringHelper *msg)</td></tr>
  208. <tr class="separator:ad6ffec5a7d82be46d46b8a4f82d0803b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  209. <tr class="memitem:a8a2018b6366145a9843d3d29a47d6560"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_file_system.html#a8a2018b6366145a9843d3d29a47d6560">initErrorPrint</a> (Print *pr, const __FlashStringHelper *msg)</td></tr>
  210. <tr class="separator:a8a2018b6366145a9843d3d29a47d6560"><td class="memSeparator" colspan="2">&#160;</td></tr>
  211. <tr class="memitem:a2398fb37a7a9d5e0dc0ffde6a44a993d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file_system.html#a2398fb37a7a9d5e0dc0ffde6a44a993d">ls</a> (uint8_t flags=0)</td></tr>
  212. <tr class="separator:a2398fb37a7a9d5e0dc0ffde6a44a993d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  213. <tr class="memitem:a122b61dbec5051304bcc81bc08b1b99d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file_system.html#a122b61dbec5051304bcc81bc08b1b99d">ls</a> (const char *path, uint8_t flags=0)</td></tr>
  214. <tr class="separator:a122b61dbec5051304bcc81bc08b1b99d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  215. <tr class="memitem:ae12fb8bfad5c4a8e052dda70a5a0ed93"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file_system.html#ae12fb8bfad5c4a8e052dda70a5a0ed93">ls</a> (<a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr, uint8_t flags=0)</td></tr>
  216. <tr class="separator:ae12fb8bfad5c4a8e052dda70a5a0ed93"><td class="memSeparator" colspan="2">&#160;</td></tr>
  217. <tr class="memitem:aa79695db8e910300507210b3067d39fd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file_system.html#aa79695db8e910300507210b3067d39fd">ls</a> (<a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr, const char *path, uint8_t flags)</td></tr>
  218. <tr class="separator:aa79695db8e910300507210b3067d39fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  219. <tr class="memitem:a231c62c98ba8ac3c2624dc5ad2053ebf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file_system.html#a231c62c98ba8ac3c2624dc5ad2053ebf">mkdir</a> (const char *path, bool pFlag=true)</td></tr>
  220. <tr class="separator:a231c62c98ba8ac3c2624dc5ad2053ebf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  221. <tr class="memitem:a947e4586077a922892b632edac33b67a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_file.html">File</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file_system.html#a947e4586077a922892b632edac33b67a">open</a> (const char *path, uint8_t mode=<a class="el" href="_arduino_files_8h.html#ad52d51659a75e25d96fb04d22ff718cb">FILE_READ</a>)</td></tr>
  222. <tr class="separator:a947e4586077a922892b632edac33b67a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  223. <tr class="memitem:a0abfb1f754a8fb559cfa884ee040f56f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_file.html">File</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file_system.html#a0abfb1f754a8fb559cfa884ee040f56f">open</a> (const String &amp;path, uint8_t mode=<a class="el" href="_arduino_files_8h.html#ad52d51659a75e25d96fb04d22ff718cb">FILE_READ</a>)</td></tr>
  224. <tr class="separator:a0abfb1f754a8fb559cfa884ee040f56f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  225. <tr class="memitem:abf7d7d0dab43083d5be10d70ff4669e4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file_system.html#abf7d7d0dab43083d5be10d70ff4669e4">remove</a> (const char *path)</td></tr>
  226. <tr class="separator:abf7d7d0dab43083d5be10d70ff4669e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  227. <tr class="memitem:a0187891a24017b41bd7c5ba63e659e65"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file_system.html#a0187891a24017b41bd7c5ba63e659e65">rename</a> (const char *oldPath, const char *newPath)</td></tr>
  228. <tr class="separator:a0187891a24017b41bd7c5ba63e659e65"><td class="memSeparator" colspan="2">&#160;</td></tr>
  229. <tr class="memitem:aaed2edc7ff7fedb163458c870bb41b33"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file_system.html#aaed2edc7ff7fedb163458c870bb41b33">rmdir</a> (const char *path)</td></tr>
  230. <tr class="separator:aaed2edc7ff7fedb163458c870bb41b33"><td class="memSeparator" colspan="2">&#160;</td></tr>
  231. <tr class="memitem:ab2d483670a0a6a6a4754b23614fe11bc"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_volume.html#ab2d483670a0a6a6a4754b23614fe11bc">rootDirEntryCount</a> () const </td></tr>
  232. <tr class="separator:ab2d483670a0a6a6a4754b23614fe11bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  233. <tr class="memitem:ae9363ebbbae90e895ea56e8fa3f60c13"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_volume.html#ae9363ebbbae90e895ea56e8fa3f60c13">rootDirStart</a> () const </td></tr>
  234. <tr class="separator:ae9363ebbbae90e895ea56e8fa3f60c13"><td class="memSeparator" colspan="2">&#160;</td></tr>
  235. <tr class="memitem:ad60cb13557f35578f868e03e9ccb8be1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file_system.html#ad60cb13557f35578f868e03e9ccb8be1">truncate</a> (const char *path, uint32_t length)</td></tr>
  236. <tr class="separator:ad60cb13557f35578f868e03e9ccb8be1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  237. <tr class="memitem:a4ca68fe47bb675df0a80df1ed7a53698"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_fat_volume.html">FatVolume</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file_system.html#a4ca68fe47bb675df0a80df1ed7a53698">vol</a> ()</td></tr>
  238. <tr class="separator:a4ca68fe47bb675df0a80df1ed7a53698"><td class="memSeparator" colspan="2">&#160;</td></tr>
  239. <tr class="memitem:a07bc98088ce4a9c725700899c184f7fc"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_volume.html#a07bc98088ce4a9c725700899c184f7fc">volumeBlockCount</a> () const </td></tr>
  240. <tr class="separator:a07bc98088ce4a9c725700899c184f7fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  241. <tr class="memitem:acf257d02b7166683bda2abc5058004bf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_fat_file.html">FatFile</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file_system.html#acf257d02b7166683bda2abc5058004bf">vwd</a> ()</td></tr>
  242. <tr class="separator:acf257d02b7166683bda2abc5058004bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  243. <tr class="memitem:a36d7831f92acfbfef1c4a24dd7103dc4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file_system.html#a36d7831f92acfbfef1c4a24dd7103dc4">wipe</a> (<a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr=0)</td></tr>
  244. <tr class="separator:a36d7831f92acfbfef1c4a24dd7103dc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  245. </table>
  246. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  247. <div class="textblock"><p><a class="el" href="class_sd_fat.html" title="Main file system class for SdFat library. ">SdFat</a> class using SDIO. </p>
  248. </div><h2 class="groupheader">Member Function Documentation</h2>
  249. <a class="anchor" id="a5dda20d3dcbfc8c641babbb2c9aac382"></a>
  250. <div class="memitem">
  251. <div class="memproto">
  252. <table class="mlabels">
  253. <tr>
  254. <td class="mlabels-left">
  255. <table class="memname">
  256. <tr>
  257. <td class="memname">bool FatFileSystem::begin </td>
  258. <td>(</td>
  259. <td class="paramtype"><a class="el" href="_block_driver_8h.html#ace97f2377acdc471a01f9f7ec1fd6bbb">BlockDriver</a> *&#160;</td>
  260. <td class="paramname"><em>blockDev</em>, </td>
  261. </tr>
  262. <tr>
  263. <td class="paramkey"></td>
  264. <td></td>
  265. <td class="paramtype">uint8_t&#160;</td>
  266. <td class="paramname"><em>part</em> = <code>0</code>&#160;</td>
  267. </tr>
  268. <tr>
  269. <td></td>
  270. <td>)</td>
  271. <td></td><td></td>
  272. </tr>
  273. </table>
  274. </td>
  275. <td class="mlabels-right">
  276. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  277. </tr>
  278. </table>
  279. </div><div class="memdoc">
  280. <p>Initialize an <a class="el" href="class_fat_file_system.html" title="Integration class for the FatLib library. ">FatFileSystem</a> object. </p><dl class="params"><dt>Parameters</dt><dd>
  281. <table class="params">
  282. <tr><td class="paramdir">[in]</td><td class="paramname">blockDev</td><td>Device block driver. </td></tr>
  283. <tr><td class="paramdir">[in]</td><td class="paramname">part</td><td>partition to initialize. </td></tr>
  284. </table>
  285. </dd>
  286. </dl>
  287. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  288. </div>
  289. </div>
  290. <a class="anchor" id="ac742b37bd8f2f4eb4df44b37c98398e0"></a>
  291. <div class="memitem">
  292. <div class="memproto">
  293. <table class="mlabels">
  294. <tr>
  295. <td class="mlabels-left">
  296. <table class="memname">
  297. <tr>
  298. <td class="memname">bool SdFatSdio::begin </td>
  299. <td>(</td>
  300. <td class="paramname"></td><td>)</td>
  301. <td></td>
  302. </tr>
  303. </table>
  304. </td>
  305. <td class="mlabels-right">
  306. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  307. </tr>
  308. </table>
  309. </div><div class="memdoc">
  310. <p>Initialize SD card and file system. </p><dl class="section return"><dt>Returns</dt><dd>true for success else false. </dd></dl>
  311. </div>
  312. </div>
  313. <a class="anchor" id="a06beed4cea5e38116b58254a57125442"></a>
  314. <div class="memitem">
  315. <div class="memproto">
  316. <table class="mlabels">
  317. <tr>
  318. <td class="mlabels-left">
  319. <table class="memname">
  320. <tr>
  321. <td class="memname">uint8_t FatVolume::blocksPerCluster </td>
  322. <td>(</td>
  323. <td class="paramname"></td><td>)</td>
  324. <td> const</td>
  325. </tr>
  326. </table>
  327. </td>
  328. <td class="mlabels-right">
  329. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  330. </tr>
  331. </table>
  332. </div><div class="memdoc">
  333. <dl class="section return"><dt>Returns</dt><dd>The volume's cluster size in blocks. </dd></dl>
  334. </div>
  335. </div>
  336. <a class="anchor" id="abc66d856d05198d9ebe7104c8c4155d7"></a>
  337. <div class="memitem">
  338. <div class="memproto">
  339. <table class="mlabels">
  340. <tr>
  341. <td class="mlabels-left">
  342. <table class="memname">
  343. <tr>
  344. <td class="memname">uint32_t FatVolume::blocksPerFat </td>
  345. <td>(</td>
  346. <td class="paramname"></td><td>)</td>
  347. <td> const</td>
  348. </tr>
  349. </table>
  350. </td>
  351. <td class="mlabels-right">
  352. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  353. </tr>
  354. </table>
  355. </div><div class="memdoc">
  356. <dl class="section return"><dt>Returns</dt><dd>The number of blocks in one FAT. </dd></dl>
  357. </div>
  358. </div>
  359. <a class="anchor" id="aa1e3b1d0c21d202deb82668068ab00e8"></a>
  360. <div class="memitem">
  361. <div class="memproto">
  362. <table class="mlabels">
  363. <tr>
  364. <td class="mlabels-left">
  365. <table class="memname">
  366. <tr>
  367. <td class="memname"><a class="el" href="unioncache__t.html">cache_t</a>* FatVolume::cacheClear </td>
  368. <td>(</td>
  369. <td class="paramname"></td><td>)</td>
  370. <td></td>
  371. </tr>
  372. </table>
  373. </td>
  374. <td class="mlabels-right">
  375. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  376. </tr>
  377. </table>
  378. </div><div class="memdoc">
  379. <p>Clear the cache and returns a pointer to the cache. Not for normal apps. </p><dl class="section return"><dt>Returns</dt><dd>A pointer to the cache buffer or zero if an error occurs. </dd></dl>
  380. </div>
  381. </div>
  382. <a class="anchor" id="ab5dcfbeeb7caa38a38db86003341eb07"></a>
  383. <div class="memitem">
  384. <div class="memproto">
  385. <table class="mlabels">
  386. <tr>
  387. <td class="mlabels-left">
  388. <table class="memname">
  389. <tr>
  390. <td class="memname"><a class="el" href="class_sdio_card.html">SdioCard</a> * <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::card </td>
  391. <td>(</td>
  392. <td class="paramname"></td><td>)</td>
  393. <td></td>
  394. </tr>
  395. </table>
  396. </td>
  397. <td class="mlabels-right">
  398. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  399. </tr>
  400. </table>
  401. </div><div class="memdoc">
  402. <dl class="section return"><dt>Returns</dt><dd>Pointer to SD card object </dd></dl>
  403. </div>
  404. </div>
  405. <a class="anchor" id="ac49062cc8fb2a42564d0ff05b4c0be8b"></a>
  406. <div class="memitem">
  407. <div class="memproto">
  408. <table class="mlabels">
  409. <tr>
  410. <td class="mlabels-left">
  411. <table class="memname">
  412. <tr>
  413. <td class="memname">bool SdFatSdio::cardBegin </td>
  414. <td>(</td>
  415. <td class="paramname"></td><td>)</td>
  416. <td></td>
  417. </tr>
  418. </table>
  419. </td>
  420. <td class="mlabels-right">
  421. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  422. </tr>
  423. </table>
  424. </div><div class="memdoc">
  425. <p>Initialize SD card for diagnostic use only.</p>
  426. <dl class="section return"><dt>Returns</dt><dd>true for success else false. </dd></dl>
  427. </div>
  428. </div>
  429. <a class="anchor" id="aedfd5a0830c955bc5514e52f2f2dd066"></a>
  430. <div class="memitem">
  431. <div class="memproto">
  432. <table class="mlabels">
  433. <tr>
  434. <td class="mlabels-left">
  435. <table class="memname">
  436. <tr>
  437. <td class="memname">uint8_t <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::cardErrorCode </td>
  438. <td>(</td>
  439. <td class="paramname"></td><td>)</td>
  440. <td></td>
  441. </tr>
  442. </table>
  443. </td>
  444. <td class="mlabels-right">
  445. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  446. </tr>
  447. </table>
  448. </div><div class="memdoc">
  449. <dl class="section return"><dt>Returns</dt><dd>The card error code </dd></dl>
  450. </div>
  451. </div>
  452. <a class="anchor" id="a0602ab3c04ea33293649f0a15fc81e05"></a>
  453. <div class="memitem">
  454. <div class="memproto">
  455. <table class="mlabels">
  456. <tr>
  457. <td class="mlabels-left">
  458. <table class="memname">
  459. <tr>
  460. <td class="memname">uint32_t <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::cardErrorData </td>
  461. <td>(</td>
  462. <td class="paramname"></td><td>)</td>
  463. <td></td>
  464. </tr>
  465. </table>
  466. </td>
  467. <td class="mlabels-right">
  468. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  469. </tr>
  470. </table>
  471. </div><div class="memdoc">
  472. <dl class="section return"><dt>Returns</dt><dd>the card error data </dd></dl>
  473. </div>
  474. </div>
  475. <a class="anchor" id="a5667915e63187a43a71dfada63800865"></a>
  476. <div class="memitem">
  477. <div class="memproto">
  478. <table class="mlabels">
  479. <tr>
  480. <td class="mlabels-left">
  481. <table class="memname">
  482. <tr>
  483. <td class="memname">bool FatFileSystem::chdir </td>
  484. <td>(</td>
  485. <td class="paramtype">bool&#160;</td>
  486. <td class="paramname"><em>set_cwd</em> = <code>false</code></td><td>)</td>
  487. <td></td>
  488. </tr>
  489. </table>
  490. </td>
  491. <td class="mlabels-right">
  492. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  493. </tr>
  494. </table>
  495. </div><div class="memdoc">
  496. <p>Change a volume's working directory to root</p>
  497. <p>Changes the volume's working directory to the SD's root directory. Optionally set the current working directory to the volume's working directory.</p>
  498. <dl class="params"><dt>Parameters</dt><dd>
  499. <table class="params">
  500. <tr><td class="paramdir">[in]</td><td class="paramname">set_cwd</td><td>Set the current working directory to this volume's working directory if true.</td></tr>
  501. </table>
  502. </dd>
  503. </dl>
  504. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  505. </div>
  506. </div>
  507. <a class="anchor" id="a44af1b98e8d986d12107b654453acbc4"></a>
  508. <div class="memitem">
  509. <div class="memproto">
  510. <table class="mlabels">
  511. <tr>
  512. <td class="mlabels-left">
  513. <table class="memname">
  514. <tr>
  515. <td class="memname">bool FatFileSystem::chdir </td>
  516. <td>(</td>
  517. <td class="paramtype">const char *&#160;</td>
  518. <td class="paramname"><em>path</em>, </td>
  519. </tr>
  520. <tr>
  521. <td class="paramkey"></td>
  522. <td></td>
  523. <td class="paramtype">bool&#160;</td>
  524. <td class="paramname"><em>set_cwd</em> = <code>false</code>&#160;</td>
  525. </tr>
  526. <tr>
  527. <td></td>
  528. <td>)</td>
  529. <td></td><td></td>
  530. </tr>
  531. </table>
  532. </td>
  533. <td class="mlabels-right">
  534. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  535. </tr>
  536. </table>
  537. </div><div class="memdoc">
  538. <p>Change a volume's working directory</p>
  539. <p>Changes the volume working directory to the <em>path</em> subdirectory. Optionally set the current working directory to the volume's working directory.</p>
  540. <p>Example: If the volume's working directory is "/DIR", chdir("SUB") will change the volume's working directory from "/DIR" to "/DIR/SUB".</p>
  541. <p>If path is "/", the volume's working directory will be changed to the root directory</p>
  542. <dl class="params"><dt>Parameters</dt><dd>
  543. <table class="params">
  544. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>The name of the subdirectory.</td></tr>
  545. <tr><td class="paramdir">[in]</td><td class="paramname">set_cwd</td><td>Set the current working directory to this volume's working directory if true.</td></tr>
  546. </table>
  547. </dd>
  548. </dl>
  549. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  550. </div>
  551. </div>
  552. <a class="anchor" id="af24917d6e00c8766dab168eb834047ec"></a>
  553. <div class="memitem">
  554. <div class="memproto">
  555. <table class="mlabels">
  556. <tr>
  557. <td class="mlabels-left">
  558. <table class="memname">
  559. <tr>
  560. <td class="memname">void FatFileSystem::chvol </td>
  561. <td>(</td>
  562. <td class="paramname"></td><td>)</td>
  563. <td></td>
  564. </tr>
  565. </table>
  566. </td>
  567. <td class="mlabels-right">
  568. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  569. </tr>
  570. </table>
  571. </div><div class="memdoc">
  572. <p>Set the current working directory to a volume's working directory.</p>
  573. <p>This is useful with multiple SD cards.</p>
  574. <p>The current working directory is changed to this volume's working directory.</p>
  575. <p>This is like the Windows/DOS &lt;drive letter&gt;: command. </p>
  576. </div>
  577. </div>
  578. <a class="anchor" id="a18446a9c5924304fa7a87d5f03ccaf21"></a>
  579. <div class="memitem">
  580. <div class="memproto">
  581. <table class="mlabels">
  582. <tr>
  583. <td class="mlabels-left">
  584. <table class="memname">
  585. <tr>
  586. <td class="memname">uint32_t FatVolume::clusterCount </td>
  587. <td>(</td>
  588. <td class="paramname"></td><td>)</td>
  589. <td> const</td>
  590. </tr>
  591. </table>
  592. </td>
  593. <td class="mlabels-right">
  594. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  595. </tr>
  596. </table>
  597. </div><div class="memdoc">
  598. <dl class="section return"><dt>Returns</dt><dd>The total number of clusters in the volume. </dd></dl>
  599. </div>
  600. </div>
  601. <a class="anchor" id="ac0e63f33d71d5dc95a602834274def6a"></a>
  602. <div class="memitem">
  603. <div class="memproto">
  604. <table class="mlabels">
  605. <tr>
  606. <td class="mlabels-left">
  607. <table class="memname">
  608. <tr>
  609. <td class="memname">uint8_t FatVolume::clusterSizeShift </td>
  610. <td>(</td>
  611. <td class="paramname"></td><td>)</td>
  612. <td> const</td>
  613. </tr>
  614. </table>
  615. </td>
  616. <td class="mlabels-right">
  617. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  618. </tr>
  619. </table>
  620. </div><div class="memdoc">
  621. <dl class="section return"><dt>Returns</dt><dd>The shift count required to multiply by blocksPerCluster. </dd></dl>
  622. </div>
  623. </div>
  624. <a class="anchor" id="a443364af257c219f8e908d5b073d8fa3"></a>
  625. <div class="memitem">
  626. <div class="memproto">
  627. <table class="mlabels">
  628. <tr>
  629. <td class="mlabels-left">
  630. <table class="memname">
  631. <tr>
  632. <td class="memname">uint32_t FatVolume::dataStartBlock </td>
  633. <td>(</td>
  634. <td class="paramname"></td><td>)</td>
  635. <td> const</td>
  636. </tr>
  637. </table>
  638. </td>
  639. <td class="mlabels-right">
  640. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  641. </tr>
  642. </table>
  643. </div><div class="memdoc">
  644. <dl class="section return"><dt>Returns</dt><dd>The logical block number for the start of file data. </dd></dl>
  645. </div>
  646. </div>
  647. <a class="anchor" id="a25c6311b70fa274b3be94ff25fdebba7"></a>
  648. <div class="memitem">
  649. <div class="memproto">
  650. <table class="mlabels">
  651. <tr>
  652. <td class="mlabels-left">
  653. <table class="memname">
  654. <tr>
  655. <td class="memname">int8_t FatVolume::dbgFat </td>
  656. <td>(</td>
  657. <td class="paramtype">uint32_t&#160;</td>
  658. <td class="paramname"><em>n</em>, </td>
  659. </tr>
  660. <tr>
  661. <td class="paramkey"></td>
  662. <td></td>
  663. <td class="paramtype">uint32_t *&#160;</td>
  664. <td class="paramname"><em>v</em>&#160;</td>
  665. </tr>
  666. <tr>
  667. <td></td>
  668. <td>)</td>
  669. <td></td><td></td>
  670. </tr>
  671. </table>
  672. </td>
  673. <td class="mlabels-right">
  674. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  675. </tr>
  676. </table>
  677. </div><div class="memdoc">
  678. <p>Debug access to FAT table</p>
  679. <dl class="params"><dt>Parameters</dt><dd>
  680. <table class="params">
  681. <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>cluster number. </td></tr>
  682. <tr><td class="paramdir">[out]</td><td class="paramname">v</td><td>value of entry </td></tr>
  683. </table>
  684. </dd>
  685. </dl>
  686. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure </dd></dl>
  687. </div>
  688. </div>
  689. <a class="anchor" id="a855267374306bfee2df67642c99d4d18"></a>
  690. <div class="memitem">
  691. <div class="memproto">
  692. <table class="mlabels">
  693. <tr>
  694. <td class="mlabels-left">
  695. <table class="memname">
  696. <tr>
  697. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::errorHalt </td>
  698. <td>(</td>
  699. <td class="paramname"></td><td>)</td>
  700. <td></td>
  701. </tr>
  702. </table>
  703. </td>
  704. <td class="mlabels-right">
  705. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  706. </tr>
  707. </table>
  708. </div><div class="memdoc">
  709. <p>Print any SD error code to Serial and halt. </p>
  710. </div>
  711. </div>
  712. <a class="anchor" id="ae1f79a2974ebe134e70f898c32d97e98"></a>
  713. <div class="memitem">
  714. <div class="memproto">
  715. <table class="mlabels">
  716. <tr>
  717. <td class="mlabels-left">
  718. <table class="memname">
  719. <tr>
  720. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::errorHalt </td>
  721. <td>(</td>
  722. <td class="paramtype">Print *&#160;</td>
  723. <td class="paramname"><em>pr</em></td><td>)</td>
  724. <td></td>
  725. </tr>
  726. </table>
  727. </td>
  728. <td class="mlabels-right">
  729. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  730. </tr>
  731. </table>
  732. </div><div class="memdoc">
  733. <p>Print any SD error code and halt.</p>
  734. <dl class="params"><dt>Parameters</dt><dd>
  735. <table class="params">
  736. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print destination. </td></tr>
  737. </table>
  738. </dd>
  739. </dl>
  740. </div>
  741. </div>
  742. <a class="anchor" id="a32c20dfa6a8cb8af95f25847b19bdbca"></a>
  743. <div class="memitem">
  744. <div class="memproto">
  745. <table class="mlabels">
  746. <tr>
  747. <td class="mlabels-left">
  748. <table class="memname">
  749. <tr>
  750. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::errorHalt </td>
  751. <td>(</td>
  752. <td class="paramtype">char const *&#160;</td>
  753. <td class="paramname"><em>msg</em></td><td>)</td>
  754. <td></td>
  755. </tr>
  756. </table>
  757. </td>
  758. <td class="mlabels-right">
  759. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  760. </tr>
  761. </table>
  762. </div><div class="memdoc">
  763. <p>Print msg, any SD error code and halt.</p>
  764. <dl class="params"><dt>Parameters</dt><dd>
  765. <table class="params">
  766. <tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>Message to print. </td></tr>
  767. </table>
  768. </dd>
  769. </dl>
  770. </div>
  771. </div>
  772. <a class="anchor" id="a27fb329d6aee79a63c20386218ce7e9e"></a>
  773. <div class="memitem">
  774. <div class="memproto">
  775. <table class="mlabels">
  776. <tr>
  777. <td class="mlabels-left">
  778. <table class="memname">
  779. <tr>
  780. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::errorHalt </td>
  781. <td>(</td>
  782. <td class="paramtype">Print *&#160;</td>
  783. <td class="paramname"><em>pr</em>, </td>
  784. </tr>
  785. <tr>
  786. <td class="paramkey"></td>
  787. <td></td>
  788. <td class="paramtype">char const *&#160;</td>
  789. <td class="paramname"><em>msg</em>&#160;</td>
  790. </tr>
  791. <tr>
  792. <td></td>
  793. <td>)</td>
  794. <td></td><td></td>
  795. </tr>
  796. </table>
  797. </td>
  798. <td class="mlabels-right">
  799. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  800. </tr>
  801. </table>
  802. </div><div class="memdoc">
  803. <p>Print msg, any SD error code, and halt.</p>
  804. <dl class="params"><dt>Parameters</dt><dd>
  805. <table class="params">
  806. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print destination. </td></tr>
  807. <tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>Message to print. </td></tr>
  808. </table>
  809. </dd>
  810. </dl>
  811. </div>
  812. </div>
  813. <a class="anchor" id="af856494745a9842d9728dfeabf19c51e"></a>
  814. <div class="memitem">
  815. <div class="memproto">
  816. <table class="mlabels">
  817. <tr>
  818. <td class="mlabels-left">
  819. <table class="memname">
  820. <tr>
  821. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::errorHalt </td>
  822. <td>(</td>
  823. <td class="paramtype">const __FlashStringHelper *&#160;</td>
  824. <td class="paramname"><em>msg</em></td><td>)</td>
  825. <td></td>
  826. </tr>
  827. </table>
  828. </td>
  829. <td class="mlabels-right">
  830. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  831. </tr>
  832. </table>
  833. </div><div class="memdoc">
  834. <p>Print msg, any SD error code, and halt.</p>
  835. <dl class="params"><dt>Parameters</dt><dd>
  836. <table class="params">
  837. <tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>Message to print. </td></tr>
  838. </table>
  839. </dd>
  840. </dl>
  841. </div>
  842. </div>
  843. <a class="anchor" id="a746c80d048c30baf0b281e16932670a2"></a>
  844. <div class="memitem">
  845. <div class="memproto">
  846. <table class="mlabels">
  847. <tr>
  848. <td class="mlabels-left">
  849. <table class="memname">
  850. <tr>
  851. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::errorHalt </td>
  852. <td>(</td>
  853. <td class="paramtype">Print *&#160;</td>
  854. <td class="paramname"><em>pr</em>, </td>
  855. </tr>
  856. <tr>
  857. <td class="paramkey"></td>
  858. <td></td>
  859. <td class="paramtype">const __FlashStringHelper *&#160;</td>
  860. <td class="paramname"><em>msg</em>&#160;</td>
  861. </tr>
  862. <tr>
  863. <td></td>
  864. <td>)</td>
  865. <td></td><td></td>
  866. </tr>
  867. </table>
  868. </td>
  869. <td class="mlabels-right">
  870. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  871. </tr>
  872. </table>
  873. </div><div class="memdoc">
  874. <p>Print msg, any SD error code, and halt.</p>
  875. <dl class="params"><dt>Parameters</dt><dd>
  876. <table class="params">
  877. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print destination. </td></tr>
  878. <tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>Message to print. </td></tr>
  879. </table>
  880. </dd>
  881. </dl>
  882. </div>
  883. </div>
  884. <a class="anchor" id="ab0b78154d6874c29279ba81f36ccb09c"></a>
  885. <div class="memitem">
  886. <div class="memproto">
  887. <table class="mlabels">
  888. <tr>
  889. <td class="mlabels-left">
  890. <table class="memname">
  891. <tr>
  892. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::errorPrint </td>
  893. <td>(</td>
  894. <td class="paramname"></td><td>)</td>
  895. <td></td>
  896. </tr>
  897. </table>
  898. </td>
  899. <td class="mlabels-right">
  900. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  901. </tr>
  902. </table>
  903. </div><div class="memdoc">
  904. <p>Print any SD error code to Serial </p>
  905. </div>
  906. </div>
  907. <a class="anchor" id="a03736274debea71fef5e2ff34d7ec3dc"></a>
  908. <div class="memitem">
  909. <div class="memproto">
  910. <table class="mlabels">
  911. <tr>
  912. <td class="mlabels-left">
  913. <table class="memname">
  914. <tr>
  915. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::errorPrint </td>
  916. <td>(</td>
  917. <td class="paramtype">Print *&#160;</td>
  918. <td class="paramname"><em>pr</em></td><td>)</td>
  919. <td></td>
  920. </tr>
  921. </table>
  922. </td>
  923. <td class="mlabels-right">
  924. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  925. </tr>
  926. </table>
  927. </div><div class="memdoc">
  928. <p>Print any SD error code. </p><dl class="params"><dt>Parameters</dt><dd>
  929. <table class="params">
  930. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print device. </td></tr>
  931. </table>
  932. </dd>
  933. </dl>
  934. </div>
  935. </div>
  936. <a class="anchor" id="a2e2436b7b2666737cbaf4b22218bc69f"></a>
  937. <div class="memitem">
  938. <div class="memproto">
  939. <table class="mlabels">
  940. <tr>
  941. <td class="mlabels-left">
  942. <table class="memname">
  943. <tr>
  944. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::errorPrint </td>
  945. <td>(</td>
  946. <td class="paramtype">const char *&#160;</td>
  947. <td class="paramname"><em>msg</em></td><td>)</td>
  948. <td></td>
  949. </tr>
  950. </table>
  951. </td>
  952. <td class="mlabels-right">
  953. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  954. </tr>
  955. </table>
  956. </div><div class="memdoc">
  957. <p>Print msg, any SD error code.</p>
  958. <dl class="params"><dt>Parameters</dt><dd>
  959. <table class="params">
  960. <tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>Message to print. </td></tr>
  961. </table>
  962. </dd>
  963. </dl>
  964. </div>
  965. </div>
  966. <a class="anchor" id="a0eb6b92a0700ba932f6127962981d153"></a>
  967. <div class="memitem">
  968. <div class="memproto">
  969. <table class="mlabels">
  970. <tr>
  971. <td class="mlabels-left">
  972. <table class="memname">
  973. <tr>
  974. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::errorPrint </td>
  975. <td>(</td>
  976. <td class="paramtype">Print *&#160;</td>
  977. <td class="paramname"><em>pr</em>, </td>
  978. </tr>
  979. <tr>
  980. <td class="paramkey"></td>
  981. <td></td>
  982. <td class="paramtype">char const *&#160;</td>
  983. <td class="paramname"><em>msg</em>&#160;</td>
  984. </tr>
  985. <tr>
  986. <td></td>
  987. <td>)</td>
  988. <td></td><td></td>
  989. </tr>
  990. </table>
  991. </td>
  992. <td class="mlabels-right">
  993. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  994. </tr>
  995. </table>
  996. </div><div class="memdoc">
  997. <p>Print msg, any SD error code.</p>
  998. <dl class="params"><dt>Parameters</dt><dd>
  999. <table class="params">
  1000. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print destination. </td></tr>
  1001. <tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>Message to print. </td></tr>
  1002. </table>
  1003. </dd>
  1004. </dl>
  1005. </div>
  1006. </div>
  1007. <a class="anchor" id="a1ccb1f937f42e9c1331c942bc357f6da"></a>
  1008. <div class="memitem">
  1009. <div class="memproto">
  1010. <table class="mlabels">
  1011. <tr>
  1012. <td class="mlabels-left">
  1013. <table class="memname">
  1014. <tr>
  1015. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::errorPrint </td>
  1016. <td>(</td>
  1017. <td class="paramtype">const __FlashStringHelper *&#160;</td>
  1018. <td class="paramname"><em>msg</em></td><td>)</td>
  1019. <td></td>
  1020. </tr>
  1021. </table>
  1022. </td>
  1023. <td class="mlabels-right">
  1024. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1025. </tr>
  1026. </table>
  1027. </div><div class="memdoc">
  1028. <p>Print msg, any SD error code.</p>
  1029. <dl class="params"><dt>Parameters</dt><dd>
  1030. <table class="params">
  1031. <tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>Message to print. </td></tr>
  1032. </table>
  1033. </dd>
  1034. </dl>
  1035. </div>
  1036. </div>
  1037. <a class="anchor" id="a43344a079d9af92ea4b550914d0512f6"></a>
  1038. <div class="memitem">
  1039. <div class="memproto">
  1040. <table class="mlabels">
  1041. <tr>
  1042. <td class="mlabels-left">
  1043. <table class="memname">
  1044. <tr>
  1045. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::errorPrint </td>
  1046. <td>(</td>
  1047. <td class="paramtype">Print *&#160;</td>
  1048. <td class="paramname"><em>pr</em>, </td>
  1049. </tr>
  1050. <tr>
  1051. <td class="paramkey"></td>
  1052. <td></td>
  1053. <td class="paramtype">const __FlashStringHelper *&#160;</td>
  1054. <td class="paramname"><em>msg</em>&#160;</td>
  1055. </tr>
  1056. <tr>
  1057. <td></td>
  1058. <td>)</td>
  1059. <td></td><td></td>
  1060. </tr>
  1061. </table>
  1062. </td>
  1063. <td class="mlabels-right">
  1064. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1065. </tr>
  1066. </table>
  1067. </div><div class="memdoc">
  1068. <p>Print msg, any SD error code.</p>
  1069. <dl class="params"><dt>Parameters</dt><dd>
  1070. <table class="params">
  1071. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print destination. </td></tr>
  1072. <tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>Message to print. </td></tr>
  1073. </table>
  1074. </dd>
  1075. </dl>
  1076. </div>
  1077. </div>
  1078. <a class="anchor" id="aee58c6352652f216577196e32a594b67"></a>
  1079. <div class="memitem">
  1080. <div class="memproto">
  1081. <table class="mlabels">
  1082. <tr>
  1083. <td class="mlabels-left">
  1084. <table class="memname">
  1085. <tr>
  1086. <td class="memname">bool FatFileSystem::exists </td>
  1087. <td>(</td>
  1088. <td class="paramtype">const char *&#160;</td>
  1089. <td class="paramname"><em>path</em></td><td>)</td>
  1090. <td></td>
  1091. </tr>
  1092. </table>
  1093. </td>
  1094. <td class="mlabels-right">
  1095. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1096. </tr>
  1097. </table>
  1098. </div><div class="memdoc">
  1099. <p>Test for the existence of a file.</p>
  1100. <dl class="params"><dt>Parameters</dt><dd>
  1101. <table class="params">
  1102. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>Path of the file to be tested for.</td></tr>
  1103. </table>
  1104. </dd>
  1105. </dl>
  1106. <dl class="section return"><dt>Returns</dt><dd>true if the file exists else false. </dd></dl>
  1107. </div>
  1108. </div>
  1109. <a class="anchor" id="acdedc6a200b01e401c9cd9b511eae6ec"></a>
  1110. <div class="memitem">
  1111. <div class="memproto">
  1112. <table class="mlabels">
  1113. <tr>
  1114. <td class="mlabels-left">
  1115. <table class="memname">
  1116. <tr>
  1117. <td class="memname">uint8_t FatVolume::fatCount </td>
  1118. <td>(</td>
  1119. <td class="paramname"></td><td>)</td>
  1120. <td></td>
  1121. </tr>
  1122. </table>
  1123. </td>
  1124. <td class="mlabels-right">
  1125. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1126. </tr>
  1127. </table>
  1128. </div><div class="memdoc">
  1129. <dl class="section return"><dt>Returns</dt><dd>The number of <a class="el" href="class_file.html" title="Arduino SD.h style File API. ">File</a> Allocation Tables. </dd></dl>
  1130. </div>
  1131. </div>
  1132. <a class="anchor" id="a0dd0cc689b63ef0702aed1cf36b1722d"></a>
  1133. <div class="memitem">
  1134. <div class="memproto">
  1135. <table class="mlabels">
  1136. <tr>
  1137. <td class="mlabels-left">
  1138. <table class="memname">
  1139. <tr>
  1140. <td class="memname">uint32_t FatVolume::fatStartBlock </td>
  1141. <td>(</td>
  1142. <td class="paramname"></td><td>)</td>
  1143. <td> const</td>
  1144. </tr>
  1145. </table>
  1146. </td>
  1147. <td class="mlabels-right">
  1148. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1149. </tr>
  1150. </table>
  1151. </div><div class="memdoc">
  1152. <dl class="section return"><dt>Returns</dt><dd>The logical block number for the start of the first FAT. </dd></dl>
  1153. </div>
  1154. </div>
  1155. <a class="anchor" id="a1364f11fe9bb4717ce0685e2b7b86027"></a>
  1156. <div class="memitem">
  1157. <div class="memproto">
  1158. <table class="mlabels">
  1159. <tr>
  1160. <td class="mlabels-left">
  1161. <table class="memname">
  1162. <tr>
  1163. <td class="memname">uint8_t FatVolume::fatType </td>
  1164. <td>(</td>
  1165. <td class="paramname"></td><td>)</td>
  1166. <td> const</td>
  1167. </tr>
  1168. </table>
  1169. </td>
  1170. <td class="mlabels-right">
  1171. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1172. </tr>
  1173. </table>
  1174. </div><div class="memdoc">
  1175. <dl class="section return"><dt>Returns</dt><dd>The FAT type of the volume. Values are 12, 16 or 32. </dd></dl>
  1176. </div>
  1177. </div>
  1178. <a class="anchor" id="a1683b063fc6202ab85470b9610f16f93"></a>
  1179. <div class="memitem">
  1180. <div class="memproto">
  1181. <table class="mlabels">
  1182. <tr>
  1183. <td class="mlabels-left">
  1184. <table class="memname">
  1185. <tr>
  1186. <td class="memname">int32_t FatVolume::freeClusterCount </td>
  1187. <td>(</td>
  1188. <td class="paramname"></td><td>)</td>
  1189. <td></td>
  1190. </tr>
  1191. </table>
  1192. </td>
  1193. <td class="mlabels-right">
  1194. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1195. </tr>
  1196. </table>
  1197. </div><div class="memdoc">
  1198. <p>Volume free space in clusters.</p>
  1199. <dl class="section return"><dt>Returns</dt><dd>Count of free clusters for success or -1 if an error occurs. </dd></dl>
  1200. </div>
  1201. </div>
  1202. <a class="anchor" id="aac0e8d86182a0e0566c4671c15f3df61"></a>
  1203. <div class="memitem">
  1204. <div class="memproto">
  1205. <table class="mlabels">
  1206. <tr>
  1207. <td class="mlabels-left">
  1208. <table class="memname">
  1209. <tr>
  1210. <td class="memname">bool SdFatSdio::fsBegin </td>
  1211. <td>(</td>
  1212. <td class="paramname"></td><td>)</td>
  1213. <td></td>
  1214. </tr>
  1215. </table>
  1216. </td>
  1217. <td class="mlabels-right">
  1218. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1219. </tr>
  1220. </table>
  1221. </div><div class="memdoc">
  1222. <p>Initialize file system for diagnostic use only. </p><dl class="section return"><dt>Returns</dt><dd>true for success else false. </dd></dl>
  1223. </div>
  1224. </div>
  1225. <a class="anchor" id="acab819fa25a91dad1cc698a7e1e0eb32"></a>
  1226. <div class="memitem">
  1227. <div class="memproto">
  1228. <table class="mlabels">
  1229. <tr>
  1230. <td class="mlabels-left">
  1231. <table class="memname">
  1232. <tr>
  1233. <td class="memname">bool FatVolume::init </td>
  1234. <td>(</td>
  1235. <td class="paramname"></td><td>)</td>
  1236. <td></td>
  1237. </tr>
  1238. </table>
  1239. </td>
  1240. <td class="mlabels-right">
  1241. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1242. </tr>
  1243. </table>
  1244. </div><div class="memdoc">
  1245. <p>Initialize a FAT volume. Try partition one first then try super floppy format.</p>
  1246. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  1247. </div>
  1248. </div>
  1249. <a class="anchor" id="a034d997a1e7a0b2b664a4357bcccd256"></a>
  1250. <div class="memitem">
  1251. <div class="memproto">
  1252. <table class="mlabels">
  1253. <tr>
  1254. <td class="mlabels-left">
  1255. <table class="memname">
  1256. <tr>
  1257. <td class="memname">bool FatVolume::init </td>
  1258. <td>(</td>
  1259. <td class="paramtype">uint8_t&#160;</td>
  1260. <td class="paramname"><em>part</em></td><td>)</td>
  1261. <td></td>
  1262. </tr>
  1263. </table>
  1264. </td>
  1265. <td class="mlabels-right">
  1266. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1267. </tr>
  1268. </table>
  1269. </div><div class="memdoc">
  1270. <p>Initialize a FAT volume.</p>
  1271. <dl class="params"><dt>Parameters</dt><dd>
  1272. <table class="params">
  1273. <tr><td class="paramdir">[in]</td><td class="paramname">part</td><td>The partition to be used. Legal values for <em>part</em> are 1-4 to use the corresponding partition on a device formatted with a MBR, Master Boot Record, or zero if the device is formatted as a super floppy with the FAT boot sector in block zero.</td></tr>
  1274. </table>
  1275. </dd>
  1276. </dl>
  1277. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  1278. </div>
  1279. </div>
  1280. <a class="anchor" id="a8e1f26486bb878a24fa9868e59dbbbc2"></a>
  1281. <div class="memitem">
  1282. <div class="memproto">
  1283. <table class="mlabels">
  1284. <tr>
  1285. <td class="mlabels-left">
  1286. <table class="memname">
  1287. <tr>
  1288. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::initErrorHalt </td>
  1289. <td>(</td>
  1290. <td class="paramname"></td><td>)</td>
  1291. <td></td>
  1292. </tr>
  1293. </table>
  1294. </td>
  1295. <td class="mlabels-right">
  1296. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1297. </tr>
  1298. </table>
  1299. </div><div class="memdoc">
  1300. <p>Print any SD error code and halt. </p>
  1301. </div>
  1302. </div>
  1303. <a class="anchor" id="a24bd0f699cf0fe11fd2148b15c49251a"></a>
  1304. <div class="memitem">
  1305. <div class="memproto">
  1306. <table class="mlabels">
  1307. <tr>
  1308. <td class="mlabels-left">
  1309. <table class="memname">
  1310. <tr>
  1311. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::initErrorHalt </td>
  1312. <td>(</td>
  1313. <td class="paramtype">Print *&#160;</td>
  1314. <td class="paramname"><em>pr</em></td><td>)</td>
  1315. <td></td>
  1316. </tr>
  1317. </table>
  1318. </td>
  1319. <td class="mlabels-right">
  1320. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1321. </tr>
  1322. </table>
  1323. </div><div class="memdoc">
  1324. <p>Print error details and halt after begin fails.</p>
  1325. <dl class="params"><dt>Parameters</dt><dd>
  1326. <table class="params">
  1327. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print destination. </td></tr>
  1328. </table>
  1329. </dd>
  1330. </dl>
  1331. </div>
  1332. </div>
  1333. <a class="anchor" id="a893833a880e2a83757480ba4c1351041"></a>
  1334. <div class="memitem">
  1335. <div class="memproto">
  1336. <table class="mlabels">
  1337. <tr>
  1338. <td class="mlabels-left">
  1339. <table class="memname">
  1340. <tr>
  1341. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::initErrorHalt </td>
  1342. <td>(</td>
  1343. <td class="paramtype">char const *&#160;</td>
  1344. <td class="paramname"><em>msg</em></td><td>)</td>
  1345. <td></td>
  1346. </tr>
  1347. </table>
  1348. </td>
  1349. <td class="mlabels-right">
  1350. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1351. </tr>
  1352. </table>
  1353. </div><div class="memdoc">
  1354. <p>Print message, error details, and halt after <a class="el" href="class_sd_file_system.html#ad94237ef45c52698e97b04e8c131f21e">begin()</a> fails.</p>
  1355. <dl class="params"><dt>Parameters</dt><dd>
  1356. <table class="params">
  1357. <tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>Message to print. </td></tr>
  1358. </table>
  1359. </dd>
  1360. </dl>
  1361. </div>
  1362. </div>
  1363. <a class="anchor" id="a3077b1a53d789d0401b707963cb28f46"></a>
  1364. <div class="memitem">
  1365. <div class="memproto">
  1366. <table class="mlabels">
  1367. <tr>
  1368. <td class="mlabels-left">
  1369. <table class="memname">
  1370. <tr>
  1371. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::initErrorHalt </td>
  1372. <td>(</td>
  1373. <td class="paramtype">Print *&#160;</td>
  1374. <td class="paramname"><em>pr</em>, </td>
  1375. </tr>
  1376. <tr>
  1377. <td class="paramkey"></td>
  1378. <td></td>
  1379. <td class="paramtype">char const *&#160;</td>
  1380. <td class="paramname"><em>msg</em>&#160;</td>
  1381. </tr>
  1382. <tr>
  1383. <td></td>
  1384. <td>)</td>
  1385. <td></td><td></td>
  1386. </tr>
  1387. </table>
  1388. </td>
  1389. <td class="mlabels-right">
  1390. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1391. </tr>
  1392. </table>
  1393. </div><div class="memdoc">
  1394. <p>Print message, error details, and halt after <a class="el" href="class_sd_file_system.html#ad94237ef45c52698e97b04e8c131f21e">begin()</a> fails. </p><dl class="params"><dt>Parameters</dt><dd>
  1395. <table class="params">
  1396. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print device. </td></tr>
  1397. <tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>Message to print. </td></tr>
  1398. </table>
  1399. </dd>
  1400. </dl>
  1401. </div>
  1402. </div>
  1403. <a class="anchor" id="a2a1e4cc8056ba23b55dfa2c6486b8798"></a>
  1404. <div class="memitem">
  1405. <div class="memproto">
  1406. <table class="mlabels">
  1407. <tr>
  1408. <td class="mlabels-left">
  1409. <table class="memname">
  1410. <tr>
  1411. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::initErrorHalt </td>
  1412. <td>(</td>
  1413. <td class="paramtype">const __FlashStringHelper *&#160;</td>
  1414. <td class="paramname"><em>msg</em></td><td>)</td>
  1415. <td></td>
  1416. </tr>
  1417. </table>
  1418. </td>
  1419. <td class="mlabels-right">
  1420. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1421. </tr>
  1422. </table>
  1423. </div><div class="memdoc">
  1424. <p>Print message, error details, and halt after <a class="el" href="class_sd_file_system.html#ad94237ef45c52698e97b04e8c131f21e">begin()</a> fails.</p>
  1425. <dl class="params"><dt>Parameters</dt><dd>
  1426. <table class="params">
  1427. <tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>Message to print. </td></tr>
  1428. </table>
  1429. </dd>
  1430. </dl>
  1431. </div>
  1432. </div>
  1433. <a class="anchor" id="ab03d98012dea18733c3252f27832de69"></a>
  1434. <div class="memitem">
  1435. <div class="memproto">
  1436. <table class="mlabels">
  1437. <tr>
  1438. <td class="mlabels-left">
  1439. <table class="memname">
  1440. <tr>
  1441. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::initErrorHalt </td>
  1442. <td>(</td>
  1443. <td class="paramtype">Print *&#160;</td>
  1444. <td class="paramname"><em>pr</em>, </td>
  1445. </tr>
  1446. <tr>
  1447. <td class="paramkey"></td>
  1448. <td></td>
  1449. <td class="paramtype">const __FlashStringHelper *&#160;</td>
  1450. <td class="paramname"><em>msg</em>&#160;</td>
  1451. </tr>
  1452. <tr>
  1453. <td></td>
  1454. <td>)</td>
  1455. <td></td><td></td>
  1456. </tr>
  1457. </table>
  1458. </td>
  1459. <td class="mlabels-right">
  1460. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1461. </tr>
  1462. </table>
  1463. </div><div class="memdoc">
  1464. <p>Print message, error details, and halt after <a class="el" href="class_sd_file_system.html#ad94237ef45c52698e97b04e8c131f21e">begin()</a> fails. </p><dl class="params"><dt>Parameters</dt><dd>
  1465. <table class="params">
  1466. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print device for message. </td></tr>
  1467. <tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>Message to print. </td></tr>
  1468. </table>
  1469. </dd>
  1470. </dl>
  1471. </div>
  1472. </div>
  1473. <a class="anchor" id="ae31c9cbd7e1c03129d6c99b25f73cd50"></a>
  1474. <div class="memitem">
  1475. <div class="memproto">
  1476. <table class="mlabels">
  1477. <tr>
  1478. <td class="mlabels-left">
  1479. <table class="memname">
  1480. <tr>
  1481. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::initErrorPrint </td>
  1482. <td>(</td>
  1483. <td class="paramname"></td><td>)</td>
  1484. <td></td>
  1485. </tr>
  1486. </table>
  1487. </td>
  1488. <td class="mlabels-right">
  1489. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1490. </tr>
  1491. </table>
  1492. </div><div class="memdoc">
  1493. <p>Print error details after <a class="el" href="class_sd_file_system.html#ad94237ef45c52698e97b04e8c131f21e">begin()</a> fails. </p>
  1494. </div>
  1495. </div>
  1496. <a class="anchor" id="a066707dce0667213b5f083d59f67448d"></a>
  1497. <div class="memitem">
  1498. <div class="memproto">
  1499. <table class="mlabels">
  1500. <tr>
  1501. <td class="mlabels-left">
  1502. <table class="memname">
  1503. <tr>
  1504. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::initErrorPrint </td>
  1505. <td>(</td>
  1506. <td class="paramtype">Print *&#160;</td>
  1507. <td class="paramname"><em>pr</em></td><td>)</td>
  1508. <td></td>
  1509. </tr>
  1510. </table>
  1511. </td>
  1512. <td class="mlabels-right">
  1513. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1514. </tr>
  1515. </table>
  1516. </div><div class="memdoc">
  1517. <p>Print error details after <a class="el" href="class_sd_file_system.html#ad94237ef45c52698e97b04e8c131f21e">begin()</a> fails.</p>
  1518. <dl class="params"><dt>Parameters</dt><dd>
  1519. <table class="params">
  1520. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print destination. </td></tr>
  1521. </table>
  1522. </dd>
  1523. </dl>
  1524. </div>
  1525. </div>
  1526. <a class="anchor" id="a538796f79fd9db9c5bbeefd9defe639a"></a>
  1527. <div class="memitem">
  1528. <div class="memproto">
  1529. <table class="mlabels">
  1530. <tr>
  1531. <td class="mlabels-left">
  1532. <table class="memname">
  1533. <tr>
  1534. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::initErrorPrint </td>
  1535. <td>(</td>
  1536. <td class="paramtype">char const *&#160;</td>
  1537. <td class="paramname"><em>msg</em></td><td>)</td>
  1538. <td></td>
  1539. </tr>
  1540. </table>
  1541. </td>
  1542. <td class="mlabels-right">
  1543. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1544. </tr>
  1545. </table>
  1546. </div><div class="memdoc">
  1547. <p>Print message and error details and halt after <a class="el" href="class_sd_file_system.html#ad94237ef45c52698e97b04e8c131f21e">begin()</a> fails.</p>
  1548. <dl class="params"><dt>Parameters</dt><dd>
  1549. <table class="params">
  1550. <tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>Message to print. </td></tr>
  1551. </table>
  1552. </dd>
  1553. </dl>
  1554. </div>
  1555. </div>
  1556. <a class="anchor" id="ad9855d33ebd465715b706d0926291b13"></a>
  1557. <div class="memitem">
  1558. <div class="memproto">
  1559. <table class="mlabels">
  1560. <tr>
  1561. <td class="mlabels-left">
  1562. <table class="memname">
  1563. <tr>
  1564. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::initErrorPrint </td>
  1565. <td>(</td>
  1566. <td class="paramtype">Print *&#160;</td>
  1567. <td class="paramname"><em>pr</em>, </td>
  1568. </tr>
  1569. <tr>
  1570. <td class="paramkey"></td>
  1571. <td></td>
  1572. <td class="paramtype">char const *&#160;</td>
  1573. <td class="paramname"><em>msg</em>&#160;</td>
  1574. </tr>
  1575. <tr>
  1576. <td></td>
  1577. <td>)</td>
  1578. <td></td><td></td>
  1579. </tr>
  1580. </table>
  1581. </td>
  1582. <td class="mlabels-right">
  1583. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1584. </tr>
  1585. </table>
  1586. </div><div class="memdoc">
  1587. <p>Print message and error details and halt after <a class="el" href="class_sd_file_system.html#ad94237ef45c52698e97b04e8c131f21e">begin()</a> fails.</p>
  1588. <dl class="params"><dt>Parameters</dt><dd>
  1589. <table class="params">
  1590. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print destination. </td></tr>
  1591. <tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>Message to print. </td></tr>
  1592. </table>
  1593. </dd>
  1594. </dl>
  1595. </div>
  1596. </div>
  1597. <a class="anchor" id="ad6ffec5a7d82be46d46b8a4f82d0803b"></a>
  1598. <div class="memitem">
  1599. <div class="memproto">
  1600. <table class="mlabels">
  1601. <tr>
  1602. <td class="mlabels-left">
  1603. <table class="memname">
  1604. <tr>
  1605. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::initErrorPrint </td>
  1606. <td>(</td>
  1607. <td class="paramtype">const __FlashStringHelper *&#160;</td>
  1608. <td class="paramname"><em>msg</em></td><td>)</td>
  1609. <td></td>
  1610. </tr>
  1611. </table>
  1612. </td>
  1613. <td class="mlabels-right">
  1614. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1615. </tr>
  1616. </table>
  1617. </div><div class="memdoc">
  1618. <p>Print message and error details and halt after <a class="el" href="class_sd_file_system.html#ad94237ef45c52698e97b04e8c131f21e">begin()</a> fails.</p>
  1619. <dl class="params"><dt>Parameters</dt><dd>
  1620. <table class="params">
  1621. <tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>Message to print. </td></tr>
  1622. </table>
  1623. </dd>
  1624. </dl>
  1625. </div>
  1626. </div>
  1627. <a class="anchor" id="a8a2018b6366145a9843d3d29a47d6560"></a>
  1628. <div class="memitem">
  1629. <div class="memproto">
  1630. <table class="mlabels">
  1631. <tr>
  1632. <td class="mlabels-left">
  1633. <table class="memname">
  1634. <tr>
  1635. <td class="memname">void <a class="el" href="class_sd_file_system.html">SdFileSystem</a>&lt; <a class="el" href="class_sdio_card.html">SdioCard</a> &gt;::initErrorPrint </td>
  1636. <td>(</td>
  1637. <td class="paramtype">Print *&#160;</td>
  1638. <td class="paramname"><em>pr</em>, </td>
  1639. </tr>
  1640. <tr>
  1641. <td class="paramkey"></td>
  1642. <td></td>
  1643. <td class="paramtype">const __FlashStringHelper *&#160;</td>
  1644. <td class="paramname"><em>msg</em>&#160;</td>
  1645. </tr>
  1646. <tr>
  1647. <td></td>
  1648. <td>)</td>
  1649. <td></td><td></td>
  1650. </tr>
  1651. </table>
  1652. </td>
  1653. <td class="mlabels-right">
  1654. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1655. </tr>
  1656. </table>
  1657. </div><div class="memdoc">
  1658. <p>Print message and error details and halt after <a class="el" href="class_sd_file_system.html#ad94237ef45c52698e97b04e8c131f21e">begin()</a> fails.</p>
  1659. <dl class="params"><dt>Parameters</dt><dd>
  1660. <table class="params">
  1661. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print destination. </td></tr>
  1662. <tr><td class="paramdir">[in]</td><td class="paramname">msg</td><td>Message to print. </td></tr>
  1663. </table>
  1664. </dd>
  1665. </dl>
  1666. </div>
  1667. </div>
  1668. <a class="anchor" id="a2398fb37a7a9d5e0dc0ffde6a44a993d"></a>
  1669. <div class="memitem">
  1670. <div class="memproto">
  1671. <table class="mlabels">
  1672. <tr>
  1673. <td class="mlabels-left">
  1674. <table class="memname">
  1675. <tr>
  1676. <td class="memname">void FatFileSystem::ls </td>
  1677. <td>(</td>
  1678. <td class="paramtype">uint8_t&#160;</td>
  1679. <td class="paramname"><em>flags</em> = <code>0</code></td><td>)</td>
  1680. <td></td>
  1681. </tr>
  1682. </table>
  1683. </td>
  1684. <td class="mlabels-right">
  1685. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1686. </tr>
  1687. </table>
  1688. </div><div class="memdoc">
  1689. <p>List the directory contents of the volume working directory to Serial.</p>
  1690. <dl class="params"><dt>Parameters</dt><dd>
  1691. <table class="params">
  1692. <tr><td class="paramdir">[in]</td><td class="paramname">flags</td><td>The inclusive OR of</td></tr>
  1693. </table>
  1694. </dd>
  1695. </dl>
  1696. <p>LS_DATE - Print file modification date</p>
  1697. <p>LS_SIZE - Print file size.</p>
  1698. <p>LS_R - Recursive list of subdirectories. </p>
  1699. </div>
  1700. </div>
  1701. <a class="anchor" id="a122b61dbec5051304bcc81bc08b1b99d"></a>
  1702. <div class="memitem">
  1703. <div class="memproto">
  1704. <table class="mlabels">
  1705. <tr>
  1706. <td class="mlabels-left">
  1707. <table class="memname">
  1708. <tr>
  1709. <td class="memname">void FatFileSystem::ls </td>
  1710. <td>(</td>
  1711. <td class="paramtype">const char *&#160;</td>
  1712. <td class="paramname"><em>path</em>, </td>
  1713. </tr>
  1714. <tr>
  1715. <td class="paramkey"></td>
  1716. <td></td>
  1717. <td class="paramtype">uint8_t&#160;</td>
  1718. <td class="paramname"><em>flags</em> = <code>0</code>&#160;</td>
  1719. </tr>
  1720. <tr>
  1721. <td></td>
  1722. <td>)</td>
  1723. <td></td><td></td>
  1724. </tr>
  1725. </table>
  1726. </td>
  1727. <td class="mlabels-right">
  1728. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1729. </tr>
  1730. </table>
  1731. </div><div class="memdoc">
  1732. <p>List the directory contents of a directory to Serial.</p>
  1733. <dl class="params"><dt>Parameters</dt><dd>
  1734. <table class="params">
  1735. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>directory to list.</td></tr>
  1736. <tr><td class="paramdir">[in]</td><td class="paramname">flags</td><td>The inclusive OR of</td></tr>
  1737. </table>
  1738. </dd>
  1739. </dl>
  1740. <p>LS_DATE - Print file modification date</p>
  1741. <p>LS_SIZE - Print file size.</p>
  1742. <p>LS_R - Recursive list of subdirectories. </p>
  1743. </div>
  1744. </div>
  1745. <a class="anchor" id="ae12fb8bfad5c4a8e052dda70a5a0ed93"></a>
  1746. <div class="memitem">
  1747. <div class="memproto">
  1748. <table class="mlabels">
  1749. <tr>
  1750. <td class="mlabels-left">
  1751. <table class="memname">
  1752. <tr>
  1753. <td class="memname">void FatFileSystem::ls </td>
  1754. <td>(</td>
  1755. <td class="paramtype"><a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  1756. <td class="paramname"><em>pr</em>, </td>
  1757. </tr>
  1758. <tr>
  1759. <td class="paramkey"></td>
  1760. <td></td>
  1761. <td class="paramtype">uint8_t&#160;</td>
  1762. <td class="paramname"><em>flags</em> = <code>0</code>&#160;</td>
  1763. </tr>
  1764. <tr>
  1765. <td></td>
  1766. <td>)</td>
  1767. <td></td><td></td>
  1768. </tr>
  1769. </table>
  1770. </td>
  1771. <td class="mlabels-right">
  1772. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1773. </tr>
  1774. </table>
  1775. </div><div class="memdoc">
  1776. <p>List the directory contents of the volume working directory.</p>
  1777. <dl class="params"><dt>Parameters</dt><dd>
  1778. <table class="params">
  1779. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for list.</td></tr>
  1780. <tr><td class="paramdir">[in]</td><td class="paramname">flags</td><td>The inclusive OR of</td></tr>
  1781. </table>
  1782. </dd>
  1783. </dl>
  1784. <p>LS_DATE - Print file modification date</p>
  1785. <p>LS_SIZE - Print file size.</p>
  1786. <p>LS_R - Recursive list of subdirectories. </p>
  1787. </div>
  1788. </div>
  1789. <a class="anchor" id="aa79695db8e910300507210b3067d39fd"></a>
  1790. <div class="memitem">
  1791. <div class="memproto">
  1792. <table class="mlabels">
  1793. <tr>
  1794. <td class="mlabels-left">
  1795. <table class="memname">
  1796. <tr>
  1797. <td class="memname">void FatFileSystem::ls </td>
  1798. <td>(</td>
  1799. <td class="paramtype"><a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  1800. <td class="paramname"><em>pr</em>, </td>
  1801. </tr>
  1802. <tr>
  1803. <td class="paramkey"></td>
  1804. <td></td>
  1805. <td class="paramtype">const char *&#160;</td>
  1806. <td class="paramname"><em>path</em>, </td>
  1807. </tr>
  1808. <tr>
  1809. <td class="paramkey"></td>
  1810. <td></td>
  1811. <td class="paramtype">uint8_t&#160;</td>
  1812. <td class="paramname"><em>flags</em>&#160;</td>
  1813. </tr>
  1814. <tr>
  1815. <td></td>
  1816. <td>)</td>
  1817. <td></td><td></td>
  1818. </tr>
  1819. </table>
  1820. </td>
  1821. <td class="mlabels-right">
  1822. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1823. </tr>
  1824. </table>
  1825. </div><div class="memdoc">
  1826. <p>List the directory contents of a directory.</p>
  1827. <dl class="params"><dt>Parameters</dt><dd>
  1828. <table class="params">
  1829. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for list.</td></tr>
  1830. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>directory to list.</td></tr>
  1831. <tr><td class="paramdir">[in]</td><td class="paramname">flags</td><td>The inclusive OR of</td></tr>
  1832. </table>
  1833. </dd>
  1834. </dl>
  1835. <p>LS_DATE - Print file modification date</p>
  1836. <p>LS_SIZE - Print file size.</p>
  1837. <p>LS_R - Recursive list of subdirectories. </p>
  1838. </div>
  1839. </div>
  1840. <a class="anchor" id="a231c62c98ba8ac3c2624dc5ad2053ebf"></a>
  1841. <div class="memitem">
  1842. <div class="memproto">
  1843. <table class="mlabels">
  1844. <tr>
  1845. <td class="mlabels-left">
  1846. <table class="memname">
  1847. <tr>
  1848. <td class="memname">bool FatFileSystem::mkdir </td>
  1849. <td>(</td>
  1850. <td class="paramtype">const char *&#160;</td>
  1851. <td class="paramname"><em>path</em>, </td>
  1852. </tr>
  1853. <tr>
  1854. <td class="paramkey"></td>
  1855. <td></td>
  1856. <td class="paramtype">bool&#160;</td>
  1857. <td class="paramname"><em>pFlag</em> = <code>true</code>&#160;</td>
  1858. </tr>
  1859. <tr>
  1860. <td></td>
  1861. <td>)</td>
  1862. <td></td><td></td>
  1863. </tr>
  1864. </table>
  1865. </td>
  1866. <td class="mlabels-right">
  1867. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1868. </tr>
  1869. </table>
  1870. </div><div class="memdoc">
  1871. <p>Make a subdirectory in the volume working directory.</p>
  1872. <dl class="params"><dt>Parameters</dt><dd>
  1873. <table class="params">
  1874. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path with a valid 8.3 DOS name for the subdirectory.</td></tr>
  1875. <tr><td class="paramdir">[in]</td><td class="paramname">pFlag</td><td>Create missing parent directories if true.</td></tr>
  1876. </table>
  1877. </dd>
  1878. </dl>
  1879. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  1880. </div>
  1881. </div>
  1882. <a class="anchor" id="a947e4586077a922892b632edac33b67a"></a>
  1883. <div class="memitem">
  1884. <div class="memproto">
  1885. <table class="mlabels">
  1886. <tr>
  1887. <td class="mlabels-left">
  1888. <table class="memname">
  1889. <tr>
  1890. <td class="memname"><a class="el" href="class_file.html">File</a> FatFileSystem::open </td>
  1891. <td>(</td>
  1892. <td class="paramtype">const char *&#160;</td>
  1893. <td class="paramname"><em>path</em>, </td>
  1894. </tr>
  1895. <tr>
  1896. <td class="paramkey"></td>
  1897. <td></td>
  1898. <td class="paramtype">uint8_t&#160;</td>
  1899. <td class="paramname"><em>mode</em> = <code><a class="el" href="_arduino_files_8h.html#ad52d51659a75e25d96fb04d22ff718cb">FILE_READ</a></code>&#160;</td>
  1900. </tr>
  1901. <tr>
  1902. <td></td>
  1903. <td>)</td>
  1904. <td></td><td></td>
  1905. </tr>
  1906. </table>
  1907. </td>
  1908. <td class="mlabels-right">
  1909. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1910. </tr>
  1911. </table>
  1912. </div><div class="memdoc">
  1913. <p>open a file</p>
  1914. <dl class="params"><dt>Parameters</dt><dd>
  1915. <table class="params">
  1916. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>location of file to be opened. </td></tr>
  1917. <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>open mode flags. </td></tr>
  1918. </table>
  1919. </dd>
  1920. </dl>
  1921. <dl class="section return"><dt>Returns</dt><dd>a <a class="el" href="class_file.html" title="Arduino SD.h style File API. ">File</a> object. </dd></dl>
  1922. </div>
  1923. </div>
  1924. <a class="anchor" id="a0abfb1f754a8fb559cfa884ee040f56f"></a>
  1925. <div class="memitem">
  1926. <div class="memproto">
  1927. <table class="mlabels">
  1928. <tr>
  1929. <td class="mlabels-left">
  1930. <table class="memname">
  1931. <tr>
  1932. <td class="memname"><a class="el" href="class_file.html">File</a> FatFileSystem::open </td>
  1933. <td>(</td>
  1934. <td class="paramtype">const String &amp;&#160;</td>
  1935. <td class="paramname"><em>path</em>, </td>
  1936. </tr>
  1937. <tr>
  1938. <td class="paramkey"></td>
  1939. <td></td>
  1940. <td class="paramtype">uint8_t&#160;</td>
  1941. <td class="paramname"><em>mode</em> = <code><a class="el" href="_arduino_files_8h.html#ad52d51659a75e25d96fb04d22ff718cb">FILE_READ</a></code>&#160;</td>
  1942. </tr>
  1943. <tr>
  1944. <td></td>
  1945. <td>)</td>
  1946. <td></td><td></td>
  1947. </tr>
  1948. </table>
  1949. </td>
  1950. <td class="mlabels-right">
  1951. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1952. </tr>
  1953. </table>
  1954. </div><div class="memdoc">
  1955. <p>open a file</p>
  1956. <dl class="params"><dt>Parameters</dt><dd>
  1957. <table class="params">
  1958. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>location of file to be opened. </td></tr>
  1959. <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>open mode flags. </td></tr>
  1960. </table>
  1961. </dd>
  1962. </dl>
  1963. <dl class="section return"><dt>Returns</dt><dd>a <a class="el" href="class_file.html" title="Arduino SD.h style File API. ">File</a> object. </dd></dl>
  1964. </div>
  1965. </div>
  1966. <a class="anchor" id="abf7d7d0dab43083d5be10d70ff4669e4"></a>
  1967. <div class="memitem">
  1968. <div class="memproto">
  1969. <table class="mlabels">
  1970. <tr>
  1971. <td class="mlabels-left">
  1972. <table class="memname">
  1973. <tr>
  1974. <td class="memname">bool FatFileSystem::remove </td>
  1975. <td>(</td>
  1976. <td class="paramtype">const char *&#160;</td>
  1977. <td class="paramname"><em>path</em></td><td>)</td>
  1978. <td></td>
  1979. </tr>
  1980. </table>
  1981. </td>
  1982. <td class="mlabels-right">
  1983. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1984. </tr>
  1985. </table>
  1986. </div><div class="memdoc">
  1987. <p>Remove a file from the volume working directory.</p>
  1988. <dl class="params"><dt>Parameters</dt><dd>
  1989. <table class="params">
  1990. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path with a valid 8.3 DOS name for the file.</td></tr>
  1991. </table>
  1992. </dd>
  1993. </dl>
  1994. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  1995. </div>
  1996. </div>
  1997. <a class="anchor" id="a0187891a24017b41bd7c5ba63e659e65"></a>
  1998. <div class="memitem">
  1999. <div class="memproto">
  2000. <table class="mlabels">
  2001. <tr>
  2002. <td class="mlabels-left">
  2003. <table class="memname">
  2004. <tr>
  2005. <td class="memname">bool FatFileSystem::rename </td>
  2006. <td>(</td>
  2007. <td class="paramtype">const char *&#160;</td>
  2008. <td class="paramname"><em>oldPath</em>, </td>
  2009. </tr>
  2010. <tr>
  2011. <td class="paramkey"></td>
  2012. <td></td>
  2013. <td class="paramtype">const char *&#160;</td>
  2014. <td class="paramname"><em>newPath</em>&#160;</td>
  2015. </tr>
  2016. <tr>
  2017. <td></td>
  2018. <td>)</td>
  2019. <td></td><td></td>
  2020. </tr>
  2021. </table>
  2022. </td>
  2023. <td class="mlabels-right">
  2024. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  2025. </tr>
  2026. </table>
  2027. </div><div class="memdoc">
  2028. <p>Rename a file or subdirectory.</p>
  2029. <dl class="params"><dt>Parameters</dt><dd>
  2030. <table class="params">
  2031. <tr><td class="paramdir">[in]</td><td class="paramname">oldPath</td><td>Path name to the file or subdirectory to be renamed.</td></tr>
  2032. <tr><td class="paramdir">[in]</td><td class="paramname">newPath</td><td>New path name of the file or subdirectory.</td></tr>
  2033. </table>
  2034. </dd>
  2035. </dl>
  2036. <p>The <em>newPath</em> object must not exist before the rename call.</p>
  2037. <p>The file to be renamed must not be open. The directory entry may be moved and file system corruption could occur if the file is accessed by a file object that was opened before the <a class="el" href="class_fat_file_system.html#a0187891a24017b41bd7c5ba63e659e65">rename()</a> call.</p>
  2038. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  2039. </div>
  2040. </div>
  2041. <a class="anchor" id="aaed2edc7ff7fedb163458c870bb41b33"></a>
  2042. <div class="memitem">
  2043. <div class="memproto">
  2044. <table class="mlabels">
  2045. <tr>
  2046. <td class="mlabels-left">
  2047. <table class="memname">
  2048. <tr>
  2049. <td class="memname">bool FatFileSystem::rmdir </td>
  2050. <td>(</td>
  2051. <td class="paramtype">const char *&#160;</td>
  2052. <td class="paramname"><em>path</em></td><td>)</td>
  2053. <td></td>
  2054. </tr>
  2055. </table>
  2056. </td>
  2057. <td class="mlabels-right">
  2058. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  2059. </tr>
  2060. </table>
  2061. </div><div class="memdoc">
  2062. <p>Remove a subdirectory from the volume's working directory.</p>
  2063. <dl class="params"><dt>Parameters</dt><dd>
  2064. <table class="params">
  2065. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path with a valid 8.3 DOS name for the subdirectory.</td></tr>
  2066. </table>
  2067. </dd>
  2068. </dl>
  2069. <p>The subdirectory file will be removed only if it is empty.</p>
  2070. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  2071. </div>
  2072. </div>
  2073. <a class="anchor" id="ab2d483670a0a6a6a4754b23614fe11bc"></a>
  2074. <div class="memitem">
  2075. <div class="memproto">
  2076. <table class="mlabels">
  2077. <tr>
  2078. <td class="mlabels-left">
  2079. <table class="memname">
  2080. <tr>
  2081. <td class="memname">uint16_t FatVolume::rootDirEntryCount </td>
  2082. <td>(</td>
  2083. <td class="paramname"></td><td>)</td>
  2084. <td> const</td>
  2085. </tr>
  2086. </table>
  2087. </td>
  2088. <td class="mlabels-right">
  2089. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  2090. </tr>
  2091. </table>
  2092. </div><div class="memdoc">
  2093. <dl class="section return"><dt>Returns</dt><dd>The number of entries in the root directory for FAT16 volumes. </dd></dl>
  2094. </div>
  2095. </div>
  2096. <a class="anchor" id="ae9363ebbbae90e895ea56e8fa3f60c13"></a>
  2097. <div class="memitem">
  2098. <div class="memproto">
  2099. <table class="mlabels">
  2100. <tr>
  2101. <td class="mlabels-left">
  2102. <table class="memname">
  2103. <tr>
  2104. <td class="memname">uint32_t FatVolume::rootDirStart </td>
  2105. <td>(</td>
  2106. <td class="paramname"></td><td>)</td>
  2107. <td> const</td>
  2108. </tr>
  2109. </table>
  2110. </td>
  2111. <td class="mlabels-right">
  2112. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  2113. </tr>
  2114. </table>
  2115. </div><div class="memdoc">
  2116. <dl class="section return"><dt>Returns</dt><dd>The logical block number for the start of the root directory on FAT16 volumes or the first cluster number on FAT32 volumes. </dd></dl>
  2117. </div>
  2118. </div>
  2119. <a class="anchor" id="ad60cb13557f35578f868e03e9ccb8be1"></a>
  2120. <div class="memitem">
  2121. <div class="memproto">
  2122. <table class="mlabels">
  2123. <tr>
  2124. <td class="mlabels-left">
  2125. <table class="memname">
  2126. <tr>
  2127. <td class="memname">bool FatFileSystem::truncate </td>
  2128. <td>(</td>
  2129. <td class="paramtype">const char *&#160;</td>
  2130. <td class="paramname"><em>path</em>, </td>
  2131. </tr>
  2132. <tr>
  2133. <td class="paramkey"></td>
  2134. <td></td>
  2135. <td class="paramtype">uint32_t&#160;</td>
  2136. <td class="paramname"><em>length</em>&#160;</td>
  2137. </tr>
  2138. <tr>
  2139. <td></td>
  2140. <td>)</td>
  2141. <td></td><td></td>
  2142. </tr>
  2143. </table>
  2144. </td>
  2145. <td class="mlabels-right">
  2146. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  2147. </tr>
  2148. </table>
  2149. </div><div class="memdoc">
  2150. <p>Truncate a file to a specified length. The current file position will be maintained if it is less than or equal to <em>length</em> otherwise it will be set to end of file.</p>
  2151. <dl class="params"><dt>Parameters</dt><dd>
  2152. <table class="params">
  2153. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path with a valid 8.3 DOS name for the file. </td></tr>
  2154. <tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The desired length for the file.</td></tr>
  2155. </table>
  2156. </dd>
  2157. </dl>
  2158. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  2159. </div>
  2160. </div>
  2161. <a class="anchor" id="a4ca68fe47bb675df0a80df1ed7a53698"></a>
  2162. <div class="memitem">
  2163. <div class="memproto">
  2164. <table class="mlabels">
  2165. <tr>
  2166. <td class="mlabels-left">
  2167. <table class="memname">
  2168. <tr>
  2169. <td class="memname"><a class="el" href="class_fat_volume.html">FatVolume</a>* FatFileSystem::vol </td>
  2170. <td>(</td>
  2171. <td class="paramname"></td><td>)</td>
  2172. <td></td>
  2173. </tr>
  2174. </table>
  2175. </td>
  2176. <td class="mlabels-right">
  2177. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  2178. </tr>
  2179. </table>
  2180. </div><div class="memdoc">
  2181. <dl class="section return"><dt>Returns</dt><dd>a pointer to the <a class="el" href="class_fat_volume.html" title="Access FAT16 and FAT32 volumes on raw file devices. ">FatVolume</a> object. </dd></dl>
  2182. </div>
  2183. </div>
  2184. <a class="anchor" id="a07bc98088ce4a9c725700899c184f7fc"></a>
  2185. <div class="memitem">
  2186. <div class="memproto">
  2187. <table class="mlabels">
  2188. <tr>
  2189. <td class="mlabels-left">
  2190. <table class="memname">
  2191. <tr>
  2192. <td class="memname">uint32_t FatVolume::volumeBlockCount </td>
  2193. <td>(</td>
  2194. <td class="paramname"></td><td>)</td>
  2195. <td> const</td>
  2196. </tr>
  2197. </table>
  2198. </td>
  2199. <td class="mlabels-right">
  2200. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  2201. </tr>
  2202. </table>
  2203. </div><div class="memdoc">
  2204. <dl class="section return"><dt>Returns</dt><dd>The number of blocks in the volume </dd></dl>
  2205. </div>
  2206. </div>
  2207. <a class="anchor" id="acf257d02b7166683bda2abc5058004bf"></a>
  2208. <div class="memitem">
  2209. <div class="memproto">
  2210. <table class="mlabels">
  2211. <tr>
  2212. <td class="mlabels-left">
  2213. <table class="memname">
  2214. <tr>
  2215. <td class="memname"><a class="el" href="class_fat_file.html">FatFile</a>* FatFileSystem::vwd </td>
  2216. <td>(</td>
  2217. <td class="paramname"></td><td>)</td>
  2218. <td></td>
  2219. </tr>
  2220. </table>
  2221. </td>
  2222. <td class="mlabels-right">
  2223. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  2224. </tr>
  2225. </table>
  2226. </div><div class="memdoc">
  2227. <dl class="section return"><dt>Returns</dt><dd>a pointer to the volume working directory. </dd></dl>
  2228. </div>
  2229. </div>
  2230. <a class="anchor" id="a36d7831f92acfbfef1c4a24dd7103dc4"></a>
  2231. <div class="memitem">
  2232. <div class="memproto">
  2233. <table class="mlabels">
  2234. <tr>
  2235. <td class="mlabels-left">
  2236. <table class="memname">
  2237. <tr>
  2238. <td class="memname">bool FatFileSystem::wipe </td>
  2239. <td>(</td>
  2240. <td class="paramtype"><a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  2241. <td class="paramname"><em>pr</em> = <code>0</code></td><td>)</td>
  2242. <td></td>
  2243. </tr>
  2244. </table>
  2245. </td>
  2246. <td class="mlabels-right">
  2247. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  2248. </tr>
  2249. </table>
  2250. </div><div class="memdoc">
  2251. <p>Wipe all data from the volume. You must reinitialize the volume before accessing it again. </p><dl class="params"><dt>Parameters</dt><dd>
  2252. <table class="params">
  2253. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>print stream for status dots. </td></tr>
  2254. </table>
  2255. </dd>
  2256. </dl>
  2257. <dl class="section return"><dt>Returns</dt><dd>true for success else false. </dd></dl>
  2258. </div>
  2259. </div>
  2260. <hr/>The documentation for this class was generated from the following file:<ul>
  2261. <li>Arduino/libraries/SdFat/src/<a class="el" href="_sd_fat_8h.html">SdFat.h</a></li>
  2262. </ul>
  2263. </div><!-- contents -->
  2264. <!-- start footer part -->
  2265. <hr class="footer"/><address class="footer"><small>
  2266. Generated on Mon Sep 5 2016 10:18:53 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  2267. <img class="footer" src="doxygen.png" alt="doxygen"/>
  2268. </a> 1.8.10
  2269. </small></address>
  2270. </body>
  2271. </html>