Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

1159 lines
51KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.14"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>SdFat: ExFatVolume Class Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectalign" style="padding-left: 0.5em;">
  24. <div id="projectname">SdFat
  25. </div>
  26. </td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. </div>
  31. <!-- end header part -->
  32. <!-- Generated by Doxygen 1.8.14 -->
  33. <script type="text/javascript">
  34. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  35. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  36. /* @license-end */
  37. </script>
  38. <script type="text/javascript" src="menudata.js"></script>
  39. <script type="text/javascript" src="menu.js"></script>
  40. <script type="text/javascript">
  41. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  42. $(function() {
  43. initMenu('',true,false,'search.php','Search');
  44. $(document).ready(function() { init_search(); });
  45. });
  46. /* @license-end */</script>
  47. <div id="main-nav"></div>
  48. <!-- window showing the filter options -->
  49. <div id="MSearchSelectWindow"
  50. onmouseover="return searchBox.OnSearchSelectShow()"
  51. onmouseout="return searchBox.OnSearchSelectHide()"
  52. onkeydown="return searchBox.OnSearchSelectKey(event)">
  53. </div>
  54. <!-- iframe showing the search results (closed by default) -->
  55. <div id="MSearchResultsWindow">
  56. <iframe src="javascript:void(0)" frameborder="0"
  57. name="MSearchResults" id="MSearchResults">
  58. </iframe>
  59. </div>
  60. </div><!-- top -->
  61. <div class="header">
  62. <div class="summary">
  63. <a href="#pub-methods">Public Member Functions</a> &#124;
  64. <a href="#pub-static-methods">Static Public Member Functions</a> &#124;
  65. <a href="class_ex_fat_volume-members.html">List of all members</a> </div>
  66. <div class="headertitle">
  67. <div class="title">ExFatVolume Class Reference</div> </div>
  68. </div><!--header-->
  69. <div class="contents">
  70. <p>exFAT volume.
  71. <a href="class_ex_fat_volume.html#details">More...</a></p>
  72. <p><code>#include &lt;ExFatVolume.h&gt;</code></p>
  73. <div class="dynheader">
  74. Inheritance diagram for ExFatVolume:</div>
  75. <div class="dyncontent">
  76. <div class="center"><img src="class_ex_fat_volume__inherit__graph.png" border="0" usemap="#_ex_fat_volume_inherit__map" alt="Inheritance graph"/></div>
  77. <map name="_ex_fat_volume_inherit__map" id="_ex_fat_volume_inherit__map">
  78. <area shape="rect" id="node3" href="class_sd_base.html" title="SdBase\&lt; ExFatVolume \&gt;" alt="" coords="5,155,176,181"/>
  79. <area shape="rect" id="node2" href="class_ex_fat_partition.html" title="Access exFat partitions on raw file devices. " alt="" coords="38,5,143,32"/>
  80. <area shape="rect" id="node4" href="class_sd_ex_fat.html" title="SD file system class for exFAT volumes. " alt="" coords="54,229,127,256"/>
  81. </map>
  82. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  83. <div class="dynheader">
  84. Collaboration diagram for ExFatVolume:</div>
  85. <div class="dyncontent">
  86. <div class="center"><img src="class_ex_fat_volume__coll__graph.png" border="0" usemap="#_ex_fat_volume_coll__map" alt="Collaboration graph"/></div>
  87. <map name="_ex_fat_volume_coll__map" id="_ex_fat_volume_coll__map">
  88. <area shape="rect" id="node2" href="class_ex_fat_partition.html" title="Access exFat partitions on raw file devices. " alt="" coords="5,5,111,32"/>
  89. </map>
  90. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  91. <table class="memberdecls">
  92. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  93. Public Member Functions</h2></td></tr>
  94. <tr class="memitem:ade318d2517a1bd3abe56e9e530fdcd78"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#ade318d2517a1bd3abe56e9e530fdcd78">begin</a> (<a class="el" href="class_sd_spi_card.html">BlockDevice</a> *dev, bool setCwv=true, uint8_t part=1)</td></tr>
  95. <tr class="separator:ade318d2517a1bd3abe56e9e530fdcd78"><td class="memSeparator" colspan="2">&#160;</td></tr>
  96. <tr class="memitem:a1da789000f42592f9509df843fdd50c8"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_partition.html#a1da789000f42592f9509df843fdd50c8">bytesPerCluster</a> ()</td></tr>
  97. <tr class="separator:a1da789000f42592f9509df843fdd50c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  98. <tr class="memitem:a64825a52f754bdcb02c8632f5fd15373"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_partition.html#a64825a52f754bdcb02c8632f5fd15373">bytesPerClusterShift</a> ()</td></tr>
  99. <tr class="separator:a64825a52f754bdcb02c8632f5fd15373"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:adea3221412eb4bf5c19b6311573135f8"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_partition.html#adea3221412eb4bf5c19b6311573135f8">bytesPerSector</a> ()</td></tr>
  101. <tr class="separator:adea3221412eb4bf5c19b6311573135f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <tr class="memitem:a715f3574452c27ecf51b66208ce5e4a7"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_partition.html#a715f3574452c27ecf51b66208ce5e4a7">bytesPerSectorShift</a> ()</td></tr>
  103. <tr class="separator:a715f3574452c27ecf51b66208ce5e4a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. <tr class="memitem:a63fac808e421ed5c8e72a37616ac56ac"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_partition.html#a63fac808e421ed5c8e72a37616ac56ac">cacheClear</a> ()</td></tr>
  105. <tr class="separator:a63fac808e421ed5c8e72a37616ac56ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:abdc1addfc9474bf42cab31bcb49b4b65"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#abdc1addfc9474bf42cab31bcb49b4b65">chdir</a> ()</td></tr>
  107. <tr class="separator:abdc1addfc9474bf42cab31bcb49b4b65"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:a0f9c04da8382686190df76ff957e9a19"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#a0f9c04da8382686190df76ff957e9a19">chdir</a> (const char *path)</td></tr>
  109. <tr class="separator:a0f9c04da8382686190df76ff957e9a19"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. <tr class="memitem:a6bcabab1ded2e71c1272c1baf009c2ab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#a6bcabab1ded2e71c1272c1baf009c2ab">chvol</a> ()</td></tr>
  111. <tr class="separator:a6bcabab1ded2e71c1272c1baf009c2ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr class="memitem:ac01eb583924286617b0ee8fcf7409ac0"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_partition.html#ac01eb583924286617b0ee8fcf7409ac0">clusterCount</a> ()</td></tr>
  113. <tr class="separator:ac01eb583924286617b0ee8fcf7409ac0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:a58b96587b787f4164eb719913dfbaaf5"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_partition.html#a58b96587b787f4164eb719913dfbaaf5">clusterHeapStartSector</a> ()</td></tr>
  115. <tr class="separator:a58b96587b787f4164eb719913dfbaaf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="memitem:a7fdcdffb720a1cca5cfa73f4cfa281df"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#a7fdcdffb720a1cca5cfa73f4cfa281df">exists</a> (const ExChar_t *path)</td></tr>
  117. <tr class="separator:a7fdcdffb720a1cca5cfa73f4cfa281df"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr class="memitem:aa7d1ae15168896ccc2648b4c383b34eb"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_partition.html#aa7d1ae15168896ccc2648b4c383b34eb">fatLength</a> ()</td></tr>
  119. <tr class="separator:aa7d1ae15168896ccc2648b4c383b34eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr class="memitem:a9eff9e65b511ec06b62856bff8ed29eb"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_partition.html#a9eff9e65b511ec06b62856bff8ed29eb">fatStartSector</a> ()</td></tr>
  121. <tr class="separator:a9eff9e65b511ec06b62856bff8ed29eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:a3e63d87b4ef985f92c1793d269274f44"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_partition.html#a3e63d87b4ef985f92c1793d269274f44">fatType</a> () const</td></tr>
  123. <tr class="separator:a3e63d87b4ef985f92c1793d269274f44"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:ae6d4414d6440b79b6314cd1edbaa35b0"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_partition.html#ae6d4414d6440b79b6314cd1edbaa35b0">freeClusterCount</a> ()</td></tr>
  125. <tr class="separator:ae6d4414d6440b79b6314cd1edbaa35b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:adb1d277492dccba09031e2064f4fa66f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_partition.html#adb1d277492dccba09031e2064f4fa66f">init</a> (<a class="el" href="class_sd_spi_card.html">BlockDevice</a> *dev, uint8_t part)</td></tr>
  127. <tr class="separator:adb1d277492dccba09031e2064f4fa66f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <tr class="memitem:abe1e8cad0a5922984b28edfd987bc856"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#abe1e8cad0a5922984b28edfd987bc856">ls</a> (<a class="el" href="_sys_call_8h.html#ab4f210a7e2149c6c531486f1713c647b">print_t</a> *pr, uint8_t flags=0)</td></tr>
  129. <tr class="separator:abe1e8cad0a5922984b28edfd987bc856"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <tr class="memitem:aad2de66514174edb37b0fe7e44b33abf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#aad2de66514174edb37b0fe7e44b33abf">ls</a> (<a class="el" href="_sys_call_8h.html#ab4f210a7e2149c6c531486f1713c647b">print_t</a> *pr, const ExChar_t *path, uint8_t flags)</td></tr>
  131. <tr class="separator:aad2de66514174edb37b0fe7e44b33abf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:a407b93b16554b26ff52f7b762a9217aa"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#a407b93b16554b26ff52f7b762a9217aa">mkdir</a> (const ExChar_t *path, bool pFlag=true)</td></tr>
  133. <tr class="separator:a407b93b16554b26ff52f7b762a9217aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="memitem:a0807cfcef46ef74cfe238badb83f3dda"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_ex_file.html">ExFile</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#a0807cfcef46ef74cfe238badb83f3dda">open</a> (const ExChar_t *path, oflag_t oflag=0X00)</td></tr>
  135. <tr class="separator:a0807cfcef46ef74cfe238badb83f3dda"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <tr class="memitem:a58061d05f5dc5a52706cdd61a1a86e80"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#a58061d05f5dc5a52706cdd61a1a86e80">remove</a> (const ExChar_t *path)</td></tr>
  137. <tr class="separator:a58061d05f5dc5a52706cdd61a1a86e80"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:a8dcd1b108167803a24f7314f5fce6bc4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#a8dcd1b108167803a24f7314f5fce6bc4">rename</a> (const ExChar_t *oldPath, const ExChar_t *newPath)</td></tr>
  139. <tr class="separator:a8dcd1b108167803a24f7314f5fce6bc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <tr class="memitem:ab9e3e7d9538c905ca60b834e244943ee"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#ab9e3e7d9538c905ca60b834e244943ee">rmdir</a> (const ExChar_t *path)</td></tr>
  141. <tr class="separator:ab9e3e7d9538c905ca60b834e244943ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. <tr class="memitem:a658c250984be29febf8f4d2a2ec312a1"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_partition.html#a658c250984be29febf8f4d2a2ec312a1">rootDirectoryCluster</a> ()</td></tr>
  143. <tr class="separator:a658c250984be29febf8f4d2a2ec312a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <tr class="memitem:a9412bd687edc99266c88f8aa87f01c51"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_partition.html#a9412bd687edc99266c88f8aa87f01c51">rootLength</a> ()</td></tr>
  145. <tr class="separator:a9412bd687edc99266c88f8aa87f01c51"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <tr class="memitem:aaa7306ac8ff29f50ec4d919ccaff10d7"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_partition.html#aaa7306ac8ff29f50ec4d919ccaff10d7">sectorsPerCluster</a> ()</td></tr>
  147. <tr class="separator:aaa7306ac8ff29f50ec4d919ccaff10d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <tr class="memitem:ab1624bf02690ee06365207cb8f1d48ac"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_partition.html#ab1624bf02690ee06365207cb8f1d48ac">sectorsPerClusterShift</a> ()</td></tr>
  149. <tr class="separator:ab1624bf02690ee06365207cb8f1d48ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:ae5cbcdd7907a882b4686cb3ba7e85bcc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#ae5cbcdd7907a882b4686cb3ba7e85bcc">truncate</a> (const ExChar_t *path, uint64_t length)</td></tr>
  151. <tr class="separator:ae5cbcdd7907a882b4686cb3ba7e85bcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. </table><table class="memberdecls">
  153. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
  154. Static Public Member Functions</h2></td></tr>
  155. <tr class="memitem:a5b2a874ef0306425bf54c18454771b45"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_ex_fat_volume.html">ExFatVolume</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#a5b2a874ef0306425bf54c18454771b45">cwv</a> ()</td></tr>
  156. <tr class="separator:a5b2a874ef0306425bf54c18454771b45"><td class="memSeparator" colspan="2">&#160;</td></tr>
  157. </table>
  158. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  159. <div class="textblock"><p>exFAT volume. </p>
  160. <p>Copyright (c) 2011-2019 Bill Greiman This file is part of the SdFat library for SD memory cards.</p>
  161. <p>MIT License</p>
  162. <p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
  163. <p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
  164. <p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. </p>
  165. </div><h2 class="groupheader">Member Function Documentation</h2>
  166. <a id="ade318d2517a1bd3abe56e9e530fdcd78"></a>
  167. <h2 class="memtitle"><span class="permalink"><a href="#ade318d2517a1bd3abe56e9e530fdcd78">&#9670;&nbsp;</a></span>begin()</h2>
  168. <div class="memitem">
  169. <div class="memproto">
  170. <table class="mlabels">
  171. <tr>
  172. <td class="mlabels-left">
  173. <table class="memname">
  174. <tr>
  175. <td class="memname">bool ExFatVolume::begin </td>
  176. <td>(</td>
  177. <td class="paramtype"><a class="el" href="class_sd_spi_card.html">BlockDevice</a> *&#160;</td>
  178. <td class="paramname"><em>dev</em>, </td>
  179. </tr>
  180. <tr>
  181. <td class="paramkey"></td>
  182. <td></td>
  183. <td class="paramtype">bool&#160;</td>
  184. <td class="paramname"><em>setCwv</em> = <code>true</code>, </td>
  185. </tr>
  186. <tr>
  187. <td class="paramkey"></td>
  188. <td></td>
  189. <td class="paramtype">uint8_t&#160;</td>
  190. <td class="paramname"><em>part</em> = <code>1</code>&#160;</td>
  191. </tr>
  192. <tr>
  193. <td></td>
  194. <td>)</td>
  195. <td></td><td></td>
  196. </tr>
  197. </table>
  198. </td>
  199. <td class="mlabels-right">
  200. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  201. </tr>
  202. </table>
  203. </div><div class="memdoc">
  204. <p>Initialize an <a class="el" href="class_fat_volume.html" title="Integration class for the FatLib library. ">FatVolume</a> object. </p><dl class="params"><dt>Parameters</dt><dd>
  205. <table class="params">
  206. <tr><td class="paramdir">[in]</td><td class="paramname">dev</td><td>Device block driver. </td></tr>
  207. <tr><td class="paramdir">[in]</td><td class="paramname">setCwv</td><td>Set current working volume if true. </td></tr>
  208. <tr><td class="paramdir">[in]</td><td class="paramname">part</td><td>partition to initialize. </td></tr>
  209. </table>
  210. </dd>
  211. </dl>
  212. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  213. </div>
  214. </div>
  215. <a id="a1da789000f42592f9509df843fdd50c8"></a>
  216. <h2 class="memtitle"><span class="permalink"><a href="#a1da789000f42592f9509df843fdd50c8">&#9670;&nbsp;</a></span>bytesPerCluster()</h2>
  217. <div class="memitem">
  218. <div class="memproto">
  219. <table class="mlabels">
  220. <tr>
  221. <td class="mlabels-left">
  222. <table class="memname">
  223. <tr>
  224. <td class="memname">uint32_t ExFatPartition::bytesPerCluster </td>
  225. <td>(</td>
  226. <td class="paramname"></td><td>)</td>
  227. <td></td>
  228. </tr>
  229. </table>
  230. </td>
  231. <td class="mlabels-right">
  232. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  233. </tr>
  234. </table>
  235. </div><div class="memdoc">
  236. <dl class="section return"><dt>Returns</dt><dd>the number of bytes in a cluster. </dd></dl>
  237. </div>
  238. </div>
  239. <a id="a64825a52f754bdcb02c8632f5fd15373"></a>
  240. <h2 class="memtitle"><span class="permalink"><a href="#a64825a52f754bdcb02c8632f5fd15373">&#9670;&nbsp;</a></span>bytesPerClusterShift()</h2>
  241. <div class="memitem">
  242. <div class="memproto">
  243. <table class="mlabels">
  244. <tr>
  245. <td class="mlabels-left">
  246. <table class="memname">
  247. <tr>
  248. <td class="memname">uint8_t ExFatPartition::bytesPerClusterShift </td>
  249. <td>(</td>
  250. <td class="paramname"></td><td>)</td>
  251. <td></td>
  252. </tr>
  253. </table>
  254. </td>
  255. <td class="mlabels-right">
  256. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  257. </tr>
  258. </table>
  259. </div><div class="memdoc">
  260. <dl class="section return"><dt>Returns</dt><dd>the power of two for bytesPerCluster. </dd></dl>
  261. </div>
  262. </div>
  263. <a id="adea3221412eb4bf5c19b6311573135f8"></a>
  264. <h2 class="memtitle"><span class="permalink"><a href="#adea3221412eb4bf5c19b6311573135f8">&#9670;&nbsp;</a></span>bytesPerSector()</h2>
  265. <div class="memitem">
  266. <div class="memproto">
  267. <table class="mlabels">
  268. <tr>
  269. <td class="mlabels-left">
  270. <table class="memname">
  271. <tr>
  272. <td class="memname">uint16_t ExFatPartition::bytesPerSector </td>
  273. <td>(</td>
  274. <td class="paramname"></td><td>)</td>
  275. <td></td>
  276. </tr>
  277. </table>
  278. </td>
  279. <td class="mlabels-right">
  280. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  281. </tr>
  282. </table>
  283. </div><div class="memdoc">
  284. <dl class="section return"><dt>Returns</dt><dd>the number of bytes in a sector. </dd></dl>
  285. </div>
  286. </div>
  287. <a id="a715f3574452c27ecf51b66208ce5e4a7"></a>
  288. <h2 class="memtitle"><span class="permalink"><a href="#a715f3574452c27ecf51b66208ce5e4a7">&#9670;&nbsp;</a></span>bytesPerSectorShift()</h2>
  289. <div class="memitem">
  290. <div class="memproto">
  291. <table class="mlabels">
  292. <tr>
  293. <td class="mlabels-left">
  294. <table class="memname">
  295. <tr>
  296. <td class="memname">uint8_t ExFatPartition::bytesPerSectorShift </td>
  297. <td>(</td>
  298. <td class="paramname"></td><td>)</td>
  299. <td></td>
  300. </tr>
  301. </table>
  302. </td>
  303. <td class="mlabels-right">
  304. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  305. </tr>
  306. </table>
  307. </div><div class="memdoc">
  308. <dl class="section return"><dt>Returns</dt><dd>the power of two for bytesPerSector. </dd></dl>
  309. </div>
  310. </div>
  311. <a id="a63fac808e421ed5c8e72a37616ac56ac"></a>
  312. <h2 class="memtitle"><span class="permalink"><a href="#a63fac808e421ed5c8e72a37616ac56ac">&#9670;&nbsp;</a></span>cacheClear()</h2>
  313. <div class="memitem">
  314. <div class="memproto">
  315. <table class="mlabels">
  316. <tr>
  317. <td class="mlabels-left">
  318. <table class="memname">
  319. <tr>
  320. <td class="memname">uint8_t* ExFatPartition::cacheClear </td>
  321. <td>(</td>
  322. <td class="paramname"></td><td>)</td>
  323. <td></td>
  324. </tr>
  325. </table>
  326. </td>
  327. <td class="mlabels-right">
  328. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  329. </tr>
  330. </table>
  331. </div><div class="memdoc">
  332. <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>
  333. </div>
  334. </div>
  335. <a id="abdc1addfc9474bf42cab31bcb49b4b65"></a>
  336. <h2 class="memtitle"><span class="permalink"><a href="#abdc1addfc9474bf42cab31bcb49b4b65">&#9670;&nbsp;</a></span>chdir() <span class="overload">[1/2]</span></h2>
  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">bool ExFatVolume::chdir </td>
  345. <td>(</td>
  346. <td class="paramname"></td><td>)</td>
  347. <td></td>
  348. </tr>
  349. </table>
  350. </td>
  351. <td class="mlabels-right">
  352. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  353. </tr>
  354. </table>
  355. </div><div class="memdoc">
  356. <p>Set volume working directory to root. </p><dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  357. </div>
  358. </div>
  359. <a id="a0f9c04da8382686190df76ff957e9a19"></a>
  360. <h2 class="memtitle"><span class="permalink"><a href="#a0f9c04da8382686190df76ff957e9a19">&#9670;&nbsp;</a></span>chdir() <span class="overload">[2/2]</span></h2>
  361. <div class="memitem">
  362. <div class="memproto">
  363. <table class="memname">
  364. <tr>
  365. <td class="memname">bool ExFatVolume::chdir </td>
  366. <td>(</td>
  367. <td class="paramtype">const char *&#160;</td>
  368. <td class="paramname"><em>path</em></td><td>)</td>
  369. <td></td>
  370. </tr>
  371. </table>
  372. </div><div class="memdoc">
  373. <p>Set volume working directory. </p><dl class="params"><dt>Parameters</dt><dd>
  374. <table class="params">
  375. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>Path for volume working directory. </td></tr>
  376. </table>
  377. </dd>
  378. </dl>
  379. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  380. </div>
  381. </div>
  382. <a id="a6bcabab1ded2e71c1272c1baf009c2ab"></a>
  383. <h2 class="memtitle"><span class="permalink"><a href="#a6bcabab1ded2e71c1272c1baf009c2ab">&#9670;&nbsp;</a></span>chvol()</h2>
  384. <div class="memitem">
  385. <div class="memproto">
  386. <table class="mlabels">
  387. <tr>
  388. <td class="mlabels-left">
  389. <table class="memname">
  390. <tr>
  391. <td class="memname">void ExFatVolume::chvol </td>
  392. <td>(</td>
  393. <td class="paramname"></td><td>)</td>
  394. <td></td>
  395. </tr>
  396. </table>
  397. </td>
  398. <td class="mlabels-right">
  399. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  400. </tr>
  401. </table>
  402. </div><div class="memdoc">
  403. <p>Change global working volume to this volume. </p>
  404. </div>
  405. </div>
  406. <a id="ac01eb583924286617b0ee8fcf7409ac0"></a>
  407. <h2 class="memtitle"><span class="permalink"><a href="#ac01eb583924286617b0ee8fcf7409ac0">&#9670;&nbsp;</a></span>clusterCount()</h2>
  408. <div class="memitem">
  409. <div class="memproto">
  410. <table class="mlabels">
  411. <tr>
  412. <td class="mlabels-left">
  413. <table class="memname">
  414. <tr>
  415. <td class="memname">uint32_t ExFatPartition::clusterCount </td>
  416. <td>(</td>
  417. <td class="paramname"></td><td>)</td>
  418. <td></td>
  419. </tr>
  420. </table>
  421. </td>
  422. <td class="mlabels-right">
  423. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  424. </tr>
  425. </table>
  426. </div><div class="memdoc">
  427. <dl class="section return"><dt>Returns</dt><dd>the cluster count for the partition. </dd></dl>
  428. </div>
  429. </div>
  430. <a id="a58b96587b787f4164eb719913dfbaaf5"></a>
  431. <h2 class="memtitle"><span class="permalink"><a href="#a58b96587b787f4164eb719913dfbaaf5">&#9670;&nbsp;</a></span>clusterHeapStartSector()</h2>
  432. <div class="memitem">
  433. <div class="memproto">
  434. <table class="mlabels">
  435. <tr>
  436. <td class="mlabels-left">
  437. <table class="memname">
  438. <tr>
  439. <td class="memname">uint32_t ExFatPartition::clusterHeapStartSector </td>
  440. <td>(</td>
  441. <td class="paramname"></td><td>)</td>
  442. <td></td>
  443. </tr>
  444. </table>
  445. </td>
  446. <td class="mlabels-right">
  447. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  448. </tr>
  449. </table>
  450. </div><div class="memdoc">
  451. <dl class="section return"><dt>Returns</dt><dd>the cluster heap start sector. </dd></dl>
  452. </div>
  453. </div>
  454. <a id="a5b2a874ef0306425bf54c18454771b45"></a>
  455. <h2 class="memtitle"><span class="permalink"><a href="#a5b2a874ef0306425bf54c18454771b45">&#9670;&nbsp;</a></span>cwv()</h2>
  456. <div class="memitem">
  457. <div class="memproto">
  458. <table class="mlabels">
  459. <tr>
  460. <td class="mlabels-left">
  461. <table class="memname">
  462. <tr>
  463. <td class="memname">static <a class="el" href="class_ex_fat_volume.html">ExFatVolume</a>* ExFatVolume::cwv </td>
  464. <td>(</td>
  465. <td class="paramname"></td><td>)</td>
  466. <td></td>
  467. </tr>
  468. </table>
  469. </td>
  470. <td class="mlabels-right">
  471. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
  472. </tr>
  473. </table>
  474. </div><div class="memdoc">
  475. <dl class="section return"><dt>Returns</dt><dd>current working volume. </dd></dl>
  476. </div>
  477. </div>
  478. <a id="a7fdcdffb720a1cca5cfa73f4cfa281df"></a>
  479. <h2 class="memtitle"><span class="permalink"><a href="#a7fdcdffb720a1cca5cfa73f4cfa281df">&#9670;&nbsp;</a></span>exists()</h2>
  480. <div class="memitem">
  481. <div class="memproto">
  482. <table class="mlabels">
  483. <tr>
  484. <td class="mlabels-left">
  485. <table class="memname">
  486. <tr>
  487. <td class="memname">bool ExFatVolume::exists </td>
  488. <td>(</td>
  489. <td class="paramtype">const ExChar_t *&#160;</td>
  490. <td class="paramname"><em>path</em></td><td>)</td>
  491. <td></td>
  492. </tr>
  493. </table>
  494. </td>
  495. <td class="mlabels-right">
  496. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  497. </tr>
  498. </table>
  499. </div><div class="memdoc">
  500. <p>Test for the existence of a file.</p>
  501. <dl class="params"><dt>Parameters</dt><dd>
  502. <table class="params">
  503. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>Path of the file to be tested for.</td></tr>
  504. </table>
  505. </dd>
  506. </dl>
  507. <dl class="section return"><dt>Returns</dt><dd>true if the file exists else false. </dd></dl>
  508. </div>
  509. </div>
  510. <a id="aa7d1ae15168896ccc2648b4c383b34eb"></a>
  511. <h2 class="memtitle"><span class="permalink"><a href="#aa7d1ae15168896ccc2648b4c383b34eb">&#9670;&nbsp;</a></span>fatLength()</h2>
  512. <div class="memitem">
  513. <div class="memproto">
  514. <table class="mlabels">
  515. <tr>
  516. <td class="mlabels-left">
  517. <table class="memname">
  518. <tr>
  519. <td class="memname">uint32_t ExFatPartition::fatLength </td>
  520. <td>(</td>
  521. <td class="paramname"></td><td>)</td>
  522. <td></td>
  523. </tr>
  524. </table>
  525. </td>
  526. <td class="mlabels-right">
  527. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  528. </tr>
  529. </table>
  530. </div><div class="memdoc">
  531. <dl class="section return"><dt>Returns</dt><dd>the FAT length in sectors </dd></dl>
  532. </div>
  533. </div>
  534. <a id="a9eff9e65b511ec06b62856bff8ed29eb"></a>
  535. <h2 class="memtitle"><span class="permalink"><a href="#a9eff9e65b511ec06b62856bff8ed29eb">&#9670;&nbsp;</a></span>fatStartSector()</h2>
  536. <div class="memitem">
  537. <div class="memproto">
  538. <table class="mlabels">
  539. <tr>
  540. <td class="mlabels-left">
  541. <table class="memname">
  542. <tr>
  543. <td class="memname">uint32_t ExFatPartition::fatStartSector </td>
  544. <td>(</td>
  545. <td class="paramname"></td><td>)</td>
  546. <td></td>
  547. </tr>
  548. </table>
  549. </td>
  550. <td class="mlabels-right">
  551. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  552. </tr>
  553. </table>
  554. </div><div class="memdoc">
  555. <dl class="section return"><dt>Returns</dt><dd>the FAT start sector number. </dd></dl>
  556. </div>
  557. </div>
  558. <a id="a3e63d87b4ef985f92c1793d269274f44"></a>
  559. <h2 class="memtitle"><span class="permalink"><a href="#a3e63d87b4ef985f92c1793d269274f44">&#9670;&nbsp;</a></span>fatType()</h2>
  560. <div class="memitem">
  561. <div class="memproto">
  562. <table class="mlabels">
  563. <tr>
  564. <td class="mlabels-left">
  565. <table class="memname">
  566. <tr>
  567. <td class="memname">uint8_t ExFatPartition::fatType </td>
  568. <td>(</td>
  569. <td class="paramname"></td><td>)</td>
  570. <td> const</td>
  571. </tr>
  572. </table>
  573. </td>
  574. <td class="mlabels-right">
  575. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  576. </tr>
  577. </table>
  578. </div><div class="memdoc">
  579. <dl class="section return"><dt>Returns</dt><dd>Type FAT_TYPE_EXFAT for exFAT partition or zero for error. </dd></dl>
  580. </div>
  581. </div>
  582. <a id="ae6d4414d6440b79b6314cd1edbaa35b0"></a>
  583. <h2 class="memtitle"><span class="permalink"><a href="#ae6d4414d6440b79b6314cd1edbaa35b0">&#9670;&nbsp;</a></span>freeClusterCount()</h2>
  584. <div class="memitem">
  585. <div class="memproto">
  586. <table class="mlabels">
  587. <tr>
  588. <td class="mlabels-left">
  589. <table class="memname">
  590. <tr>
  591. <td class="memname">uint32_t ExFatPartition::freeClusterCount </td>
  592. <td>(</td>
  593. <td class="paramname"></td><td>)</td>
  594. <td></td>
  595. </tr>
  596. </table>
  597. </td>
  598. <td class="mlabels-right">
  599. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  600. </tr>
  601. </table>
  602. </div><div class="memdoc">
  603. <dl class="section return"><dt>Returns</dt><dd>the free cluster count. </dd></dl>
  604. </div>
  605. </div>
  606. <a id="adb1d277492dccba09031e2064f4fa66f"></a>
  607. <h2 class="memtitle"><span class="permalink"><a href="#adb1d277492dccba09031e2064f4fa66f">&#9670;&nbsp;</a></span>init()</h2>
  608. <div class="memitem">
  609. <div class="memproto">
  610. <table class="mlabels">
  611. <tr>
  612. <td class="mlabels-left">
  613. <table class="memname">
  614. <tr>
  615. <td class="memname">bool ExFatPartition::init </td>
  616. <td>(</td>
  617. <td class="paramtype"><a class="el" href="class_sd_spi_card.html">BlockDevice</a> *&#160;</td>
  618. <td class="paramname"><em>dev</em>, </td>
  619. </tr>
  620. <tr>
  621. <td class="paramkey"></td>
  622. <td></td>
  623. <td class="paramtype">uint8_t&#160;</td>
  624. <td class="paramname"><em>part</em>&#160;</td>
  625. </tr>
  626. <tr>
  627. <td></td>
  628. <td>)</td>
  629. <td></td><td></td>
  630. </tr>
  631. </table>
  632. </td>
  633. <td class="mlabels-right">
  634. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  635. </tr>
  636. </table>
  637. </div><div class="memdoc">
  638. <p>Initialize a exFAT partition. </p><dl class="params"><dt>Parameters</dt><dd>
  639. <table class="params">
  640. <tr><td class="paramdir">[in]</td><td class="paramname">dev</td><td>The blockDevice for the partition. </td></tr>
  641. <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 sector zero.</td></tr>
  642. </table>
  643. </dd>
  644. </dl>
  645. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  646. </div>
  647. </div>
  648. <a id="abe1e8cad0a5922984b28edfd987bc856"></a>
  649. <h2 class="memtitle"><span class="permalink"><a href="#abe1e8cad0a5922984b28edfd987bc856">&#9670;&nbsp;</a></span>ls() <span class="overload">[1/2]</span></h2>
  650. <div class="memitem">
  651. <div class="memproto">
  652. <table class="mlabels">
  653. <tr>
  654. <td class="mlabels-left">
  655. <table class="memname">
  656. <tr>
  657. <td class="memname">bool ExFatVolume::ls </td>
  658. <td>(</td>
  659. <td class="paramtype"><a class="el" href="_sys_call_8h.html#ab4f210a7e2149c6c531486f1713c647b">print_t</a> *&#160;</td>
  660. <td class="paramname"><em>pr</em>, </td>
  661. </tr>
  662. <tr>
  663. <td class="paramkey"></td>
  664. <td></td>
  665. <td class="paramtype">uint8_t&#160;</td>
  666. <td class="paramname"><em>flags</em> = <code>0</code>&#160;</td>
  667. </tr>
  668. <tr>
  669. <td></td>
  670. <td>)</td>
  671. <td></td><td></td>
  672. </tr>
  673. </table>
  674. </td>
  675. <td class="mlabels-right">
  676. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  677. </tr>
  678. </table>
  679. </div><div class="memdoc">
  680. <p>List the directory contents of the root directory.</p>
  681. <dl class="params"><dt>Parameters</dt><dd>
  682. <table class="params">
  683. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for list.</td></tr>
  684. <tr><td class="paramdir">[in]</td><td class="paramname">flags</td><td>The inclusive OR of</td></tr>
  685. </table>
  686. </dd>
  687. </dl>
  688. <p>LS_DATE - Print file modification date</p>
  689. <p>LS_SIZE - Print file size.</p>
  690. <p>LS_R - Recursive list of subdirectories.</p>
  691. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  692. </div>
  693. </div>
  694. <a id="aad2de66514174edb37b0fe7e44b33abf"></a>
  695. <h2 class="memtitle"><span class="permalink"><a href="#aad2de66514174edb37b0fe7e44b33abf">&#9670;&nbsp;</a></span>ls() <span class="overload">[2/2]</span></h2>
  696. <div class="memitem">
  697. <div class="memproto">
  698. <table class="mlabels">
  699. <tr>
  700. <td class="mlabels-left">
  701. <table class="memname">
  702. <tr>
  703. <td class="memname">bool ExFatVolume::ls </td>
  704. <td>(</td>
  705. <td class="paramtype"><a class="el" href="_sys_call_8h.html#ab4f210a7e2149c6c531486f1713c647b">print_t</a> *&#160;</td>
  706. <td class="paramname"><em>pr</em>, </td>
  707. </tr>
  708. <tr>
  709. <td class="paramkey"></td>
  710. <td></td>
  711. <td class="paramtype">const ExChar_t *&#160;</td>
  712. <td class="paramname"><em>path</em>, </td>
  713. </tr>
  714. <tr>
  715. <td class="paramkey"></td>
  716. <td></td>
  717. <td class="paramtype">uint8_t&#160;</td>
  718. <td class="paramname"><em>flags</em>&#160;</td>
  719. </tr>
  720. <tr>
  721. <td></td>
  722. <td>)</td>
  723. <td></td><td></td>
  724. </tr>
  725. </table>
  726. </td>
  727. <td class="mlabels-right">
  728. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  729. </tr>
  730. </table>
  731. </div><div class="memdoc">
  732. <p>List the contents of a directory.</p>
  733. <dl class="params"><dt>Parameters</dt><dd>
  734. <table class="params">
  735. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for list.</td></tr>
  736. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>directory to list.</td></tr>
  737. <tr><td class="paramdir">[in]</td><td class="paramname">flags</td><td>The inclusive OR of</td></tr>
  738. </table>
  739. </dd>
  740. </dl>
  741. <p>LS_DATE - Print file modification date</p>
  742. <p>LS_SIZE - Print file size.</p>
  743. <p>LS_R - Recursive list of subdirectories.</p>
  744. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  745. </div>
  746. </div>
  747. <a id="a407b93b16554b26ff52f7b762a9217aa"></a>
  748. <h2 class="memtitle"><span class="permalink"><a href="#a407b93b16554b26ff52f7b762a9217aa">&#9670;&nbsp;</a></span>mkdir()</h2>
  749. <div class="memitem">
  750. <div class="memproto">
  751. <table class="mlabels">
  752. <tr>
  753. <td class="mlabels-left">
  754. <table class="memname">
  755. <tr>
  756. <td class="memname">bool ExFatVolume::mkdir </td>
  757. <td>(</td>
  758. <td class="paramtype">const ExChar_t *&#160;</td>
  759. <td class="paramname"><em>path</em>, </td>
  760. </tr>
  761. <tr>
  762. <td class="paramkey"></td>
  763. <td></td>
  764. <td class="paramtype">bool&#160;</td>
  765. <td class="paramname"><em>pFlag</em> = <code>true</code>&#160;</td>
  766. </tr>
  767. <tr>
  768. <td></td>
  769. <td>)</td>
  770. <td></td><td></td>
  771. </tr>
  772. </table>
  773. </td>
  774. <td class="mlabels-right">
  775. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  776. </tr>
  777. </table>
  778. </div><div class="memdoc">
  779. <p>Make a subdirectory in the volume root directory.</p>
  780. <dl class="params"><dt>Parameters</dt><dd>
  781. <table class="params">
  782. <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>
  783. <tr><td class="paramdir">[in]</td><td class="paramname">pFlag</td><td>Create missing parent directories if true.</td></tr>
  784. </table>
  785. </dd>
  786. </dl>
  787. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  788. </div>
  789. </div>
  790. <a id="a0807cfcef46ef74cfe238badb83f3dda"></a>
  791. <h2 class="memtitle"><span class="permalink"><a href="#a0807cfcef46ef74cfe238badb83f3dda">&#9670;&nbsp;</a></span>open()</h2>
  792. <div class="memitem">
  793. <div class="memproto">
  794. <table class="mlabels">
  795. <tr>
  796. <td class="mlabels-left">
  797. <table class="memname">
  798. <tr>
  799. <td class="memname"><a class="el" href="class_ex_file.html">ExFile</a> ExFatVolume::open </td>
  800. <td>(</td>
  801. <td class="paramtype">const ExChar_t *&#160;</td>
  802. <td class="paramname"><em>path</em>, </td>
  803. </tr>
  804. <tr>
  805. <td class="paramkey"></td>
  806. <td></td>
  807. <td class="paramtype">oflag_t&#160;</td>
  808. <td class="paramname"><em>oflag</em> = <code>0X00</code>&#160;</td>
  809. </tr>
  810. <tr>
  811. <td></td>
  812. <td>)</td>
  813. <td></td><td></td>
  814. </tr>
  815. </table>
  816. </td>
  817. <td class="mlabels-right">
  818. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  819. </tr>
  820. </table>
  821. </div><div class="memdoc">
  822. <p>open a file</p>
  823. <dl class="params"><dt>Parameters</dt><dd>
  824. <table class="params">
  825. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>location of file to be opened. </td></tr>
  826. <tr><td class="paramdir">[in]</td><td class="paramname">oflag</td><td>open flags. </td></tr>
  827. </table>
  828. </dd>
  829. </dl>
  830. <dl class="section return"><dt>Returns</dt><dd>a <a class="el" href="class_ex_file.html" title="exFAT file with Arduino Stream. ">ExFile</a> object. </dd></dl>
  831. </div>
  832. </div>
  833. <a id="a58061d05f5dc5a52706cdd61a1a86e80"></a>
  834. <h2 class="memtitle"><span class="permalink"><a href="#a58061d05f5dc5a52706cdd61a1a86e80">&#9670;&nbsp;</a></span>remove()</h2>
  835. <div class="memitem">
  836. <div class="memproto">
  837. <table class="mlabels">
  838. <tr>
  839. <td class="mlabels-left">
  840. <table class="memname">
  841. <tr>
  842. <td class="memname">bool ExFatVolume::remove </td>
  843. <td>(</td>
  844. <td class="paramtype">const ExChar_t *&#160;</td>
  845. <td class="paramname"><em>path</em></td><td>)</td>
  846. <td></td>
  847. </tr>
  848. </table>
  849. </td>
  850. <td class="mlabels-right">
  851. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  852. </tr>
  853. </table>
  854. </div><div class="memdoc">
  855. <p>Remove a file from the volume root directory.</p>
  856. <dl class="params"><dt>Parameters</dt><dd>
  857. <table class="params">
  858. <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>
  859. </table>
  860. </dd>
  861. </dl>
  862. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  863. </div>
  864. </div>
  865. <a id="a8dcd1b108167803a24f7314f5fce6bc4"></a>
  866. <h2 class="memtitle"><span class="permalink"><a href="#a8dcd1b108167803a24f7314f5fce6bc4">&#9670;&nbsp;</a></span>rename()</h2>
  867. <div class="memitem">
  868. <div class="memproto">
  869. <table class="mlabels">
  870. <tr>
  871. <td class="mlabels-left">
  872. <table class="memname">
  873. <tr>
  874. <td class="memname">bool ExFatVolume::rename </td>
  875. <td>(</td>
  876. <td class="paramtype">const ExChar_t *&#160;</td>
  877. <td class="paramname"><em>oldPath</em>, </td>
  878. </tr>
  879. <tr>
  880. <td class="paramkey"></td>
  881. <td></td>
  882. <td class="paramtype">const ExChar_t *&#160;</td>
  883. <td class="paramname"><em>newPath</em>&#160;</td>
  884. </tr>
  885. <tr>
  886. <td></td>
  887. <td>)</td>
  888. <td></td><td></td>
  889. </tr>
  890. </table>
  891. </td>
  892. <td class="mlabels-right">
  893. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  894. </tr>
  895. </table>
  896. </div><div class="memdoc">
  897. <p>Rename a file or subdirectory.</p>
  898. <dl class="params"><dt>Parameters</dt><dd>
  899. <table class="params">
  900. <tr><td class="paramdir">[in]</td><td class="paramname">oldPath</td><td>Path name to the file or subdirectory to be renamed.</td></tr>
  901. <tr><td class="paramdir">[in]</td><td class="paramname">newPath</td><td>New path name of the file or subdirectory.</td></tr>
  902. </table>
  903. </dd>
  904. </dl>
  905. <p>The <em>newPath</em> object must not exist before the rename call.</p>
  906. <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_ex_fat_volume.html#a8dcd1b108167803a24f7314f5fce6bc4">rename()</a> call.</p>
  907. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  908. </div>
  909. </div>
  910. <a id="ab9e3e7d9538c905ca60b834e244943ee"></a>
  911. <h2 class="memtitle"><span class="permalink"><a href="#ab9e3e7d9538c905ca60b834e244943ee">&#9670;&nbsp;</a></span>rmdir()</h2>
  912. <div class="memitem">
  913. <div class="memproto">
  914. <table class="mlabels">
  915. <tr>
  916. <td class="mlabels-left">
  917. <table class="memname">
  918. <tr>
  919. <td class="memname">bool ExFatVolume::rmdir </td>
  920. <td>(</td>
  921. <td class="paramtype">const ExChar_t *&#160;</td>
  922. <td class="paramname"><em>path</em></td><td>)</td>
  923. <td></td>
  924. </tr>
  925. </table>
  926. </td>
  927. <td class="mlabels-right">
  928. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  929. </tr>
  930. </table>
  931. </div><div class="memdoc">
  932. <p>Remove a subdirectory from the volume's working directory.</p>
  933. <dl class="params"><dt>Parameters</dt><dd>
  934. <table class="params">
  935. <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>
  936. </table>
  937. </dd>
  938. </dl>
  939. <p>The subdirectory file will be removed only if it is empty.</p>
  940. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  941. </div>
  942. </div>
  943. <a id="a658c250984be29febf8f4d2a2ec312a1"></a>
  944. <h2 class="memtitle"><span class="permalink"><a href="#a658c250984be29febf8f4d2a2ec312a1">&#9670;&nbsp;</a></span>rootDirectoryCluster()</h2>
  945. <div class="memitem">
  946. <div class="memproto">
  947. <table class="mlabels">
  948. <tr>
  949. <td class="mlabels-left">
  950. <table class="memname">
  951. <tr>
  952. <td class="memname">uint32_t ExFatPartition::rootDirectoryCluster </td>
  953. <td>(</td>
  954. <td class="paramname"></td><td>)</td>
  955. <td></td>
  956. </tr>
  957. </table>
  958. </td>
  959. <td class="mlabels-right">
  960. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  961. </tr>
  962. </table>
  963. </div><div class="memdoc">
  964. <dl class="section return"><dt>Returns</dt><dd>the root directory start cluster number. </dd></dl>
  965. </div>
  966. </div>
  967. <a id="a9412bd687edc99266c88f8aa87f01c51"></a>
  968. <h2 class="memtitle"><span class="permalink"><a href="#a9412bd687edc99266c88f8aa87f01c51">&#9670;&nbsp;</a></span>rootLength()</h2>
  969. <div class="memitem">
  970. <div class="memproto">
  971. <table class="mlabels">
  972. <tr>
  973. <td class="mlabels-left">
  974. <table class="memname">
  975. <tr>
  976. <td class="memname">uint32_t ExFatPartition::rootLength </td>
  977. <td>(</td>
  978. <td class="paramname"></td><td>)</td>
  979. <td></td>
  980. </tr>
  981. </table>
  982. </td>
  983. <td class="mlabels-right">
  984. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  985. </tr>
  986. </table>
  987. </div><div class="memdoc">
  988. <dl class="section return"><dt>Returns</dt><dd>the root directory length. </dd></dl>
  989. </div>
  990. </div>
  991. <a id="aaa7306ac8ff29f50ec4d919ccaff10d7"></a>
  992. <h2 class="memtitle"><span class="permalink"><a href="#aaa7306ac8ff29f50ec4d919ccaff10d7">&#9670;&nbsp;</a></span>sectorsPerCluster()</h2>
  993. <div class="memitem">
  994. <div class="memproto">
  995. <table class="mlabels">
  996. <tr>
  997. <td class="mlabels-left">
  998. <table class="memname">
  999. <tr>
  1000. <td class="memname">uint32_t ExFatPartition::sectorsPerCluster </td>
  1001. <td>(</td>
  1002. <td class="paramname"></td><td>)</td>
  1003. <td></td>
  1004. </tr>
  1005. </table>
  1006. </td>
  1007. <td class="mlabels-right">
  1008. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1009. </tr>
  1010. </table>
  1011. </div><div class="memdoc">
  1012. <dl class="section return"><dt>Returns</dt><dd>the number of sectors in a cluster. </dd></dl>
  1013. </div>
  1014. </div>
  1015. <a id="ab1624bf02690ee06365207cb8f1d48ac"></a>
  1016. <h2 class="memtitle"><span class="permalink"><a href="#ab1624bf02690ee06365207cb8f1d48ac">&#9670;&nbsp;</a></span>sectorsPerClusterShift()</h2>
  1017. <div class="memitem">
  1018. <div class="memproto">
  1019. <table class="mlabels">
  1020. <tr>
  1021. <td class="mlabels-left">
  1022. <table class="memname">
  1023. <tr>
  1024. <td class="memname">uint8_t ExFatPartition::sectorsPerClusterShift </td>
  1025. <td>(</td>
  1026. <td class="paramname"></td><td>)</td>
  1027. <td></td>
  1028. </tr>
  1029. </table>
  1030. </td>
  1031. <td class="mlabels-right">
  1032. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1033. </tr>
  1034. </table>
  1035. </div><div class="memdoc">
  1036. <dl class="section return"><dt>Returns</dt><dd>the power of two for sectors per cluster. </dd></dl>
  1037. </div>
  1038. </div>
  1039. <a id="ae5cbcdd7907a882b4686cb3ba7e85bcc"></a>
  1040. <h2 class="memtitle"><span class="permalink"><a href="#ae5cbcdd7907a882b4686cb3ba7e85bcc">&#9670;&nbsp;</a></span>truncate()</h2>
  1041. <div class="memitem">
  1042. <div class="memproto">
  1043. <table class="mlabels">
  1044. <tr>
  1045. <td class="mlabels-left">
  1046. <table class="memname">
  1047. <tr>
  1048. <td class="memname">bool ExFatVolume::truncate </td>
  1049. <td>(</td>
  1050. <td class="paramtype">const ExChar_t *&#160;</td>
  1051. <td class="paramname"><em>path</em>, </td>
  1052. </tr>
  1053. <tr>
  1054. <td class="paramkey"></td>
  1055. <td></td>
  1056. <td class="paramtype">uint64_t&#160;</td>
  1057. <td class="paramname"><em>length</em>&#160;</td>
  1058. </tr>
  1059. <tr>
  1060. <td></td>
  1061. <td>)</td>
  1062. <td></td><td></td>
  1063. </tr>
  1064. </table>
  1065. </td>
  1066. <td class="mlabels-right">
  1067. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1068. </tr>
  1069. </table>
  1070. </div><div class="memdoc">
  1071. <p>Truncate a file to a specified length. The current file position will be at the new EOF.</p>
  1072. <dl class="params"><dt>Parameters</dt><dd>
  1073. <table class="params">
  1074. <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>
  1075. <tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The desired length for the file.</td></tr>
  1076. </table>
  1077. </dd>
  1078. </dl>
  1079. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1080. </div>
  1081. </div>
  1082. <hr/>The documentation for this class was generated from the following files:<ul>
  1083. <li>ArduinoSdFat/libraries/SdFat/src/ExFatLib/ExFatVolume.h</li>
  1084. <li>ArduinoSdFat/libraries/SdFat/src/ExFatLib/ExFatVolume.cpp</li>
  1085. </ul>
  1086. </div><!-- contents -->
  1087. <!-- start footer part -->
  1088. <hr class="footer"/><address class="footer"><small>
  1089. Generated on Thu May 9 2019 06:51:28 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  1090. <img class="footer" src="doxygen.png" alt="doxygen"/>
  1091. </a> 1.8.14
  1092. </small></address>
  1093. </body>
  1094. </html>