You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

class_ex_fat_volume.html 70KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.16"/>
  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.16 -->
  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" title="exFAT volume." alt="" coords="40,80,141,107"/>
  79. <area shape="rect" href="class_sd_base.html" title=" " alt="" coords="5,155,176,181"/>
  80. <area shape="rect" href="class_ex_fat_partition.html" title="Access exFat partitions on raw file devices." alt="" coords="38,5,143,32"/>
  81. <area shape="rect" href="class_sd_ex_fat.html" title="SD file system class for exFAT volumes." alt="" coords="54,229,127,256"/>
  82. </map>
  83. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  84. <div class="dynheader">
  85. Collaboration diagram for ExFatVolume:</div>
  86. <div class="dyncontent">
  87. <div class="center"><img src="class_ex_fat_volume__coll__graph.png" border="0" usemap="#_ex_fat_volume_coll__map" alt="Collaboration graph"/></div>
  88. <map name="_ex_fat_volume_coll__map" id="_ex_fat_volume_coll__map">
  89. <area shape="rect" title="exFAT volume." alt="" coords="7,80,109,107"/>
  90. <area shape="rect" href="class_ex_fat_partition.html" title="Access exFat partitions on raw file devices." alt="" coords="5,5,111,32"/>
  91. </map>
  92. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  93. <table class="memberdecls">
  94. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  95. Public Member Functions</h2></td></tr>
  96. <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>
  97. <tr class="separator:ade318d2517a1bd3abe56e9e530fdcd78"><td class="memSeparator" colspan="2">&#160;</td></tr>
  98. <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>
  99. <tr class="separator:a1da789000f42592f9509df843fdd50c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <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>
  101. <tr class="separator:a64825a52f754bdcb02c8632f5fd15373"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <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>
  103. <tr class="separator:adea3221412eb4bf5c19b6311573135f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. <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>
  105. <tr class="separator:a715f3574452c27ecf51b66208ce5e4a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <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>
  107. <tr class="separator:a63fac808e421ed5c8e72a37616ac56ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <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>
  109. <tr class="separator:abdc1addfc9474bf42cab31bcb49b4b65"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. <tr class="memitem:a4e0a0e838088f31b15a36925f21c314c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#a4e0a0e838088f31b15a36925f21c314c">chdir</a> (const ExChar_t *path)</td></tr>
  111. <tr class="separator:a4e0a0e838088f31b15a36925f21c314c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr class="memitem:afb7a1d7e4de9690b2c63cc8cd22ab4b5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#afb7a1d7e4de9690b2c63cc8cd22ab4b5">chdir</a> (const String &amp;path)</td></tr>
  113. <tr class="separator:afb7a1d7e4de9690b2c63cc8cd22ab4b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <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>
  115. <tr class="separator:a6bcabab1ded2e71c1272c1baf009c2ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <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>
  117. <tr class="separator:ac01eb583924286617b0ee8fcf7409ac0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <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>
  119. <tr class="separator:a58b96587b787f4164eb719913dfbaaf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <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>
  121. <tr class="separator:a7fdcdffb720a1cca5cfa73f4cfa281df"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:af705d3a2434d64efebaa5b3615131dc5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#af705d3a2434d64efebaa5b3615131dc5">exists</a> (const String &amp;path)</td></tr>
  123. <tr class="separator:af705d3a2434d64efebaa5b3615131dc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <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>
  125. <tr class="separator:aa7d1ae15168896ccc2648b4c383b34eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <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>
  127. <tr class="separator:a9eff9e65b511ec06b62856bff8ed29eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <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>
  129. <tr class="separator:a3e63d87b4ef985f92c1793d269274f44"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <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>
  131. <tr class="separator:ae6d4414d6440b79b6314cd1edbaa35b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <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>
  133. <tr class="separator:adb1d277492dccba09031e2064f4fa66f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="memitem:abe74c248cfe9d57d9a10f651203df9dc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#abe74c248cfe9d57d9a10f651203df9dc">ls</a> ()</td></tr>
  135. <tr class="separator:abe74c248cfe9d57d9a10f651203df9dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <tr class="memitem:ad3a1aa9f64361b81d0cfe5b9f5de3891"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#ad3a1aa9f64361b81d0cfe5b9f5de3891">ls</a> (const ExChar_t *path, uint8_t flags=0)</td></tr>
  137. <tr class="separator:ad3a1aa9f64361b81d0cfe5b9f5de3891"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <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#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr, const ExChar_t *path, uint8_t flags)</td></tr>
  139. <tr class="separator:aad2de66514174edb37b0fe7e44b33abf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <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#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr, uint8_t flags=0)</td></tr>
  141. <tr class="separator:abe1e8cad0a5922984b28edfd987bc856"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. <tr class="memitem:ae883a72fbfe40f9a6fe6c6bf349d5c1f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#ae883a72fbfe40f9a6fe6c6bf349d5c1f">ls</a> (uint8_t flags)</td></tr>
  143. <tr class="separator:ae883a72fbfe40f9a6fe6c6bf349d5c1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <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>
  145. <tr class="separator:a407b93b16554b26ff52f7b762a9217aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <tr class="memitem:a0f4cf7e2853225380574724314327597"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#a0f4cf7e2853225380574724314327597">mkdir</a> (const String &amp;path, bool pFlag=true)</td></tr>
  147. <tr class="separator:a0f4cf7e2853225380574724314327597"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <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>
  149. <tr class="separator:a0807cfcef46ef74cfe238badb83f3dda"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:adce2c8ab2f73f56614b08fac42cabaea"><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#adce2c8ab2f73f56614b08fac42cabaea">open</a> (const String &amp;path, oflag_t oflag=0X00)</td></tr>
  151. <tr class="separator:adce2c8ab2f73f56614b08fac42cabaea"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. <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>
  153. <tr class="separator:a58061d05f5dc5a52706cdd61a1a86e80"><td class="memSeparator" colspan="2">&#160;</td></tr>
  154. <tr class="memitem:adc22ad4ce966654944b18d31fc6ac5ee"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#adc22ad4ce966654944b18d31fc6ac5ee">remove</a> (const String &amp;path)</td></tr>
  155. <tr class="separator:adc22ad4ce966654944b18d31fc6ac5ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
  156. <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>
  157. <tr class="separator:a8dcd1b108167803a24f7314f5fce6bc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  158. <tr class="memitem:a1396c06f6c5e138889125d2f62cdbdcb"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#a1396c06f6c5e138889125d2f62cdbdcb">rename</a> (const String &amp;oldPath, const String &amp;newPath)</td></tr>
  159. <tr class="separator:a1396c06f6c5e138889125d2f62cdbdcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  160. <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>
  161. <tr class="separator:ab9e3e7d9538c905ca60b834e244943ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
  162. <tr class="memitem:af0adfad817e085d676479fefbb343197"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#af0adfad817e085d676479fefbb343197">rmdir</a> (const String &amp;path)</td></tr>
  163. <tr class="separator:af0adfad817e085d676479fefbb343197"><td class="memSeparator" colspan="2">&#160;</td></tr>
  164. <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>
  165. <tr class="separator:a658c250984be29febf8f4d2a2ec312a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  166. <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>
  167. <tr class="separator:a9412bd687edc99266c88f8aa87f01c51"><td class="memSeparator" colspan="2">&#160;</td></tr>
  168. <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>
  169. <tr class="separator:aaa7306ac8ff29f50ec4d919ccaff10d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  170. <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>
  171. <tr class="separator:ab1624bf02690ee06365207cb8f1d48ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
  172. <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>
  173. <tr class="separator:ae5cbcdd7907a882b4686cb3ba7e85bcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  174. <tr class="memitem:ae6d409b7f24593dca7aae70513e18b70"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_volume.html#ae6d409b7f24593dca7aae70513e18b70">truncate</a> (const String &amp;path, uint64_t length)</td></tr>
  175. <tr class="separator:ae6d409b7f24593dca7aae70513e18b70"><td class="memSeparator" colspan="2">&#160;</td></tr>
  176. </table><table class="memberdecls">
  177. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
  178. Static Public Member Functions</h2></td></tr>
  179. <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>
  180. <tr class="separator:a5b2a874ef0306425bf54c18454771b45"><td class="memSeparator" colspan="2">&#160;</td></tr>
  181. </table>
  182. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  183. <div class="textblock"><p>exFAT volume. </p>
  184. <p>Copyright (c) 2011-2019 Bill Greiman This file is part of the SdFat library for SD memory cards.</p>
  185. <p>MIT License</p>
  186. <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>
  187. <p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
  188. <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>
  189. </div><h2 class="groupheader">Member Function Documentation</h2>
  190. <a id="ade318d2517a1bd3abe56e9e530fdcd78"></a>
  191. <h2 class="memtitle"><span class="permalink"><a href="#ade318d2517a1bd3abe56e9e530fdcd78">&#9670;&nbsp;</a></span>begin()</h2>
  192. <div class="memitem">
  193. <div class="memproto">
  194. <table class="mlabels">
  195. <tr>
  196. <td class="mlabels-left">
  197. <table class="memname">
  198. <tr>
  199. <td class="memname">bool ExFatVolume::begin </td>
  200. <td>(</td>
  201. <td class="paramtype"><a class="el" href="class_sd_spi_card.html">BlockDevice</a> *&#160;</td>
  202. <td class="paramname"><em>dev</em>, </td>
  203. </tr>
  204. <tr>
  205. <td class="paramkey"></td>
  206. <td></td>
  207. <td class="paramtype">bool&#160;</td>
  208. <td class="paramname"><em>setCwv</em> = <code>true</code>, </td>
  209. </tr>
  210. <tr>
  211. <td class="paramkey"></td>
  212. <td></td>
  213. <td class="paramtype">uint8_t&#160;</td>
  214. <td class="paramname"><em>part</em> = <code>1</code>&#160;</td>
  215. </tr>
  216. <tr>
  217. <td></td>
  218. <td>)</td>
  219. <td></td><td></td>
  220. </tr>
  221. </table>
  222. </td>
  223. <td class="mlabels-right">
  224. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  225. </tr>
  226. </table>
  227. </div><div class="memdoc">
  228. <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>
  229. <table class="params">
  230. <tr><td class="paramdir">[in]</td><td class="paramname">dev</td><td>Device block driver. </td></tr>
  231. <tr><td class="paramdir">[in]</td><td class="paramname">setCwv</td><td>Set current working volume if true. </td></tr>
  232. <tr><td class="paramdir">[in]</td><td class="paramname">part</td><td>partition to initialize. </td></tr>
  233. </table>
  234. </dd>
  235. </dl>
  236. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  237. </div>
  238. </div>
  239. <a id="a1da789000f42592f9509df843fdd50c8"></a>
  240. <h2 class="memtitle"><span class="permalink"><a href="#a1da789000f42592f9509df843fdd50c8">&#9670;&nbsp;</a></span>bytesPerCluster()</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">uint32_t ExFatPartition::bytesPerCluster </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 number of bytes in a cluster. </dd></dl>
  261. </div>
  262. </div>
  263. <a id="a64825a52f754bdcb02c8632f5fd15373"></a>
  264. <h2 class="memtitle"><span class="permalink"><a href="#a64825a52f754bdcb02c8632f5fd15373">&#9670;&nbsp;</a></span>bytesPerClusterShift()</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">uint8_t ExFatPartition::bytesPerClusterShift </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 power of two for bytesPerCluster. </dd></dl>
  285. </div>
  286. </div>
  287. <a id="adea3221412eb4bf5c19b6311573135f8"></a>
  288. <h2 class="memtitle"><span class="permalink"><a href="#adea3221412eb4bf5c19b6311573135f8">&#9670;&nbsp;</a></span>bytesPerSector()</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">uint16_t ExFatPartition::bytesPerSector </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 number of bytes in a sector. </dd></dl>
  309. </div>
  310. </div>
  311. <a id="a715f3574452c27ecf51b66208ce5e4a7"></a>
  312. <h2 class="memtitle"><span class="permalink"><a href="#a715f3574452c27ecf51b66208ce5e4a7">&#9670;&nbsp;</a></span>bytesPerSectorShift()</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::bytesPerSectorShift </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. <dl class="section return"><dt>Returns</dt><dd>the power of two for bytesPerSector. </dd></dl>
  333. </div>
  334. </div>
  335. <a id="a63fac808e421ed5c8e72a37616ac56ac"></a>
  336. <h2 class="memtitle"><span class="permalink"><a href="#a63fac808e421ed5c8e72a37616ac56ac">&#9670;&nbsp;</a></span>cacheClear()</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">uint8_t* ExFatPartition::cacheClear </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 class="mlabel">inherited</span></span> </td>
  353. </tr>
  354. </table>
  355. </div><div class="memdoc">
  356. <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>
  357. </div>
  358. </div>
  359. <a id="abdc1addfc9474bf42cab31bcb49b4b65"></a>
  360. <h2 class="memtitle"><span class="permalink"><a href="#abdc1addfc9474bf42cab31bcb49b4b65">&#9670;&nbsp;</a></span>chdir() <span class="overload">[1/3]</span></h2>
  361. <div class="memitem">
  362. <div class="memproto">
  363. <table class="mlabels">
  364. <tr>
  365. <td class="mlabels-left">
  366. <table class="memname">
  367. <tr>
  368. <td class="memname">bool ExFatVolume::chdir </td>
  369. <td>(</td>
  370. <td class="paramname"></td><td>)</td>
  371. <td></td>
  372. </tr>
  373. </table>
  374. </td>
  375. <td class="mlabels-right">
  376. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  377. </tr>
  378. </table>
  379. </div><div class="memdoc">
  380. <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>
  381. </div>
  382. </div>
  383. <a id="a4e0a0e838088f31b15a36925f21c314c"></a>
  384. <h2 class="memtitle"><span class="permalink"><a href="#a4e0a0e838088f31b15a36925f21c314c">&#9670;&nbsp;</a></span>chdir() <span class="overload">[2/3]</span></h2>
  385. <div class="memitem">
  386. <div class="memproto">
  387. <table class="memname">
  388. <tr>
  389. <td class="memname">bool ExFatVolume::chdir </td>
  390. <td>(</td>
  391. <td class="paramtype">const ExChar_t *&#160;</td>
  392. <td class="paramname"><em>path</em></td><td>)</td>
  393. <td></td>
  394. </tr>
  395. </table>
  396. </div><div class="memdoc">
  397. <p>Set volume working directory. </p><dl class="params"><dt>Parameters</dt><dd>
  398. <table class="params">
  399. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>Path for volume working directory. </td></tr>
  400. </table>
  401. </dd>
  402. </dl>
  403. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  404. </div>
  405. </div>
  406. <a id="afb7a1d7e4de9690b2c63cc8cd22ab4b5"></a>
  407. <h2 class="memtitle"><span class="permalink"><a href="#afb7a1d7e4de9690b2c63cc8cd22ab4b5">&#9670;&nbsp;</a></span>chdir() <span class="overload">[3/3]</span></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">bool ExFatVolume::chdir </td>
  416. <td>(</td>
  417. <td class="paramtype">const String &amp;&#160;</td>
  418. <td class="paramname"><em>path</em></td><td>)</td>
  419. <td></td>
  420. </tr>
  421. </table>
  422. </td>
  423. <td class="mlabels-right">
  424. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  425. </tr>
  426. </table>
  427. </div><div class="memdoc">
  428. <p>Set volume working directory. </p><dl class="params"><dt>Parameters</dt><dd>
  429. <table class="params">
  430. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>Path for volume working directory. </td></tr>
  431. </table>
  432. </dd>
  433. </dl>
  434. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  435. </div>
  436. </div>
  437. <a id="a6bcabab1ded2e71c1272c1baf009c2ab"></a>
  438. <h2 class="memtitle"><span class="permalink"><a href="#a6bcabab1ded2e71c1272c1baf009c2ab">&#9670;&nbsp;</a></span>chvol()</h2>
  439. <div class="memitem">
  440. <div class="memproto">
  441. <table class="mlabels">
  442. <tr>
  443. <td class="mlabels-left">
  444. <table class="memname">
  445. <tr>
  446. <td class="memname">void ExFatVolume::chvol </td>
  447. <td>(</td>
  448. <td class="paramname"></td><td>)</td>
  449. <td></td>
  450. </tr>
  451. </table>
  452. </td>
  453. <td class="mlabels-right">
  454. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  455. </tr>
  456. </table>
  457. </div><div class="memdoc">
  458. <p>Change global working volume to this volume. </p>
  459. </div>
  460. </div>
  461. <a id="ac01eb583924286617b0ee8fcf7409ac0"></a>
  462. <h2 class="memtitle"><span class="permalink"><a href="#ac01eb583924286617b0ee8fcf7409ac0">&#9670;&nbsp;</a></span>clusterCount()</h2>
  463. <div class="memitem">
  464. <div class="memproto">
  465. <table class="mlabels">
  466. <tr>
  467. <td class="mlabels-left">
  468. <table class="memname">
  469. <tr>
  470. <td class="memname">uint32_t ExFatPartition::clusterCount </td>
  471. <td>(</td>
  472. <td class="paramname"></td><td>)</td>
  473. <td></td>
  474. </tr>
  475. </table>
  476. </td>
  477. <td class="mlabels-right">
  478. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  479. </tr>
  480. </table>
  481. </div><div class="memdoc">
  482. <dl class="section return"><dt>Returns</dt><dd>the cluster count for the partition. </dd></dl>
  483. </div>
  484. </div>
  485. <a id="a58b96587b787f4164eb719913dfbaaf5"></a>
  486. <h2 class="memtitle"><span class="permalink"><a href="#a58b96587b787f4164eb719913dfbaaf5">&#9670;&nbsp;</a></span>clusterHeapStartSector()</h2>
  487. <div class="memitem">
  488. <div class="memproto">
  489. <table class="mlabels">
  490. <tr>
  491. <td class="mlabels-left">
  492. <table class="memname">
  493. <tr>
  494. <td class="memname">uint32_t ExFatPartition::clusterHeapStartSector </td>
  495. <td>(</td>
  496. <td class="paramname"></td><td>)</td>
  497. <td></td>
  498. </tr>
  499. </table>
  500. </td>
  501. <td class="mlabels-right">
  502. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  503. </tr>
  504. </table>
  505. </div><div class="memdoc">
  506. <dl class="section return"><dt>Returns</dt><dd>the cluster heap start sector. </dd></dl>
  507. </div>
  508. </div>
  509. <a id="a5b2a874ef0306425bf54c18454771b45"></a>
  510. <h2 class="memtitle"><span class="permalink"><a href="#a5b2a874ef0306425bf54c18454771b45">&#9670;&nbsp;</a></span>cwv()</h2>
  511. <div class="memitem">
  512. <div class="memproto">
  513. <table class="mlabels">
  514. <tr>
  515. <td class="mlabels-left">
  516. <table class="memname">
  517. <tr>
  518. <td class="memname">static <a class="el" href="class_ex_fat_volume.html">ExFatVolume</a>* ExFatVolume::cwv </td>
  519. <td>(</td>
  520. <td class="paramname"></td><td>)</td>
  521. <td></td>
  522. </tr>
  523. </table>
  524. </td>
  525. <td class="mlabels-right">
  526. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
  527. </tr>
  528. </table>
  529. </div><div class="memdoc">
  530. <dl class="section return"><dt>Returns</dt><dd>current working volume. </dd></dl>
  531. </div>
  532. </div>
  533. <a id="a7fdcdffb720a1cca5cfa73f4cfa281df"></a>
  534. <h2 class="memtitle"><span class="permalink"><a href="#a7fdcdffb720a1cca5cfa73f4cfa281df">&#9670;&nbsp;</a></span>exists() <span class="overload">[1/2]</span></h2>
  535. <div class="memitem">
  536. <div class="memproto">
  537. <table class="mlabels">
  538. <tr>
  539. <td class="mlabels-left">
  540. <table class="memname">
  541. <tr>
  542. <td class="memname">bool ExFatVolume::exists </td>
  543. <td>(</td>
  544. <td class="paramtype">const ExChar_t *&#160;</td>
  545. <td class="paramname"><em>path</em></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> </td>
  552. </tr>
  553. </table>
  554. </div><div class="memdoc">
  555. <p>Test for the existence of a file.</p>
  556. <dl class="params"><dt>Parameters</dt><dd>
  557. <table class="params">
  558. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>Path of the file to be tested for.</td></tr>
  559. </table>
  560. </dd>
  561. </dl>
  562. <dl class="section return"><dt>Returns</dt><dd>true if the file exists else false. </dd></dl>
  563. </div>
  564. </div>
  565. <a id="af705d3a2434d64efebaa5b3615131dc5"></a>
  566. <h2 class="memtitle"><span class="permalink"><a href="#af705d3a2434d64efebaa5b3615131dc5">&#9670;&nbsp;</a></span>exists() <span class="overload">[2/2]</span></h2>
  567. <div class="memitem">
  568. <div class="memproto">
  569. <table class="mlabels">
  570. <tr>
  571. <td class="mlabels-left">
  572. <table class="memname">
  573. <tr>
  574. <td class="memname">bool ExFatVolume::exists </td>
  575. <td>(</td>
  576. <td class="paramtype">const String &amp;&#160;</td>
  577. <td class="paramname"><em>path</em></td><td>)</td>
  578. <td></td>
  579. </tr>
  580. </table>
  581. </td>
  582. <td class="mlabels-right">
  583. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  584. </tr>
  585. </table>
  586. </div><div class="memdoc">
  587. <p>Test for the existence of a file in a directory</p>
  588. <dl class="params"><dt>Parameters</dt><dd>
  589. <table class="params">
  590. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>Path of the file to be tested for.</td></tr>
  591. </table>
  592. </dd>
  593. </dl>
  594. <dl class="section return"><dt>Returns</dt><dd>true if the file exists else false. </dd></dl>
  595. </div>
  596. </div>
  597. <a id="aa7d1ae15168896ccc2648b4c383b34eb"></a>
  598. <h2 class="memtitle"><span class="permalink"><a href="#aa7d1ae15168896ccc2648b4c383b34eb">&#9670;&nbsp;</a></span>fatLength()</h2>
  599. <div class="memitem">
  600. <div class="memproto">
  601. <table class="mlabels">
  602. <tr>
  603. <td class="mlabels-left">
  604. <table class="memname">
  605. <tr>
  606. <td class="memname">uint32_t ExFatPartition::fatLength </td>
  607. <td>(</td>
  608. <td class="paramname"></td><td>)</td>
  609. <td></td>
  610. </tr>
  611. </table>
  612. </td>
  613. <td class="mlabels-right">
  614. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  615. </tr>
  616. </table>
  617. </div><div class="memdoc">
  618. <dl class="section return"><dt>Returns</dt><dd>the FAT length in sectors </dd></dl>
  619. </div>
  620. </div>
  621. <a id="a9eff9e65b511ec06b62856bff8ed29eb"></a>
  622. <h2 class="memtitle"><span class="permalink"><a href="#a9eff9e65b511ec06b62856bff8ed29eb">&#9670;&nbsp;</a></span>fatStartSector()</h2>
  623. <div class="memitem">
  624. <div class="memproto">
  625. <table class="mlabels">
  626. <tr>
  627. <td class="mlabels-left">
  628. <table class="memname">
  629. <tr>
  630. <td class="memname">uint32_t ExFatPartition::fatStartSector </td>
  631. <td>(</td>
  632. <td class="paramname"></td><td>)</td>
  633. <td></td>
  634. </tr>
  635. </table>
  636. </td>
  637. <td class="mlabels-right">
  638. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  639. </tr>
  640. </table>
  641. </div><div class="memdoc">
  642. <dl class="section return"><dt>Returns</dt><dd>the FAT start sector number. </dd></dl>
  643. </div>
  644. </div>
  645. <a id="a3e63d87b4ef985f92c1793d269274f44"></a>
  646. <h2 class="memtitle"><span class="permalink"><a href="#a3e63d87b4ef985f92c1793d269274f44">&#9670;&nbsp;</a></span>fatType()</h2>
  647. <div class="memitem">
  648. <div class="memproto">
  649. <table class="mlabels">
  650. <tr>
  651. <td class="mlabels-left">
  652. <table class="memname">
  653. <tr>
  654. <td class="memname">uint8_t ExFatPartition::fatType </td>
  655. <td>(</td>
  656. <td class="paramname"></td><td>)</td>
  657. <td> const</td>
  658. </tr>
  659. </table>
  660. </td>
  661. <td class="mlabels-right">
  662. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  663. </tr>
  664. </table>
  665. </div><div class="memdoc">
  666. <dl class="section return"><dt>Returns</dt><dd>Type FAT_TYPE_EXFAT for exFAT partition or zero for error. </dd></dl>
  667. </div>
  668. </div>
  669. <a id="ae6d4414d6440b79b6314cd1edbaa35b0"></a>
  670. <h2 class="memtitle"><span class="permalink"><a href="#ae6d4414d6440b79b6314cd1edbaa35b0">&#9670;&nbsp;</a></span>freeClusterCount()</h2>
  671. <div class="memitem">
  672. <div class="memproto">
  673. <table class="mlabels">
  674. <tr>
  675. <td class="mlabels-left">
  676. <table class="memname">
  677. <tr>
  678. <td class="memname">uint32_t ExFatPartition::freeClusterCount </td>
  679. <td>(</td>
  680. <td class="paramname"></td><td>)</td>
  681. <td></td>
  682. </tr>
  683. </table>
  684. </td>
  685. <td class="mlabels-right">
  686. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  687. </tr>
  688. </table>
  689. </div><div class="memdoc">
  690. <dl class="section return"><dt>Returns</dt><dd>the free cluster count. </dd></dl>
  691. </div>
  692. </div>
  693. <a id="adb1d277492dccba09031e2064f4fa66f"></a>
  694. <h2 class="memtitle"><span class="permalink"><a href="#adb1d277492dccba09031e2064f4fa66f">&#9670;&nbsp;</a></span>init()</h2>
  695. <div class="memitem">
  696. <div class="memproto">
  697. <table class="mlabels">
  698. <tr>
  699. <td class="mlabels-left">
  700. <table class="memname">
  701. <tr>
  702. <td class="memname">bool ExFatPartition::init </td>
  703. <td>(</td>
  704. <td class="paramtype"><a class="el" href="class_sd_spi_card.html">BlockDevice</a> *&#160;</td>
  705. <td class="paramname"><em>dev</em>, </td>
  706. </tr>
  707. <tr>
  708. <td class="paramkey"></td>
  709. <td></td>
  710. <td class="paramtype">uint8_t&#160;</td>
  711. <td class="paramname"><em>part</em>&#160;</td>
  712. </tr>
  713. <tr>
  714. <td></td>
  715. <td>)</td>
  716. <td></td><td></td>
  717. </tr>
  718. </table>
  719. </td>
  720. <td class="mlabels-right">
  721. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  722. </tr>
  723. </table>
  724. </div><div class="memdoc">
  725. <p>Initialize a exFAT partition. </p><dl class="params"><dt>Parameters</dt><dd>
  726. <table class="params">
  727. <tr><td class="paramdir">[in]</td><td class="paramname">dev</td><td>The blockDevice for the partition. </td></tr>
  728. <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>
  729. </table>
  730. </dd>
  731. </dl>
  732. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  733. </div>
  734. </div>
  735. <a id="abe74c248cfe9d57d9a10f651203df9dc"></a>
  736. <h2 class="memtitle"><span class="permalink"><a href="#abe74c248cfe9d57d9a10f651203df9dc">&#9670;&nbsp;</a></span>ls() <span class="overload">[1/5]</span></h2>
  737. <div class="memitem">
  738. <div class="memproto">
  739. <table class="mlabels">
  740. <tr>
  741. <td class="mlabels-left">
  742. <table class="memname">
  743. <tr>
  744. <td class="memname">bool ExFatVolume::ls </td>
  745. <td>(</td>
  746. <td class="paramname"></td><td>)</td>
  747. <td></td>
  748. </tr>
  749. </table>
  750. </td>
  751. <td class="mlabels-right">
  752. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  753. </tr>
  754. </table>
  755. </div><div class="memdoc">
  756. <p>List the directory contents of the root directory to Serial.</p>
  757. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  758. </div>
  759. </div>
  760. <a id="ad3a1aa9f64361b81d0cfe5b9f5de3891"></a>
  761. <h2 class="memtitle"><span class="permalink"><a href="#ad3a1aa9f64361b81d0cfe5b9f5de3891">&#9670;&nbsp;</a></span>ls() <span class="overload">[2/5]</span></h2>
  762. <div class="memitem">
  763. <div class="memproto">
  764. <table class="mlabels">
  765. <tr>
  766. <td class="mlabels-left">
  767. <table class="memname">
  768. <tr>
  769. <td class="memname">bool ExFatVolume::ls </td>
  770. <td>(</td>
  771. <td class="paramtype">const ExChar_t *&#160;</td>
  772. <td class="paramname"><em>path</em>, </td>
  773. </tr>
  774. <tr>
  775. <td class="paramkey"></td>
  776. <td></td>
  777. <td class="paramtype">uint8_t&#160;</td>
  778. <td class="paramname"><em>flags</em> = <code>0</code>&#160;</td>
  779. </tr>
  780. <tr>
  781. <td></td>
  782. <td>)</td>
  783. <td></td><td></td>
  784. </tr>
  785. </table>
  786. </td>
  787. <td class="mlabels-right">
  788. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  789. </tr>
  790. </table>
  791. </div><div class="memdoc">
  792. <p>List the directory contents of a directory to Serial.</p>
  793. <dl class="params"><dt>Parameters</dt><dd>
  794. <table class="params">
  795. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>directory to list.</td></tr>
  796. <tr><td class="paramdir">[in]</td><td class="paramname">flags</td><td>The inclusive OR of</td></tr>
  797. </table>
  798. </dd>
  799. </dl>
  800. <p>LS_DATE - Print file modification date</p>
  801. <p>LS_SIZE - Print file size.</p>
  802. <p>LS_R - Recursive list of subdirectories.</p>
  803. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  804. </div>
  805. </div>
  806. <a id="aad2de66514174edb37b0fe7e44b33abf"></a>
  807. <h2 class="memtitle"><span class="permalink"><a href="#aad2de66514174edb37b0fe7e44b33abf">&#9670;&nbsp;</a></span>ls() <span class="overload">[3/5]</span></h2>
  808. <div class="memitem">
  809. <div class="memproto">
  810. <table class="mlabels">
  811. <tr>
  812. <td class="mlabels-left">
  813. <table class="memname">
  814. <tr>
  815. <td class="memname">bool ExFatVolume::ls </td>
  816. <td>(</td>
  817. <td class="paramtype"><a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  818. <td class="paramname"><em>pr</em>, </td>
  819. </tr>
  820. <tr>
  821. <td class="paramkey"></td>
  822. <td></td>
  823. <td class="paramtype">const ExChar_t *&#160;</td>
  824. <td class="paramname"><em>path</em>, </td>
  825. </tr>
  826. <tr>
  827. <td class="paramkey"></td>
  828. <td></td>
  829. <td class="paramtype">uint8_t&#160;</td>
  830. <td class="paramname"><em>flags</em>&#160;</td>
  831. </tr>
  832. <tr>
  833. <td></td>
  834. <td>)</td>
  835. <td></td><td></td>
  836. </tr>
  837. </table>
  838. </td>
  839. <td class="mlabels-right">
  840. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  841. </tr>
  842. </table>
  843. </div><div class="memdoc">
  844. <p>List the contents of a directory.</p>
  845. <dl class="params"><dt>Parameters</dt><dd>
  846. <table class="params">
  847. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for list.</td></tr>
  848. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>directory to list.</td></tr>
  849. <tr><td class="paramdir">[in]</td><td class="paramname">flags</td><td>The inclusive OR of</td></tr>
  850. </table>
  851. </dd>
  852. </dl>
  853. <p>LS_DATE - Print file modification date</p>
  854. <p>LS_SIZE - Print file size.</p>
  855. <p>LS_R - Recursive list of subdirectories.</p>
  856. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  857. </div>
  858. </div>
  859. <a id="abe1e8cad0a5922984b28edfd987bc856"></a>
  860. <h2 class="memtitle"><span class="permalink"><a href="#abe1e8cad0a5922984b28edfd987bc856">&#9670;&nbsp;</a></span>ls() <span class="overload">[4/5]</span></h2>
  861. <div class="memitem">
  862. <div class="memproto">
  863. <table class="mlabels">
  864. <tr>
  865. <td class="mlabels-left">
  866. <table class="memname">
  867. <tr>
  868. <td class="memname">bool ExFatVolume::ls </td>
  869. <td>(</td>
  870. <td class="paramtype"><a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  871. <td class="paramname"><em>pr</em>, </td>
  872. </tr>
  873. <tr>
  874. <td class="paramkey"></td>
  875. <td></td>
  876. <td class="paramtype">uint8_t&#160;</td>
  877. <td class="paramname"><em>flags</em> = <code>0</code>&#160;</td>
  878. </tr>
  879. <tr>
  880. <td></td>
  881. <td>)</td>
  882. <td></td><td></td>
  883. </tr>
  884. </table>
  885. </td>
  886. <td class="mlabels-right">
  887. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  888. </tr>
  889. </table>
  890. </div><div class="memdoc">
  891. <p>List the directory contents of the root directory.</p>
  892. <dl class="params"><dt>Parameters</dt><dd>
  893. <table class="params">
  894. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for list.</td></tr>
  895. <tr><td class="paramdir">[in]</td><td class="paramname">flags</td><td>The inclusive OR of</td></tr>
  896. </table>
  897. </dd>
  898. </dl>
  899. <p>LS_DATE - Print file modification date</p>
  900. <p>LS_SIZE - Print file size.</p>
  901. <p>LS_R - Recursive list of subdirectories.</p>
  902. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  903. </div>
  904. </div>
  905. <a id="ae883a72fbfe40f9a6fe6c6bf349d5c1f"></a>
  906. <h2 class="memtitle"><span class="permalink"><a href="#ae883a72fbfe40f9a6fe6c6bf349d5c1f">&#9670;&nbsp;</a></span>ls() <span class="overload">[5/5]</span></h2>
  907. <div class="memitem">
  908. <div class="memproto">
  909. <table class="mlabels">
  910. <tr>
  911. <td class="mlabels-left">
  912. <table class="memname">
  913. <tr>
  914. <td class="memname">bool ExFatVolume::ls </td>
  915. <td>(</td>
  916. <td class="paramtype">uint8_t&#160;</td>
  917. <td class="paramname"><em>flags</em></td><td>)</td>
  918. <td></td>
  919. </tr>
  920. </table>
  921. </td>
  922. <td class="mlabels-right">
  923. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  924. </tr>
  925. </table>
  926. </div><div class="memdoc">
  927. <p>List the directory contents of the volume root to Serial.</p>
  928. <dl class="params"><dt>Parameters</dt><dd>
  929. <table class="params">
  930. <tr><td class="paramdir">[in]</td><td class="paramname">flags</td><td>The inclusive OR of</td></tr>
  931. </table>
  932. </dd>
  933. </dl>
  934. <p>LS_DATE - Print file modification date</p>
  935. <p>LS_SIZE - Print file size.</p>
  936. <p>LS_R - Recursive list of subdirectories.</p>
  937. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  938. </div>
  939. </div>
  940. <a id="a407b93b16554b26ff52f7b762a9217aa"></a>
  941. <h2 class="memtitle"><span class="permalink"><a href="#a407b93b16554b26ff52f7b762a9217aa">&#9670;&nbsp;</a></span>mkdir() <span class="overload">[1/2]</span></h2>
  942. <div class="memitem">
  943. <div class="memproto">
  944. <table class="mlabels">
  945. <tr>
  946. <td class="mlabels-left">
  947. <table class="memname">
  948. <tr>
  949. <td class="memname">bool ExFatVolume::mkdir </td>
  950. <td>(</td>
  951. <td class="paramtype">const ExChar_t *&#160;</td>
  952. <td class="paramname"><em>path</em>, </td>
  953. </tr>
  954. <tr>
  955. <td class="paramkey"></td>
  956. <td></td>
  957. <td class="paramtype">bool&#160;</td>
  958. <td class="paramname"><em>pFlag</em> = <code>true</code>&#160;</td>
  959. </tr>
  960. <tr>
  961. <td></td>
  962. <td>)</td>
  963. <td></td><td></td>
  964. </tr>
  965. </table>
  966. </td>
  967. <td class="mlabels-right">
  968. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  969. </tr>
  970. </table>
  971. </div><div class="memdoc">
  972. <p>Make a subdirectory in the volume root directory.</p>
  973. <dl class="params"><dt>Parameters</dt><dd>
  974. <table class="params">
  975. <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>
  976. <tr><td class="paramdir">[in]</td><td class="paramname">pFlag</td><td>Create missing parent directories if true.</td></tr>
  977. </table>
  978. </dd>
  979. </dl>
  980. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  981. </div>
  982. </div>
  983. <a id="a0f4cf7e2853225380574724314327597"></a>
  984. <h2 class="memtitle"><span class="permalink"><a href="#a0f4cf7e2853225380574724314327597">&#9670;&nbsp;</a></span>mkdir() <span class="overload">[2/2]</span></h2>
  985. <div class="memitem">
  986. <div class="memproto">
  987. <table class="mlabels">
  988. <tr>
  989. <td class="mlabels-left">
  990. <table class="memname">
  991. <tr>
  992. <td class="memname">bool ExFatVolume::mkdir </td>
  993. <td>(</td>
  994. <td class="paramtype">const String &amp;&#160;</td>
  995. <td class="paramname"><em>path</em>, </td>
  996. </tr>
  997. <tr>
  998. <td class="paramkey"></td>
  999. <td></td>
  1000. <td class="paramtype">bool&#160;</td>
  1001. <td class="paramname"><em>pFlag</em> = <code>true</code>&#160;</td>
  1002. </tr>
  1003. <tr>
  1004. <td></td>
  1005. <td>)</td>
  1006. <td></td><td></td>
  1007. </tr>
  1008. </table>
  1009. </td>
  1010. <td class="mlabels-right">
  1011. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1012. </tr>
  1013. </table>
  1014. </div><div class="memdoc">
  1015. <p>Make a subdirectory in the volume root directory.</p>
  1016. <dl class="params"><dt>Parameters</dt><dd>
  1017. <table class="params">
  1018. <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>
  1019. <tr><td class="paramdir">[in]</td><td class="paramname">pFlag</td><td>Create missing parent directories if true.</td></tr>
  1020. </table>
  1021. </dd>
  1022. </dl>
  1023. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1024. </div>
  1025. </div>
  1026. <a id="a0807cfcef46ef74cfe238badb83f3dda"></a>
  1027. <h2 class="memtitle"><span class="permalink"><a href="#a0807cfcef46ef74cfe238badb83f3dda">&#9670;&nbsp;</a></span>open() <span class="overload">[1/2]</span></h2>
  1028. <div class="memitem">
  1029. <div class="memproto">
  1030. <table class="mlabels">
  1031. <tr>
  1032. <td class="mlabels-left">
  1033. <table class="memname">
  1034. <tr>
  1035. <td class="memname"><a class="el" href="class_ex_file.html">ExFile</a> ExFatVolume::open </td>
  1036. <td>(</td>
  1037. <td class="paramtype">const ExChar_t *&#160;</td>
  1038. <td class="paramname"><em>path</em>, </td>
  1039. </tr>
  1040. <tr>
  1041. <td class="paramkey"></td>
  1042. <td></td>
  1043. <td class="paramtype">oflag_t&#160;</td>
  1044. <td class="paramname"><em>oflag</em> = <code>0X00</code>&#160;</td>
  1045. </tr>
  1046. <tr>
  1047. <td></td>
  1048. <td>)</td>
  1049. <td></td><td></td>
  1050. </tr>
  1051. </table>
  1052. </td>
  1053. <td class="mlabels-right">
  1054. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1055. </tr>
  1056. </table>
  1057. </div><div class="memdoc">
  1058. <p>open a file</p>
  1059. <dl class="params"><dt>Parameters</dt><dd>
  1060. <table class="params">
  1061. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>location of file to be opened. </td></tr>
  1062. <tr><td class="paramdir">[in]</td><td class="paramname">oflag</td><td>open flags. </td></tr>
  1063. </table>
  1064. </dd>
  1065. </dl>
  1066. <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>
  1067. </div>
  1068. </div>
  1069. <a id="adce2c8ab2f73f56614b08fac42cabaea"></a>
  1070. <h2 class="memtitle"><span class="permalink"><a href="#adce2c8ab2f73f56614b08fac42cabaea">&#9670;&nbsp;</a></span>open() <span class="overload">[2/2]</span></h2>
  1071. <div class="memitem">
  1072. <div class="memproto">
  1073. <table class="mlabels">
  1074. <tr>
  1075. <td class="mlabels-left">
  1076. <table class="memname">
  1077. <tr>
  1078. <td class="memname"><a class="el" href="class_ex_file.html">ExFile</a> ExFatVolume::open </td>
  1079. <td>(</td>
  1080. <td class="paramtype">const String &amp;&#160;</td>
  1081. <td class="paramname"><em>path</em>, </td>
  1082. </tr>
  1083. <tr>
  1084. <td class="paramkey"></td>
  1085. <td></td>
  1086. <td class="paramtype">oflag_t&#160;</td>
  1087. <td class="paramname"><em>oflag</em> = <code>0X00</code>&#160;</td>
  1088. </tr>
  1089. <tr>
  1090. <td></td>
  1091. <td>)</td>
  1092. <td></td><td></td>
  1093. </tr>
  1094. </table>
  1095. </td>
  1096. <td class="mlabels-right">
  1097. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1098. </tr>
  1099. </table>
  1100. </div><div class="memdoc">
  1101. <p>open a file</p>
  1102. <dl class="params"><dt>Parameters</dt><dd>
  1103. <table class="params">
  1104. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>location of file to be opened. </td></tr>
  1105. <tr><td class="paramdir">[in]</td><td class="paramname">oflag</td><td>open oflag flags. </td></tr>
  1106. </table>
  1107. </dd>
  1108. </dl>
  1109. <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>
  1110. </div>
  1111. </div>
  1112. <a id="a58061d05f5dc5a52706cdd61a1a86e80"></a>
  1113. <h2 class="memtitle"><span class="permalink"><a href="#a58061d05f5dc5a52706cdd61a1a86e80">&#9670;&nbsp;</a></span>remove() <span class="overload">[1/2]</span></h2>
  1114. <div class="memitem">
  1115. <div class="memproto">
  1116. <table class="mlabels">
  1117. <tr>
  1118. <td class="mlabels-left">
  1119. <table class="memname">
  1120. <tr>
  1121. <td class="memname">bool ExFatVolume::remove </td>
  1122. <td>(</td>
  1123. <td class="paramtype">const ExChar_t *&#160;</td>
  1124. <td class="paramname"><em>path</em></td><td>)</td>
  1125. <td></td>
  1126. </tr>
  1127. </table>
  1128. </td>
  1129. <td class="mlabels-right">
  1130. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1131. </tr>
  1132. </table>
  1133. </div><div class="memdoc">
  1134. <p>Remove a file from the volume root directory.</p>
  1135. <dl class="params"><dt>Parameters</dt><dd>
  1136. <table class="params">
  1137. <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>
  1138. </table>
  1139. </dd>
  1140. </dl>
  1141. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1142. </div>
  1143. </div>
  1144. <a id="adc22ad4ce966654944b18d31fc6ac5ee"></a>
  1145. <h2 class="memtitle"><span class="permalink"><a href="#adc22ad4ce966654944b18d31fc6ac5ee">&#9670;&nbsp;</a></span>remove() <span class="overload">[2/2]</span></h2>
  1146. <div class="memitem">
  1147. <div class="memproto">
  1148. <table class="mlabels">
  1149. <tr>
  1150. <td class="mlabels-left">
  1151. <table class="memname">
  1152. <tr>
  1153. <td class="memname">bool ExFatVolume::remove </td>
  1154. <td>(</td>
  1155. <td class="paramtype">const String &amp;&#160;</td>
  1156. <td class="paramname"><em>path</em></td><td>)</td>
  1157. <td></td>
  1158. </tr>
  1159. </table>
  1160. </td>
  1161. <td class="mlabels-right">
  1162. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1163. </tr>
  1164. </table>
  1165. </div><div class="memdoc">
  1166. <p>Remove a file from the volume root directory.</p>
  1167. <dl class="params"><dt>Parameters</dt><dd>
  1168. <table class="params">
  1169. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path with a valid name for the file.</td></tr>
  1170. </table>
  1171. </dd>
  1172. </dl>
  1173. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1174. </div>
  1175. </div>
  1176. <a id="a8dcd1b108167803a24f7314f5fce6bc4"></a>
  1177. <h2 class="memtitle"><span class="permalink"><a href="#a8dcd1b108167803a24f7314f5fce6bc4">&#9670;&nbsp;</a></span>rename() <span class="overload">[1/2]</span></h2>
  1178. <div class="memitem">
  1179. <div class="memproto">
  1180. <table class="mlabels">
  1181. <tr>
  1182. <td class="mlabels-left">
  1183. <table class="memname">
  1184. <tr>
  1185. <td class="memname">bool ExFatVolume::rename </td>
  1186. <td>(</td>
  1187. <td class="paramtype">const ExChar_t *&#160;</td>
  1188. <td class="paramname"><em>oldPath</em>, </td>
  1189. </tr>
  1190. <tr>
  1191. <td class="paramkey"></td>
  1192. <td></td>
  1193. <td class="paramtype">const ExChar_t *&#160;</td>
  1194. <td class="paramname"><em>newPath</em>&#160;</td>
  1195. </tr>
  1196. <tr>
  1197. <td></td>
  1198. <td>)</td>
  1199. <td></td><td></td>
  1200. </tr>
  1201. </table>
  1202. </td>
  1203. <td class="mlabels-right">
  1204. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1205. </tr>
  1206. </table>
  1207. </div><div class="memdoc">
  1208. <p>Rename a file or subdirectory.</p>
  1209. <dl class="params"><dt>Parameters</dt><dd>
  1210. <table class="params">
  1211. <tr><td class="paramdir">[in]</td><td class="paramname">oldPath</td><td>Path name to the file or subdirectory to be renamed.</td></tr>
  1212. <tr><td class="paramdir">[in]</td><td class="paramname">newPath</td><td>New path name of the file or subdirectory.</td></tr>
  1213. </table>
  1214. </dd>
  1215. </dl>
  1216. <p>The <em>newPath</em> object must not exist before the rename call.</p>
  1217. <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>
  1218. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1219. </div>
  1220. </div>
  1221. <a id="a1396c06f6c5e138889125d2f62cdbdcb"></a>
  1222. <h2 class="memtitle"><span class="permalink"><a href="#a1396c06f6c5e138889125d2f62cdbdcb">&#9670;&nbsp;</a></span>rename() <span class="overload">[2/2]</span></h2>
  1223. <div class="memitem">
  1224. <div class="memproto">
  1225. <table class="mlabels">
  1226. <tr>
  1227. <td class="mlabels-left">
  1228. <table class="memname">
  1229. <tr>
  1230. <td class="memname">bool ExFatVolume::rename </td>
  1231. <td>(</td>
  1232. <td class="paramtype">const String &amp;&#160;</td>
  1233. <td class="paramname"><em>oldPath</em>, </td>
  1234. </tr>
  1235. <tr>
  1236. <td class="paramkey"></td>
  1237. <td></td>
  1238. <td class="paramtype">const String &amp;&#160;</td>
  1239. <td class="paramname"><em>newPath</em>&#160;</td>
  1240. </tr>
  1241. <tr>
  1242. <td></td>
  1243. <td>)</td>
  1244. <td></td><td></td>
  1245. </tr>
  1246. </table>
  1247. </td>
  1248. <td class="mlabels-right">
  1249. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1250. </tr>
  1251. </table>
  1252. </div><div class="memdoc">
  1253. <p>Rename a file or subdirectory.</p>
  1254. <dl class="params"><dt>Parameters</dt><dd>
  1255. <table class="params">
  1256. <tr><td class="paramdir">[in]</td><td class="paramname">oldPath</td><td>Path name to the file or subdirectory to be renamed.</td></tr>
  1257. <tr><td class="paramdir">[in]</td><td class="paramname">newPath</td><td>New path name of the file or subdirectory.</td></tr>
  1258. </table>
  1259. </dd>
  1260. </dl>
  1261. <p>The <em>newPath</em> object must not exist before the rename call.</p>
  1262. <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>
  1263. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1264. </div>
  1265. </div>
  1266. <a id="ab9e3e7d9538c905ca60b834e244943ee"></a>
  1267. <h2 class="memtitle"><span class="permalink"><a href="#ab9e3e7d9538c905ca60b834e244943ee">&#9670;&nbsp;</a></span>rmdir() <span class="overload">[1/2]</span></h2>
  1268. <div class="memitem">
  1269. <div class="memproto">
  1270. <table class="mlabels">
  1271. <tr>
  1272. <td class="mlabels-left">
  1273. <table class="memname">
  1274. <tr>
  1275. <td class="memname">bool ExFatVolume::rmdir </td>
  1276. <td>(</td>
  1277. <td class="paramtype">const ExChar_t *&#160;</td>
  1278. <td class="paramname"><em>path</em></td><td>)</td>
  1279. <td></td>
  1280. </tr>
  1281. </table>
  1282. </td>
  1283. <td class="mlabels-right">
  1284. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1285. </tr>
  1286. </table>
  1287. </div><div class="memdoc">
  1288. <p>Remove a subdirectory from the volume's working directory.</p>
  1289. <dl class="params"><dt>Parameters</dt><dd>
  1290. <table class="params">
  1291. <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>
  1292. </table>
  1293. </dd>
  1294. </dl>
  1295. <p>The subdirectory file will be removed only if it is empty.</p>
  1296. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1297. </div>
  1298. </div>
  1299. <a id="af0adfad817e085d676479fefbb343197"></a>
  1300. <h2 class="memtitle"><span class="permalink"><a href="#af0adfad817e085d676479fefbb343197">&#9670;&nbsp;</a></span>rmdir() <span class="overload">[2/2]</span></h2>
  1301. <div class="memitem">
  1302. <div class="memproto">
  1303. <table class="mlabels">
  1304. <tr>
  1305. <td class="mlabels-left">
  1306. <table class="memname">
  1307. <tr>
  1308. <td class="memname">bool ExFatVolume::rmdir </td>
  1309. <td>(</td>
  1310. <td class="paramtype">const String &amp;&#160;</td>
  1311. <td class="paramname"><em>path</em></td><td>)</td>
  1312. <td></td>
  1313. </tr>
  1314. </table>
  1315. </td>
  1316. <td class="mlabels-right">
  1317. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1318. </tr>
  1319. </table>
  1320. </div><div class="memdoc">
  1321. <p>Remove a subdirectory from the volume's working directory.</p>
  1322. <dl class="params"><dt>Parameters</dt><dd>
  1323. <table class="params">
  1324. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path with a valid name for the subdirectory.</td></tr>
  1325. </table>
  1326. </dd>
  1327. </dl>
  1328. <p>The subdirectory file will be removed only if it is empty.</p>
  1329. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1330. </div>
  1331. </div>
  1332. <a id="a658c250984be29febf8f4d2a2ec312a1"></a>
  1333. <h2 class="memtitle"><span class="permalink"><a href="#a658c250984be29febf8f4d2a2ec312a1">&#9670;&nbsp;</a></span>rootDirectoryCluster()</h2>
  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">uint32_t ExFatPartition::rootDirectoryCluster </td>
  1342. <td>(</td>
  1343. <td class="paramname"></td><td>)</td>
  1344. <td></td>
  1345. </tr>
  1346. </table>
  1347. </td>
  1348. <td class="mlabels-right">
  1349. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1350. </tr>
  1351. </table>
  1352. </div><div class="memdoc">
  1353. <dl class="section return"><dt>Returns</dt><dd>the root directory start cluster number. </dd></dl>
  1354. </div>
  1355. </div>
  1356. <a id="a9412bd687edc99266c88f8aa87f01c51"></a>
  1357. <h2 class="memtitle"><span class="permalink"><a href="#a9412bd687edc99266c88f8aa87f01c51">&#9670;&nbsp;</a></span>rootLength()</h2>
  1358. <div class="memitem">
  1359. <div class="memproto">
  1360. <table class="mlabels">
  1361. <tr>
  1362. <td class="mlabels-left">
  1363. <table class="memname">
  1364. <tr>
  1365. <td class="memname">uint32_t ExFatPartition::rootLength </td>
  1366. <td>(</td>
  1367. <td class="paramname"></td><td>)</td>
  1368. <td></td>
  1369. </tr>
  1370. </table>
  1371. </td>
  1372. <td class="mlabels-right">
  1373. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1374. </tr>
  1375. </table>
  1376. </div><div class="memdoc">
  1377. <dl class="section return"><dt>Returns</dt><dd>the root directory length. </dd></dl>
  1378. </div>
  1379. </div>
  1380. <a id="aaa7306ac8ff29f50ec4d919ccaff10d7"></a>
  1381. <h2 class="memtitle"><span class="permalink"><a href="#aaa7306ac8ff29f50ec4d919ccaff10d7">&#9670;&nbsp;</a></span>sectorsPerCluster()</h2>
  1382. <div class="memitem">
  1383. <div class="memproto">
  1384. <table class="mlabels">
  1385. <tr>
  1386. <td class="mlabels-left">
  1387. <table class="memname">
  1388. <tr>
  1389. <td class="memname">uint32_t ExFatPartition::sectorsPerCluster </td>
  1390. <td>(</td>
  1391. <td class="paramname"></td><td>)</td>
  1392. <td></td>
  1393. </tr>
  1394. </table>
  1395. </td>
  1396. <td class="mlabels-right">
  1397. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1398. </tr>
  1399. </table>
  1400. </div><div class="memdoc">
  1401. <dl class="section return"><dt>Returns</dt><dd>the number of sectors in a cluster. </dd></dl>
  1402. </div>
  1403. </div>
  1404. <a id="ab1624bf02690ee06365207cb8f1d48ac"></a>
  1405. <h2 class="memtitle"><span class="permalink"><a href="#ab1624bf02690ee06365207cb8f1d48ac">&#9670;&nbsp;</a></span>sectorsPerClusterShift()</h2>
  1406. <div class="memitem">
  1407. <div class="memproto">
  1408. <table class="mlabels">
  1409. <tr>
  1410. <td class="mlabels-left">
  1411. <table class="memname">
  1412. <tr>
  1413. <td class="memname">uint8_t ExFatPartition::sectorsPerClusterShift </td>
  1414. <td>(</td>
  1415. <td class="paramname"></td><td>)</td>
  1416. <td></td>
  1417. </tr>
  1418. </table>
  1419. </td>
  1420. <td class="mlabels-right">
  1421. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1422. </tr>
  1423. </table>
  1424. </div><div class="memdoc">
  1425. <dl class="section return"><dt>Returns</dt><dd>the power of two for sectors per cluster. </dd></dl>
  1426. </div>
  1427. </div>
  1428. <a id="ae5cbcdd7907a882b4686cb3ba7e85bcc"></a>
  1429. <h2 class="memtitle"><span class="permalink"><a href="#ae5cbcdd7907a882b4686cb3ba7e85bcc">&#9670;&nbsp;</a></span>truncate() <span class="overload">[1/2]</span></h2>
  1430. <div class="memitem">
  1431. <div class="memproto">
  1432. <table class="mlabels">
  1433. <tr>
  1434. <td class="mlabels-left">
  1435. <table class="memname">
  1436. <tr>
  1437. <td class="memname">bool ExFatVolume::truncate </td>
  1438. <td>(</td>
  1439. <td class="paramtype">const ExChar_t *&#160;</td>
  1440. <td class="paramname"><em>path</em>, </td>
  1441. </tr>
  1442. <tr>
  1443. <td class="paramkey"></td>
  1444. <td></td>
  1445. <td class="paramtype">uint64_t&#160;</td>
  1446. <td class="paramname"><em>length</em>&#160;</td>
  1447. </tr>
  1448. <tr>
  1449. <td></td>
  1450. <td>)</td>
  1451. <td></td><td></td>
  1452. </tr>
  1453. </table>
  1454. </td>
  1455. <td class="mlabels-right">
  1456. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1457. </tr>
  1458. </table>
  1459. </div><div class="memdoc">
  1460. <p>Truncate a file to a specified length. The current file position will be at the new EOF.</p>
  1461. <dl class="params"><dt>Parameters</dt><dd>
  1462. <table class="params">
  1463. <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>
  1464. <tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The desired length for the file.</td></tr>
  1465. </table>
  1466. </dd>
  1467. </dl>
  1468. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1469. </div>
  1470. </div>
  1471. <a id="ae6d409b7f24593dca7aae70513e18b70"></a>
  1472. <h2 class="memtitle"><span class="permalink"><a href="#ae6d409b7f24593dca7aae70513e18b70">&#9670;&nbsp;</a></span>truncate() <span class="overload">[2/2]</span></h2>
  1473. <div class="memitem">
  1474. <div class="memproto">
  1475. <table class="mlabels">
  1476. <tr>
  1477. <td class="mlabels-left">
  1478. <table class="memname">
  1479. <tr>
  1480. <td class="memname">bool ExFatVolume::truncate </td>
  1481. <td>(</td>
  1482. <td class="paramtype">const String &amp;&#160;</td>
  1483. <td class="paramname"><em>path</em>, </td>
  1484. </tr>
  1485. <tr>
  1486. <td class="paramkey"></td>
  1487. <td></td>
  1488. <td class="paramtype">uint64_t&#160;</td>
  1489. <td class="paramname"><em>length</em>&#160;</td>
  1490. </tr>
  1491. <tr>
  1492. <td></td>
  1493. <td>)</td>
  1494. <td></td><td></td>
  1495. </tr>
  1496. </table>
  1497. </td>
  1498. <td class="mlabels-right">
  1499. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1500. </tr>
  1501. </table>
  1502. </div><div class="memdoc">
  1503. <p>Truncate a file to a specified length. The current file position will be at the new EOF.</p>
  1504. <dl class="params"><dt>Parameters</dt><dd>
  1505. <table class="params">
  1506. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path with a valid name for the file. </td></tr>
  1507. <tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The desired length for the file.</td></tr>
  1508. </table>
  1509. </dd>
  1510. </dl>
  1511. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1512. </div>
  1513. </div>
  1514. <hr/>The documentation for this class was generated from the following files:<ul>
  1515. <li>ArduinoSdFat/libraries/SdFat/src/ExFatLib/ExFatVolume.h</li>
  1516. <li>ArduinoSdFat/libraries/SdFat/src/ExFatLib/ExFatVolume.cpp</li>
  1517. </ul>
  1518. </div><!-- contents -->
  1519. <!-- start footer part -->
  1520. <hr class="footer"/><address class="footer"><small>
  1521. Generated on Fri Dec 6 2019 09:45:12 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  1522. <img class="footer" src="doxygen.png" alt="doxygen"/>
  1523. </a> 1.8.16
  1524. </small></address>
  1525. </body>
  1526. </html>