Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

3516 lines
154KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.10"/>
  7. <title>SdFat: File Class Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="search/searchdata.js"></script>
  13. <script type="text/javascript" src="search/search.js"></script>
  14. <script type="text/javascript">
  15. $(document).ready(function() { init_search(); });
  16. </script>
  17. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  21. <div id="titlearea">
  22. <table cellspacing="0" cellpadding="0">
  23. <tbody>
  24. <tr style="height: 56px;">
  25. <td id="projectalign" style="padding-left: 0.5em;">
  26. <div id="projectname">SdFat
  27. </div>
  28. </td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </div>
  33. <!-- end header part -->
  34. <!-- Generated by Doxygen 1.8.10 -->
  35. <script type="text/javascript">
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. </script>
  38. <div id="navrow1" class="tabs">
  39. <ul class="tablist">
  40. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  41. <li><a href="modules.html"><span>Modules</span></a></li>
  42. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  43. <li><a href="files.html"><span>Files</span></a></li>
  44. <li>
  45. <div id="MSearchBox" class="MSearchBoxInactive">
  46. <span class="left">
  47. <img id="MSearchSelect" src="search/mag_sel.png"
  48. onmouseover="return searchBox.OnSearchSelectShow()"
  49. onmouseout="return searchBox.OnSearchSelectHide()"
  50. alt=""/>
  51. <input type="text" id="MSearchField" value="Search" accesskey="S"
  52. onfocus="searchBox.OnSearchFieldFocus(true)"
  53. onblur="searchBox.OnSearchFieldFocus(false)"
  54. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  55. </span><span class="right">
  56. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  57. </span>
  58. </div>
  59. </li>
  60. </ul>
  61. </div>
  62. <div id="navrow2" class="tabs2">
  63. <ul class="tablist">
  64. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  65. <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
  66. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  67. </ul>
  68. </div>
  69. <!-- window showing the filter options -->
  70. <div id="MSearchSelectWindow"
  71. onmouseover="return searchBox.OnSearchSelectShow()"
  72. onmouseout="return searchBox.OnSearchSelectHide()"
  73. onkeydown="return searchBox.OnSearchSelectKey(event)">
  74. </div>
  75. <!-- iframe showing the search results (closed by default) -->
  76. <div id="MSearchResultsWindow">
  77. <iframe src="javascript:void(0)" frameborder="0"
  78. name="MSearchResults" id="MSearchResults">
  79. </iframe>
  80. </div>
  81. </div><!-- top -->
  82. <div class="header">
  83. <div class="summary">
  84. <a href="#pub-methods">Public Member Functions</a> &#124;
  85. <a href="#pub-static-methods">Static Public Member Functions</a> &#124;
  86. <a href="class_file-members.html">List of all members</a> </div>
  87. <div class="headertitle">
  88. <div class="title">File Class Reference</div> </div>
  89. </div><!--header-->
  90. <div class="contents">
  91. <p>Arduino SD.h style <a class="el" href="class_file.html" title="Arduino SD.h style File API. ">File</a> API.
  92. <a href="class_file.html#details">More...</a></p>
  93. <p><code>#include &lt;ArduinoFiles.h&gt;</code></p>
  94. <div class="dynheader">
  95. Inheritance diagram for File:</div>
  96. <div class="dyncontent">
  97. <div class="center"><img src="class_file__inherit__graph.png" border="0" usemap="#_file_inherit__map" alt="Inheritance graph"/></div>
  98. <map name="_file_inherit__map" id="_file_inherit__map">
  99. <area shape="rect" id="node2" href="class_fat_file.html" title="Basic file class. " alt="" coords="5,5,68,32"/>
  100. </map>
  101. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  102. <div class="dynheader">
  103. Collaboration diagram for File:</div>
  104. <div class="dyncontent">
  105. <div class="center"><img src="class_file__coll__graph.png" border="0" usemap="#_file_coll__map" alt="Collaboration graph"/></div>
  106. <map name="_file_coll__map" id="_file_coll__map">
  107. <area shape="rect" id="node2" href="class_fat_file.html" title="Basic file class. " alt="" coords="5,5,68,32"/>
  108. </map>
  109. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  110. <table class="memberdecls">
  111. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  112. Public Member Functions</h2></td></tr>
  113. <tr class="memitem:acf613c4e75bae85f543b30e701ebcc44"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_file.html#acf613c4e75bae85f543b30e701ebcc44">available</a> ()</td></tr>
  114. <tr class="separator:acf613c4e75bae85f543b30e701ebcc44"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:a052e2c15a39b322a5307b693b8835b22"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a052e2c15a39b322a5307b693b8835b22">clearError</a> ()</td></tr>
  116. <tr class="separator:a052e2c15a39b322a5307b693b8835b22"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:aeca2a2eff91e6aa55fe1b0e3860c9a05"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aeca2a2eff91e6aa55fe1b0e3860c9a05">clearWriteError</a> ()</td></tr>
  118. <tr class="separator:aeca2a2eff91e6aa55fe1b0e3860c9a05"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:afd16af325e0642e4bff6430b7d8bb18b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#afd16af325e0642e4bff6430b7d8bb18b">close</a> ()</td></tr>
  120. <tr class="separator:afd16af325e0642e4bff6430b7d8bb18b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:aa367708bcc8bc0e0c45c0c2a812c65da"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aa367708bcc8bc0e0c45c0c2a812c65da">contiguousRange</a> (uint32_t *bgnBlock, uint32_t *endBlock)</td></tr>
  122. <tr class="separator:aa367708bcc8bc0e0c45c0c2a812c65da"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:a0afc2a1cffa238d1cb2049bfa2d8d199"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a0afc2a1cffa238d1cb2049bfa2d8d199">createContiguous</a> (<a class="el" href="class_fat_file.html">FatFile</a> *dirFile, const char *path, uint32_t <a class="el" href="class_file.html#a603d3cd3319142d00a7ebd434970b017">size</a>)</td></tr>
  124. <tr class="separator:a0afc2a1cffa238d1cb2049bfa2d8d199"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:a4c03e2f6729526786e6ab4a623e0339b"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a4c03e2f6729526786e6ab4a623e0339b">curCluster</a> () const </td></tr>
  126. <tr class="separator:a4c03e2f6729526786e6ab4a623e0339b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. <tr class="memitem:a20c55b134bfd1d287a00bf64eba9332e"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a20c55b134bfd1d287a00bf64eba9332e">curPosition</a> () const </td></tr>
  128. <tr class="separator:a20c55b134bfd1d287a00bf64eba9332e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:a6858d18c807411a071fd6d1b39d50087"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a6858d18c807411a071fd6d1b39d50087">dirEntry</a> (<a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a> *dir)</td></tr>
  130. <tr class="separator:a6858d18c807411a071fd6d1b39d50087"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. <tr class="memitem:ae5ec24d4a94d3780384d3f2b731c7eb9"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ae5ec24d4a94d3780384d3f2b731c7eb9">dirIndex</a> ()</td></tr>
  132. <tr class="separator:ae5ec24d4a94d3780384d3f2b731c7eb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. <tr class="memitem:ae2ed15f05c9ccbce355e7a8d3ce8382d"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ae2ed15f05c9ccbce355e7a8d3ce8382d">dirSize</a> ()</td></tr>
  134. <tr class="separator:ae2ed15f05c9ccbce355e7a8d3ce8382d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <tr class="memitem:a4f01d27954ae49aeb6888ac7302f55d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a4f01d27954ae49aeb6888ac7302f55d9">dmpFile</a> (<a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr, uint32_t pos, size_t n)</td></tr>
  136. <tr class="separator:a4f01d27954ae49aeb6888ac7302f55d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. <tr class="memitem:a50242f98dea0d4488ce4039a279f2a57"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a50242f98dea0d4488ce4039a279f2a57">exists</a> (const char *path)</td></tr>
  138. <tr class="separator:a50242f98dea0d4488ce4039a279f2a57"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. <tr class="memitem:a31ef26b3ee37cf5f5f4c6024c0ddab69"><td class="memItemLeft" align="right" valign="top">int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a31ef26b3ee37cf5f5f4c6024c0ddab69">fgets</a> (char *str, int16_t num, char *delim=0)</td></tr>
  140. <tr class="separator:a31ef26b3ee37cf5f5f4c6024c0ddab69"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <tr class="memitem:a9ecb14efb960d1369926182479f56213"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_file.html#a9ecb14efb960d1369926182479f56213">File</a> (const char *path, uint8_t oflag)</td></tr>
  142. <tr class="separator:a9ecb14efb960d1369926182479f56213"><td class="memSeparator" colspan="2">&#160;</td></tr>
  143. <tr class="memitem:a7e043dfb89d268bfd620bbbadacf1002"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a7e043dfb89d268bfd620bbbadacf1002">fileAttr</a> () const </td></tr>
  144. <tr class="separator:a7e043dfb89d268bfd620bbbadacf1002"><td class="memSeparator" colspan="2">&#160;</td></tr>
  145. <tr class="memitem:a02fc3b3ca36b4745f695f3de8c8ec36d"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a02fc3b3ca36b4745f695f3de8c8ec36d">fileSize</a> () const </td></tr>
  146. <tr class="separator:a02fc3b3ca36b4745f695f3de8c8ec36d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="memitem:a1057bc23b92a074539f661e896e79a09"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a1057bc23b92a074539f661e896e79a09">firstCluster</a> () const </td></tr>
  148. <tr class="separator:a1057bc23b92a074539f661e896e79a09"><td class="memSeparator" colspan="2">&#160;</td></tr>
  149. <tr class="memitem:af87fa862de707575b8badd044a5af80e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_file.html#af87fa862de707575b8badd044a5af80e">flush</a> ()</td></tr>
  150. <tr class="separator:af87fa862de707575b8badd044a5af80e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  151. <tr class="memitem:ad0dbbd083180f44c7a3ce7124d4ce19c"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ad0dbbd083180f44c7a3ce7124d4ce19c">getError</a> ()</td></tr>
  152. <tr class="separator:ad0dbbd083180f44c7a3ce7124d4ce19c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. <tr class="memitem:aafa565e286440aab612cdb430fc01da5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aafa565e286440aab612cdb430fc01da5">getName</a> (char *<a class="el" href="class_file.html#a7ca23d8d3997c10c221977c64736f575">name</a>, size_t <a class="el" href="class_file.html#a603d3cd3319142d00a7ebd434970b017">size</a>)</td></tr>
  154. <tr class="separator:aafa565e286440aab612cdb430fc01da5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  155. <tr class="memitem:aaa4f9886887947815a61eaf015996932"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aaa4f9886887947815a61eaf015996932">getpos</a> (<a class="el" href="struct_fat_pos__t.html">FatPos_t</a> *pos)</td></tr>
  156. <tr class="separator:aaa4f9886887947815a61eaf015996932"><td class="memSeparator" colspan="2">&#160;</td></tr>
  157. <tr class="memitem:aba30e92a66f8e0d2f815c85662772a58"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aba30e92a66f8e0d2f815c85662772a58">getSFN</a> (char *<a class="el" href="class_file.html#a7ca23d8d3997c10c221977c64736f575">name</a>)</td></tr>
  158. <tr class="separator:aba30e92a66f8e0d2f815c85662772a58"><td class="memSeparator" colspan="2">&#160;</td></tr>
  159. <tr class="memitem:a8062c0d3a118e8d77d0310418703d5f5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a8062c0d3a118e8d77d0310418703d5f5">getWriteError</a> ()</td></tr>
  160. <tr class="separator:a8062c0d3a118e8d77d0310418703d5f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  161. <tr class="memitem:aef41d65e0f1ce753d18cc9ed691f7de4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aef41d65e0f1ce753d18cc9ed691f7de4">isDir</a> () const </td></tr>
  162. <tr class="separator:aef41d65e0f1ce753d18cc9ed691f7de4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  163. <tr class="memitem:a6ba5bdb943363cda56649238ccb18c27"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_file.html#a6ba5bdb943363cda56649238ccb18c27">isDirectory</a> ()</td></tr>
  164. <tr class="separator:a6ba5bdb943363cda56649238ccb18c27"><td class="memSeparator" colspan="2">&#160;</td></tr>
  165. <tr class="memitem:afcf6270ea8d4a3a5f8e89523bc684e22"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#afcf6270ea8d4a3a5f8e89523bc684e22">isFile</a> () const </td></tr>
  166. <tr class="separator:afcf6270ea8d4a3a5f8e89523bc684e22"><td class="memSeparator" colspan="2">&#160;</td></tr>
  167. <tr class="memitem:a7eefe7408f34b6326f0c6e78af7eb05f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a7eefe7408f34b6326f0c6e78af7eb05f">isHidden</a> () const </td></tr>
  168. <tr class="separator:a7eefe7408f34b6326f0c6e78af7eb05f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  169. <tr class="memitem:aed36d17f8fde597b6ed9446faec1f7e3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aed36d17f8fde597b6ed9446faec1f7e3">isLFN</a> () const </td></tr>
  170. <tr class="separator:aed36d17f8fde597b6ed9446faec1f7e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  171. <tr class="memitem:a4c8a07b081f04aa25839c6f56c739bdc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a4c8a07b081f04aa25839c6f56c739bdc">isOpen</a> () const </td></tr>
  172. <tr class="separator:a4c8a07b081f04aa25839c6f56c739bdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  173. <tr class="memitem:a6872d3acb1e70f81c9c2be2495977583"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a6872d3acb1e70f81c9c2be2495977583">isReadOnly</a> () const </td></tr>
  174. <tr class="separator:a6872d3acb1e70f81c9c2be2495977583"><td class="memSeparator" colspan="2">&#160;</td></tr>
  175. <tr class="memitem:aa4a206803a4bf8243be20244c1aef4d2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aa4a206803a4bf8243be20244c1aef4d2">isRoot</a> () const </td></tr>
  176. <tr class="separator:aa4a206803a4bf8243be20244c1aef4d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  177. <tr class="memitem:a1449b294e3a838396c62e47674ca8cf0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a1449b294e3a838396c62e47674ca8cf0">isRoot32</a> () const </td></tr>
  178. <tr class="separator:a1449b294e3a838396c62e47674ca8cf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  179. <tr class="memitem:a8215bd4b21e11ec83fa88ef226ceb06f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a8215bd4b21e11ec83fa88ef226ceb06f">isRootFixed</a> () const </td></tr>
  180. <tr class="separator:a8215bd4b21e11ec83fa88ef226ceb06f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  181. <tr class="memitem:a95b503b17442c2b364a2f53de1b2aeba"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a95b503b17442c2b364a2f53de1b2aeba">isSubDir</a> () const </td></tr>
  182. <tr class="separator:a95b503b17442c2b364a2f53de1b2aeba"><td class="memSeparator" colspan="2">&#160;</td></tr>
  183. <tr class="memitem:add932e13e5bf32ad467af6ec34824e3c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#add932e13e5bf32ad467af6ec34824e3c">isSystem</a> () const </td></tr>
  184. <tr class="separator:add932e13e5bf32ad467af6ec34824e3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  185. <tr class="memitem:ad49f688a494b351ccbb0102dcfafb925"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ad49f688a494b351ccbb0102dcfafb925">ls</a> (uint8_t flags=0)</td></tr>
  186. <tr class="separator:ad49f688a494b351ccbb0102dcfafb925"><td class="memSeparator" colspan="2">&#160;</td></tr>
  187. <tr class="memitem:acabf31ff85e696fbf384c49428012fea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#acabf31ff85e696fbf384c49428012fea">ls</a> (<a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr, uint8_t flags=0, uint8_t indent=0)</td></tr>
  188. <tr class="separator:acabf31ff85e696fbf384c49428012fea"><td class="memSeparator" colspan="2">&#160;</td></tr>
  189. <tr class="memitem:abab5b9f72cc796388dd4eed01d13d90d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#abab5b9f72cc796388dd4eed01d13d90d">mkdir</a> (<a class="el" href="class_fat_file.html">FatFile</a> *dir, const char *path, bool pFlag=true)</td></tr>
  190. <tr class="separator:abab5b9f72cc796388dd4eed01d13d90d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  191. <tr class="memitem:a7ca23d8d3997c10c221977c64736f575"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_file.html#a7ca23d8d3997c10c221977c64736f575">name</a> () const </td></tr>
  192. <tr class="separator:a7ca23d8d3997c10c221977c64736f575"><td class="memSeparator" colspan="2">&#160;</td></tr>
  193. <tr class="memitem:a5f64576d3d19177ab3cf3812b69abdfa"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a5f64576d3d19177ab3cf3812b69abdfa">open</a> (<a class="el" href="class_fat_file_system.html">FatFileSystem</a> *fs, const char *path, uint8_t oflag)</td></tr>
  194. <tr class="separator:a5f64576d3d19177ab3cf3812b69abdfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  195. <tr class="memitem:ad3fa9daaccb4e4179fb88a8ca037aa80"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ad3fa9daaccb4e4179fb88a8ca037aa80">open</a> (<a class="el" href="class_fat_file.html">FatFile</a> *dirFile, uint16_t index, uint8_t oflag)</td></tr>
  196. <tr class="separator:ad3fa9daaccb4e4179fb88a8ca037aa80"><td class="memSeparator" colspan="2">&#160;</td></tr>
  197. <tr class="memitem:a211be757679b18708f6b6a36464e4f61"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a211be757679b18708f6b6a36464e4f61">open</a> (<a class="el" href="class_fat_file.html">FatFile</a> *dirFile, const char *path, uint8_t oflag)</td></tr>
  198. <tr class="separator:a211be757679b18708f6b6a36464e4f61"><td class="memSeparator" colspan="2">&#160;</td></tr>
  199. <tr class="memitem:ab0e7075062c89f356441f80fc64d03e6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ab0e7075062c89f356441f80fc64d03e6">open</a> (const char *path, uint8_t oflag=O_READ)</td></tr>
  200. <tr class="separator:ab0e7075062c89f356441f80fc64d03e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  201. <tr class="memitem:a8034c4649eb0d26715b1a8a69e73d9d0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a8034c4649eb0d26715b1a8a69e73d9d0">openNext</a> (<a class="el" href="class_fat_file.html">FatFile</a> *dirFile, uint8_t oflag=O_READ)</td></tr>
  202. <tr class="separator:a8034c4649eb0d26715b1a8a69e73d9d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  203. <tr class="memitem:acd72000ab1f6a1ce73ac8fbdc854ae0c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_file.html">File</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_file.html#acd72000ab1f6a1ce73ac8fbdc854ae0c">openNextFile</a> (uint8_t mode=O_READ)</td></tr>
  204. <tr class="separator:acd72000ab1f6a1ce73ac8fbdc854ae0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  205. <tr class="memitem:a7e0c0548fed3a69e7284b91b694439d4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a7e0c0548fed3a69e7284b91b694439d4">openRoot</a> (<a class="el" href="class_fat_volume.html">FatVolume</a> *vol)</td></tr>
  206. <tr class="separator:a7e0c0548fed3a69e7284b91b694439d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  207. <tr class="memitem:af171fbf441c899cf71d88b8b0b83d38b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_file.html#af171fbf441c899cf71d88b8b0b83d38b">operator bool</a> ()</td></tr>
  208. <tr class="separator:af171fbf441c899cf71d88b8b0b83d38b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  209. <tr class="memitem:a0e5025f39bd584563bfe4b05fc1db268"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_file.html#a0e5025f39bd584563bfe4b05fc1db268">peek</a> ()</td></tr>
  210. <tr class="separator:a0e5025f39bd584563bfe4b05fc1db268"><td class="memSeparator" colspan="2">&#160;</td></tr>
  211. <tr class="memitem:aae991c597c0bc4c5eb44c1f3b06a21ec"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_file.html#aae991c597c0bc4c5eb44c1f3b06a21ec">position</a> ()</td></tr>
  212. <tr class="separator:aae991c597c0bc4c5eb44c1f3b06a21ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
  213. <tr class="memitem:a558530f20314a8d8ee3d1a488fc7f46e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a558530f20314a8d8ee3d1a488fc7f46e">printCreateDateTime</a> (<a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr)</td></tr>
  214. <tr class="separator:a558530f20314a8d8ee3d1a488fc7f46e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  215. <tr class="memitem:a7478cad0f9e5079311b9e1fa558016ff"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a7478cad0f9e5079311b9e1fa558016ff">printField</a> (float value, char term, uint8_t prec=2)</td></tr>
  216. <tr class="separator:a7478cad0f9e5079311b9e1fa558016ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
  217. <tr class="memitem:abd3e1747511216462b3ef98167156cbb"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#abd3e1747511216462b3ef98167156cbb">printField</a> (int16_t value, char term)</td></tr>
  218. <tr class="separator:abd3e1747511216462b3ef98167156cbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  219. <tr class="memitem:a9972c2419c293ef9c382bff666b9ae4d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a9972c2419c293ef9c382bff666b9ae4d">printField</a> (uint16_t value, char term)</td></tr>
  220. <tr class="separator:a9972c2419c293ef9c382bff666b9ae4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  221. <tr class="memitem:a41b3b32dd8482429b74c7af3432d6cf8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a41b3b32dd8482429b74c7af3432d6cf8">printField</a> (int32_t value, char term)</td></tr>
  222. <tr class="separator:a41b3b32dd8482429b74c7af3432d6cf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  223. <tr class="memitem:a097240f08baadeb1c64b63eab9afb088"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a097240f08baadeb1c64b63eab9afb088">printField</a> (uint32_t value, char term)</td></tr>
  224. <tr class="separator:a097240f08baadeb1c64b63eab9afb088"><td class="memSeparator" colspan="2">&#160;</td></tr>
  225. <tr class="memitem:a12a5d2de2737c201aa39ca1bd2ab9c47"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a12a5d2de2737c201aa39ca1bd2ab9c47">printFileSize</a> (<a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr)</td></tr>
  226. <tr class="separator:a12a5d2de2737c201aa39ca1bd2ab9c47"><td class="memSeparator" colspan="2">&#160;</td></tr>
  227. <tr class="memitem:a05cee5df46a370bf916d3ba597c82e39"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a05cee5df46a370bf916d3ba597c82e39">printModifyDateTime</a> (<a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr)</td></tr>
  228. <tr class="separator:a05cee5df46a370bf916d3ba597c82e39"><td class="memSeparator" colspan="2">&#160;</td></tr>
  229. <tr class="memitem:ad1cbc3aeb0f5193b7a26595966da9621"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ad1cbc3aeb0f5193b7a26595966da9621">printName</a> ()</td></tr>
  230. <tr class="separator:ad1cbc3aeb0f5193b7a26595966da9621"><td class="memSeparator" colspan="2">&#160;</td></tr>
  231. <tr class="memitem:afe18a787fb8640e2d2483370c770f82f"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#afe18a787fb8640e2d2483370c770f82f">printName</a> (<a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr)</td></tr>
  232. <tr class="separator:afe18a787fb8640e2d2483370c770f82f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  233. <tr class="memitem:a791cd7aade71f609aab62ec018aea3c0"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a791cd7aade71f609aab62ec018aea3c0">printSFN</a> (<a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr)</td></tr>
  234. <tr class="separator:a791cd7aade71f609aab62ec018aea3c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  235. <tr class="memitem:a4c46a1975e66c37977bf07c58ec10b4e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_file.html#a4c46a1975e66c37977bf07c58ec10b4e">read</a> ()</td></tr>
  236. <tr class="separator:a4c46a1975e66c37977bf07c58ec10b4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  237. <tr class="memitem:a200e6e0553d5b709520c9dfac9ef77dd"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a200e6e0553d5b709520c9dfac9ef77dd">read</a> (void *buf, size_t nbyte)</td></tr>
  238. <tr class="separator:a200e6e0553d5b709520c9dfac9ef77dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  239. <tr class="memitem:a1325afe074c3efecff666678cd9f116a"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a1325afe074c3efecff666678cd9f116a">readDir</a> (<a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a> *dir)</td></tr>
  240. <tr class="separator:a1325afe074c3efecff666678cd9f116a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  241. <tr class="memitem:ac837a537fbcca14c7aa390c5fc9f4e7c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ac837a537fbcca14c7aa390c5fc9f4e7c">remove</a> ()</td></tr>
  242. <tr class="separator:ac837a537fbcca14c7aa390c5fc9f4e7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  243. <tr class="memitem:a4b42f2454ff462555c07ea094a92a1e0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a4b42f2454ff462555c07ea094a92a1e0">rename</a> (<a class="el" href="class_fat_file.html">FatFile</a> *dirFile, const char *newPath)</td></tr>
  244. <tr class="separator:a4b42f2454ff462555c07ea094a92a1e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  245. <tr class="memitem:a5aac6e0b3cb08fc8b8668e916a8b0ca5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a5aac6e0b3cb08fc8b8668e916a8b0ca5">rewind</a> ()</td></tr>
  246. <tr class="separator:a5aac6e0b3cb08fc8b8668e916a8b0ca5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  247. <tr class="memitem:ae1419603dea25a6c8480b941d7ac63a3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_file.html#ae1419603dea25a6c8480b941d7ac63a3">rewindDirectory</a> ()</td></tr>
  248. <tr class="separator:ae1419603dea25a6c8480b941d7ac63a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  249. <tr class="memitem:a9515bac181d33e7f0125e88fa2ccd283"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a9515bac181d33e7f0125e88fa2ccd283">rmdir</a> ()</td></tr>
  250. <tr class="separator:a9515bac181d33e7f0125e88fa2ccd283"><td class="memSeparator" colspan="2">&#160;</td></tr>
  251. <tr class="memitem:ac780a80526f86d3def701ecdc99d8bfe"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ac780a80526f86d3def701ecdc99d8bfe">rmRfStar</a> ()</td></tr>
  252. <tr class="separator:ac780a80526f86d3def701ecdc99d8bfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
  253. <tr class="memitem:a2d41ea52356b769e05e1242685758c08"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_file.html#a2d41ea52356b769e05e1242685758c08">seek</a> (uint32_t pos)</td></tr>
  254. <tr class="separator:a2d41ea52356b769e05e1242685758c08"><td class="memSeparator" colspan="2">&#160;</td></tr>
  255. <tr class="memitem:a5812037ea30777cc350698ad26f2c73f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a5812037ea30777cc350698ad26f2c73f">seekCur</a> (int32_t offset)</td></tr>
  256. <tr class="separator:a5812037ea30777cc350698ad26f2c73f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  257. <tr class="memitem:a84f677f4e75ef6fa2eb632f4cdf6b486"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a84f677f4e75ef6fa2eb632f4cdf6b486">seekEnd</a> (int32_t offset=0)</td></tr>
  258. <tr class="separator:a84f677f4e75ef6fa2eb632f4cdf6b486"><td class="memSeparator" colspan="2">&#160;</td></tr>
  259. <tr class="memitem:ab067190d25733ed7e697d9890f61fd7a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ab067190d25733ed7e697d9890f61fd7a">seekSet</a> (uint32_t pos)</td></tr>
  260. <tr class="separator:ab067190d25733ed7e697d9890f61fd7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  261. <tr class="memitem:acf264de4e3ca36c5e8a39e56173c9044"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#acf264de4e3ca36c5e8a39e56173c9044">setpos</a> (<a class="el" href="struct_fat_pos__t.html">FatPos_t</a> *pos)</td></tr>
  262. <tr class="separator:acf264de4e3ca36c5e8a39e56173c9044"><td class="memSeparator" colspan="2">&#160;</td></tr>
  263. <tr class="memitem:a603d3cd3319142d00a7ebd434970b017"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_file.html#a603d3cd3319142d00a7ebd434970b017">size</a> ()</td></tr>
  264. <tr class="separator:a603d3cd3319142d00a7ebd434970b017"><td class="memSeparator" colspan="2">&#160;</td></tr>
  265. <tr class="memitem:a67f3dc4896c542d695e11aac927f585e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a67f3dc4896c542d695e11aac927f585e">sync</a> ()</td></tr>
  266. <tr class="separator:a67f3dc4896c542d695e11aac927f585e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  267. <tr class="memitem:aa53a8d1d2467ad9af7d61cbf8ee85243"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aa53a8d1d2467ad9af7d61cbf8ee85243">timestamp</a> (<a class="el" href="class_fat_file.html">FatFile</a> *file)</td></tr>
  268. <tr class="separator:aa53a8d1d2467ad9af7d61cbf8ee85243"><td class="memSeparator" colspan="2">&#160;</td></tr>
  269. <tr class="memitem:a56dabdf73833b7e961c4530eb8e16d23"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a56dabdf73833b7e961c4530eb8e16d23">timestamp</a> (uint8_t flags, uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second)</td></tr>
  270. <tr class="separator:a56dabdf73833b7e961c4530eb8e16d23"><td class="memSeparator" colspan="2">&#160;</td></tr>
  271. <tr class="memitem:aa6e663098a578635d37d92e82d18d616"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aa6e663098a578635d37d92e82d18d616">truncate</a> (uint32_t length)</td></tr>
  272. <tr class="separator:aa6e663098a578635d37d92e82d18d616"><td class="memSeparator" colspan="2">&#160;</td></tr>
  273. <tr class="memitem:a3c64bd8a9abb9a6461d4addb405614df"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_fat_volume.html">FatVolume</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a3c64bd8a9abb9a6461d4addb405614df">volume</a> () const </td></tr>
  274. <tr class="separator:a3c64bd8a9abb9a6461d4addb405614df"><td class="memSeparator" colspan="2">&#160;</td></tr>
  275. <tr class="memitem:a618a6b2b7e81bfb93e0d3c158f614f90"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_file.html#a618a6b2b7e81bfb93e0d3c158f614f90">write</a> (uint8_t b)</td></tr>
  276. <tr class="separator:a618a6b2b7e81bfb93e0d3c158f614f90"><td class="memSeparator" colspan="2">&#160;</td></tr>
  277. <tr class="memitem:aa531c1641a2363e1f6b9d103f37433da"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_file.html#aa531c1641a2363e1f6b9d103f37433da">write</a> (const uint8_t *buf, size_t <a class="el" href="class_file.html#a603d3cd3319142d00a7ebd434970b017">size</a>)</td></tr>
  278. <tr class="separator:aa531c1641a2363e1f6b9d103f37433da"><td class="memSeparator" colspan="2">&#160;</td></tr>
  279. <tr class="memitem:aa4a5b81161994cea07938702cdfce49f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aa4a5b81161994cea07938702cdfce49f">write</a> (const char *str)</td></tr>
  280. <tr class="separator:aa4a5b81161994cea07938702cdfce49f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  281. <tr class="memitem:a0ab9df44a9ee4b6eb0a78f15f1e30004"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a0ab9df44a9ee4b6eb0a78f15f1e30004">write</a> (const void *buf, size_t nbyte)</td></tr>
  282. <tr class="separator:a0ab9df44a9ee4b6eb0a78f15f1e30004"><td class="memSeparator" colspan="2">&#160;</td></tr>
  283. </table><table class="memberdecls">
  284. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
  285. Static Public Member Functions</h2></td></tr>
  286. <tr class="memitem:a3b68e603ad8e47bad915f0547e580adb"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_fat_file.html">FatFile</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a3b68e603ad8e47bad915f0547e580adb">cwd</a> ()</td></tr>
  287. <tr class="separator:a3b68e603ad8e47bad915f0547e580adb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  288. <tr class="memitem:a29a623f50df057e8b49045ba6611ec2b"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a29a623f50df057e8b49045ba6611ec2b">dateTimeCallback</a> (void(*dateTime)(uint16_t *date, uint16_t *time))</td></tr>
  289. <tr class="separator:a29a623f50df057e8b49045ba6611ec2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  290. <tr class="memitem:a5df02f1d037e6091375488af25244ebc"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a5df02f1d037e6091375488af25244ebc">dateTimeCallbackCancel</a> ()</td></tr>
  291. <tr class="separator:a5df02f1d037e6091375488af25244ebc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  292. <tr class="memitem:a648461081fe07578780f4cd3f246cb66"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a648461081fe07578780f4cd3f246cb66">dirName</a> (const <a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a> *dir, char *<a class="el" href="class_file.html#a7ca23d8d3997c10c221977c64736f575">name</a>)</td></tr>
  293. <tr class="separator:a648461081fe07578780f4cd3f246cb66"><td class="memSeparator" colspan="2">&#160;</td></tr>
  294. <tr class="memitem:a94df8090f16e9666cdc53ca20f6aff90"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a94df8090f16e9666cdc53ca20f6aff90">legal83Char</a> (uint8_t c)</td></tr>
  295. <tr class="separator:a94df8090f16e9666cdc53ca20f6aff90"><td class="memSeparator" colspan="2">&#160;</td></tr>
  296. <tr class="memitem:a8fdb038aafdf3a17ac80b53c063aa73b"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a8fdb038aafdf3a17ac80b53c063aa73b">printFatDate</a> (uint16_t fatDate)</td></tr>
  297. <tr class="separator:a8fdb038aafdf3a17ac80b53c063aa73b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  298. <tr class="memitem:ada5364f66204b1a64afbf9d2e6cd2b0b"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ada5364f66204b1a64afbf9d2e6cd2b0b">printFatDate</a> (<a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr, uint16_t fatDate)</td></tr>
  299. <tr class="separator:ada5364f66204b1a64afbf9d2e6cd2b0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  300. <tr class="memitem:a7740731f08ef97de7dfbc9b075c4c7d1"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a7740731f08ef97de7dfbc9b075c4c7d1">printFatTime</a> (uint16_t fatTime)</td></tr>
  301. <tr class="separator:a7740731f08ef97de7dfbc9b075c4c7d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  302. <tr class="memitem:a4e7e56ba52ca17c602af1b85684b09a9"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a4e7e56ba52ca17c602af1b85684b09a9">printFatTime</a> (<a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr, uint16_t fatTime)</td></tr>
  303. <tr class="separator:a4e7e56ba52ca17c602af1b85684b09a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  304. <tr class="memitem:afe820bbb056863e91ec482961c8dc695"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#afe820bbb056863e91ec482961c8dc695">remove</a> (<a class="el" href="class_fat_file.html">FatFile</a> *dirFile, const char *path)</td></tr>
  305. <tr class="separator:afe820bbb056863e91ec482961c8dc695"><td class="memSeparator" colspan="2">&#160;</td></tr>
  306. <tr class="memitem:a360ef9c05e677271bed6c0a4d663634c"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a360ef9c05e677271bed6c0a4d663634c">setCwd</a> (<a class="el" href="class_fat_file.html">FatFile</a> *dir)</td></tr>
  307. <tr class="separator:a360ef9c05e677271bed6c0a4d663634c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  308. </table>
  309. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  310. <div class="textblock"><p>Arduino SD.h style <a class="el" href="class_file.html" title="Arduino SD.h style File API. ">File</a> API. </p>
  311. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  312. <a class="anchor" id="a9ecb14efb960d1369926182479f56213"></a>
  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">File::File </td>
  321. <td>(</td>
  322. <td class="paramtype">const char *&#160;</td>
  323. <td class="paramname"><em>path</em>, </td>
  324. </tr>
  325. <tr>
  326. <td class="paramkey"></td>
  327. <td></td>
  328. <td class="paramtype">uint8_t&#160;</td>
  329. <td class="paramname"><em>oflag</em>&#160;</td>
  330. </tr>
  331. <tr>
  332. <td></td>
  333. <td>)</td>
  334. <td></td><td></td>
  335. </tr>
  336. </table>
  337. </td>
  338. <td class="mlabels-right">
  339. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  340. </tr>
  341. </table>
  342. </div><div class="memdoc">
  343. <p>Create a file object and open it in the current working directory.</p>
  344. <dl class="params"><dt>Parameters</dt><dd>
  345. <table class="params">
  346. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path with a valid 8.3 DOS name for a file to be opened.</td></tr>
  347. <tr><td class="paramdir">[in]</td><td class="paramname">oflag</td><td>Values for <em>oflag</em> are constructed by a bitwise-inclusive OR of open flags. see <a class="el" href="class_fat_file.html#a211be757679b18708f6b6a36464e4f61">FatFile::open(FatFile*, const char*, uint8_t)</a>. </td></tr>
  348. </table>
  349. </dd>
  350. </dl>
  351. </div>
  352. </div>
  353. <h2 class="groupheader">Member Function Documentation</h2>
  354. <a class="anchor" id="acf613c4e75bae85f543b30e701ebcc44"></a>
  355. <div class="memitem">
  356. <div class="memproto">
  357. <table class="mlabels">
  358. <tr>
  359. <td class="mlabels-left">
  360. <table class="memname">
  361. <tr>
  362. <td class="memname">int File::available </td>
  363. <td>(</td>
  364. <td class="paramname"></td><td>)</td>
  365. <td></td>
  366. </tr>
  367. </table>
  368. </td>
  369. <td class="mlabels-right">
  370. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  371. </tr>
  372. </table>
  373. </div><div class="memdoc">
  374. <dl class="section return"><dt>Returns</dt><dd>number of bytes available from the current position to EOF or INT_MAX if more than INT_MAX bytes are available. </dd></dl>
  375. </div>
  376. </div>
  377. <a class="anchor" id="a052e2c15a39b322a5307b693b8835b22"></a>
  378. <div class="memitem">
  379. <div class="memproto">
  380. <table class="mlabels">
  381. <tr>
  382. <td class="mlabels-left">
  383. <table class="memname">
  384. <tr>
  385. <td class="memname">void FatFile::clearError </td>
  386. <td>(</td>
  387. <td class="paramname"></td><td>)</td>
  388. <td></td>
  389. </tr>
  390. </table>
  391. </td>
  392. <td class="mlabels-right">
  393. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  394. </tr>
  395. </table>
  396. </div><div class="memdoc">
  397. <p>Clear all error bits. </p>
  398. </div>
  399. </div>
  400. <a class="anchor" id="aeca2a2eff91e6aa55fe1b0e3860c9a05"></a>
  401. <div class="memitem">
  402. <div class="memproto">
  403. <table class="mlabels">
  404. <tr>
  405. <td class="mlabels-left">
  406. <table class="memname">
  407. <tr>
  408. <td class="memname">void FatFile::clearWriteError </td>
  409. <td>(</td>
  410. <td class="paramname"></td><td>)</td>
  411. <td></td>
  412. </tr>
  413. </table>
  414. </td>
  415. <td class="mlabels-right">
  416. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  417. </tr>
  418. </table>
  419. </div><div class="memdoc">
  420. <p>Set writeError to zero </p>
  421. </div>
  422. </div>
  423. <a class="anchor" id="afd16af325e0642e4bff6430b7d8bb18b"></a>
  424. <div class="memitem">
  425. <div class="memproto">
  426. <table class="mlabels">
  427. <tr>
  428. <td class="mlabels-left">
  429. <table class="memname">
  430. <tr>
  431. <td class="memname">bool FatFile::close </td>
  432. <td>(</td>
  433. <td class="paramname"></td><td>)</td>
  434. <td></td>
  435. </tr>
  436. </table>
  437. </td>
  438. <td class="mlabels-right">
  439. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  440. </tr>
  441. </table>
  442. </div><div class="memdoc">
  443. <p>Close a file and force cached data and directory information to be written to the storage device.</p>
  444. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  445. </div>
  446. </div>
  447. <a class="anchor" id="aa367708bcc8bc0e0c45c0c2a812c65da"></a>
  448. <div class="memitem">
  449. <div class="memproto">
  450. <table class="mlabels">
  451. <tr>
  452. <td class="mlabels-left">
  453. <table class="memname">
  454. <tr>
  455. <td class="memname">bool FatFile::contiguousRange </td>
  456. <td>(</td>
  457. <td class="paramtype">uint32_t *&#160;</td>
  458. <td class="paramname"><em>bgnBlock</em>, </td>
  459. </tr>
  460. <tr>
  461. <td class="paramkey"></td>
  462. <td></td>
  463. <td class="paramtype">uint32_t *&#160;</td>
  464. <td class="paramname"><em>endBlock</em>&#160;</td>
  465. </tr>
  466. <tr>
  467. <td></td>
  468. <td>)</td>
  469. <td></td><td></td>
  470. </tr>
  471. </table>
  472. </td>
  473. <td class="mlabels-right">
  474. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  475. </tr>
  476. </table>
  477. </div><div class="memdoc">
  478. <p>Check for contiguous file and return its raw block range.</p>
  479. <dl class="params"><dt>Parameters</dt><dd>
  480. <table class="params">
  481. <tr><td class="paramdir">[out]</td><td class="paramname">bgnBlock</td><td>the first block address for the file. </td></tr>
  482. <tr><td class="paramdir">[out]</td><td class="paramname">endBlock</td><td>the last block address for the file.</td></tr>
  483. </table>
  484. </dd>
  485. </dl>
  486. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  487. </div>
  488. </div>
  489. <a class="anchor" id="a0afc2a1cffa238d1cb2049bfa2d8d199"></a>
  490. <div class="memitem">
  491. <div class="memproto">
  492. <table class="mlabels">
  493. <tr>
  494. <td class="mlabels-left">
  495. <table class="memname">
  496. <tr>
  497. <td class="memname">bool FatFile::createContiguous </td>
  498. <td>(</td>
  499. <td class="paramtype"><a class="el" href="class_fat_file.html">FatFile</a> *&#160;</td>
  500. <td class="paramname"><em>dirFile</em>, </td>
  501. </tr>
  502. <tr>
  503. <td class="paramkey"></td>
  504. <td></td>
  505. <td class="paramtype">const char *&#160;</td>
  506. <td class="paramname"><em>path</em>, </td>
  507. </tr>
  508. <tr>
  509. <td class="paramkey"></td>
  510. <td></td>
  511. <td class="paramtype">uint32_t&#160;</td>
  512. <td class="paramname"><em>size</em>&#160;</td>
  513. </tr>
  514. <tr>
  515. <td></td>
  516. <td>)</td>
  517. <td></td><td></td>
  518. </tr>
  519. </table>
  520. </td>
  521. <td class="mlabels-right">
  522. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  523. </tr>
  524. </table>
  525. </div><div class="memdoc">
  526. <p>Create and open a new contiguous file of a specified size.</p>
  527. <dl class="params"><dt>Parameters</dt><dd>
  528. <table class="params">
  529. <tr><td class="paramdir">[in]</td><td class="paramname">dirFile</td><td>The directory where the file will be created. </td></tr>
  530. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path with a valid DOS 8.3 file name. </td></tr>
  531. <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>The desired file size.</td></tr>
  532. </table>
  533. </dd>
  534. </dl>
  535. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false, is returned for failure. </dd></dl>
  536. </div>
  537. </div>
  538. <a class="anchor" id="a4c03e2f6729526786e6ab4a623e0339b"></a>
  539. <div class="memitem">
  540. <div class="memproto">
  541. <table class="mlabels">
  542. <tr>
  543. <td class="mlabels-left">
  544. <table class="memname">
  545. <tr>
  546. <td class="memname">uint32_t FatFile::curCluster </td>
  547. <td>(</td>
  548. <td class="paramname"></td><td>)</td>
  549. <td> const</td>
  550. </tr>
  551. </table>
  552. </td>
  553. <td class="mlabels-right">
  554. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  555. </tr>
  556. </table>
  557. </div><div class="memdoc">
  558. <dl class="section return"><dt>Returns</dt><dd>The current cluster number for a file or directory. </dd></dl>
  559. </div>
  560. </div>
  561. <a class="anchor" id="a20c55b134bfd1d287a00bf64eba9332e"></a>
  562. <div class="memitem">
  563. <div class="memproto">
  564. <table class="mlabels">
  565. <tr>
  566. <td class="mlabels-left">
  567. <table class="memname">
  568. <tr>
  569. <td class="memname">uint32_t FatFile::curPosition </td>
  570. <td>(</td>
  571. <td class="paramname"></td><td>)</td>
  572. <td> const</td>
  573. </tr>
  574. </table>
  575. </td>
  576. <td class="mlabels-right">
  577. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  578. </tr>
  579. </table>
  580. </div><div class="memdoc">
  581. <dl class="section return"><dt>Returns</dt><dd>The current position for a file or directory. </dd></dl>
  582. </div>
  583. </div>
  584. <a class="anchor" id="a3b68e603ad8e47bad915f0547e580adb"></a>
  585. <div class="memitem">
  586. <div class="memproto">
  587. <table class="mlabels">
  588. <tr>
  589. <td class="mlabels-left">
  590. <table class="memname">
  591. <tr>
  592. <td class="memname">static <a class="el" href="class_fat_file.html">FatFile</a>* FatFile::cwd </td>
  593. <td>(</td>
  594. <td class="paramname"></td><td>)</td>
  595. <td></td>
  596. </tr>
  597. </table>
  598. </td>
  599. <td class="mlabels-right">
  600. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  601. </tr>
  602. </table>
  603. </div><div class="memdoc">
  604. <dl class="section return"><dt>Returns</dt><dd>Current working directory </dd></dl>
  605. </div>
  606. </div>
  607. <a class="anchor" id="a29a623f50df057e8b49045ba6611ec2b"></a>
  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">static void FatFile::dateTimeCallback </td>
  616. <td>(</td>
  617. <td class="paramtype">void(*)(uint16_t *date, uint16_t *time)&#160;</td>
  618. <td class="paramname"><em>dateTime</em></td><td>)</td>
  619. <td></td>
  620. </tr>
  621. </table>
  622. </td>
  623. <td class="mlabels-right">
  624. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  625. </tr>
  626. </table>
  627. </div><div class="memdoc">
  628. <p>Set the date/time callback function</p>
  629. <dl class="params"><dt>Parameters</dt><dd>
  630. <table class="params">
  631. <tr><td class="paramdir">[in]</td><td class="paramname">dateTime</td><td>The user's call back function. The callback function is of the form:</td></tr>
  632. </table>
  633. </dd>
  634. </dl>
  635. <div class="fragment"><div class="line"><span class="keywordtype">void</span> dateTime(uint16_t* date, uint16_t* time) {</div>
  636. <div class="line"> uint16_t year;</div>
  637. <div class="line"> uint8_t month, day, hour, minute, second;</div>
  638. <div class="line"></div>
  639. <div class="line"> <span class="comment">// User gets date and time from GPS or real-time clock here</span></div>
  640. <div class="line"></div>
  641. <div class="line"> <span class="comment">// return date using FAT_DATE macro to format fields</span></div>
  642. <div class="line"> *date = <a class="code" href="_fat_structs_8h.html#a44899ad42ddf32ff1c1a73b5251b304a">FAT_DATE</a>(year, month, day);</div>
  643. <div class="line"></div>
  644. <div class="line"> <span class="comment">// return time using FAT_TIME macro to format fields</span></div>
  645. <div class="line"> *time = <a class="code" href="_fat_structs_8h.html#a375720927be5a39475d48b2d75dae29a">FAT_TIME</a>(hour, minute, second);</div>
  646. <div class="line">}</div>
  647. </div><!-- fragment --><p>Sets the function that is called when a file is created or when a file's directory entry is modified by <a class="el" href="class_fat_file.html#a67f3dc4896c542d695e11aac927f585e">sync()</a>. All timestamps, access, creation, and modify, are set when a file is created. <a class="el" href="class_fat_file.html#a67f3dc4896c542d695e11aac927f585e">sync()</a> maintains the last access date and last modify date/time.</p>
  648. <p>See the <a class="el" href="class_fat_file.html#aa53a8d1d2467ad9af7d61cbf8ee85243">timestamp()</a> function. </p>
  649. </div>
  650. </div>
  651. <a class="anchor" id="a5df02f1d037e6091375488af25244ebc"></a>
  652. <div class="memitem">
  653. <div class="memproto">
  654. <table class="mlabels">
  655. <tr>
  656. <td class="mlabels-left">
  657. <table class="memname">
  658. <tr>
  659. <td class="memname">static void FatFile::dateTimeCallbackCancel </td>
  660. <td>(</td>
  661. <td class="paramname"></td><td>)</td>
  662. <td></td>
  663. </tr>
  664. </table>
  665. </td>
  666. <td class="mlabels-right">
  667. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  668. </tr>
  669. </table>
  670. </div><div class="memdoc">
  671. <p>Cancel the date/time callback function. </p>
  672. </div>
  673. </div>
  674. <a class="anchor" id="a6858d18c807411a071fd6d1b39d50087"></a>
  675. <div class="memitem">
  676. <div class="memproto">
  677. <table class="mlabels">
  678. <tr>
  679. <td class="mlabels-left">
  680. <table class="memname">
  681. <tr>
  682. <td class="memname">bool FatFile::dirEntry </td>
  683. <td>(</td>
  684. <td class="paramtype"><a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a> *&#160;</td>
  685. <td class="paramname"><em>dir</em></td><td>)</td>
  686. <td></td>
  687. </tr>
  688. </table>
  689. </td>
  690. <td class="mlabels-right">
  691. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  692. </tr>
  693. </table>
  694. </div><div class="memdoc">
  695. <p>Return a file's directory entry.</p>
  696. <dl class="params"><dt>Parameters</dt><dd>
  697. <table class="params">
  698. <tr><td class="paramdir">[out]</td><td class="paramname">dir</td><td>Location for return of the file's directory entry.</td></tr>
  699. </table>
  700. </dd>
  701. </dl>
  702. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  703. </div>
  704. </div>
  705. <a class="anchor" id="ae5ec24d4a94d3780384d3f2b731c7eb9"></a>
  706. <div class="memitem">
  707. <div class="memproto">
  708. <table class="mlabels">
  709. <tr>
  710. <td class="mlabels-left">
  711. <table class="memname">
  712. <tr>
  713. <td class="memname">uint16_t FatFile::dirIndex </td>
  714. <td>(</td>
  715. <td class="paramname"></td><td>)</td>
  716. <td></td>
  717. </tr>
  718. </table>
  719. </td>
  720. <td class="mlabels-right">
  721. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  722. </tr>
  723. </table>
  724. </div><div class="memdoc">
  725. <dl class="section return"><dt>Returns</dt><dd>The index of this file in it's directory. </dd></dl>
  726. </div>
  727. </div>
  728. <a class="anchor" id="a648461081fe07578780f4cd3f246cb66"></a>
  729. <div class="memitem">
  730. <div class="memproto">
  731. <table class="mlabels">
  732. <tr>
  733. <td class="mlabels-left">
  734. <table class="memname">
  735. <tr>
  736. <td class="memname">uint8_t FatFile::dirName </td>
  737. <td>(</td>
  738. <td class="paramtype">const <a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a> *&#160;</td>
  739. <td class="paramname"><em>dir</em>, </td>
  740. </tr>
  741. <tr>
  742. <td class="paramkey"></td>
  743. <td></td>
  744. <td class="paramtype">char *&#160;</td>
  745. <td class="paramname"><em>name</em>&#160;</td>
  746. </tr>
  747. <tr>
  748. <td></td>
  749. <td>)</td>
  750. <td></td><td></td>
  751. </tr>
  752. </table>
  753. </td>
  754. <td class="mlabels-right">
  755. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  756. </tr>
  757. </table>
  758. </div><div class="memdoc">
  759. <p>Format the name field of <em>dir</em> into the 13 byte array <em>name</em> in standard 8.3 short name format.</p>
  760. <dl class="params"><dt>Parameters</dt><dd>
  761. <table class="params">
  762. <tr><td class="paramdir">[in]</td><td class="paramname">dir</td><td>The directory structure containing the name. </td></tr>
  763. <tr><td class="paramdir">[out]</td><td class="paramname">name</td><td>A 13 byte char array for the formatted name. </td></tr>
  764. </table>
  765. </dd>
  766. </dl>
  767. <dl class="section return"><dt>Returns</dt><dd>length of the name. </dd></dl>
  768. </div>
  769. </div>
  770. <a class="anchor" id="ae2ed15f05c9ccbce355e7a8d3ce8382d"></a>
  771. <div class="memitem">
  772. <div class="memproto">
  773. <table class="mlabels">
  774. <tr>
  775. <td class="mlabels-left">
  776. <table class="memname">
  777. <tr>
  778. <td class="memname">uint32_t FatFile::dirSize </td>
  779. <td>(</td>
  780. <td class="paramname"></td><td>)</td>
  781. <td></td>
  782. </tr>
  783. </table>
  784. </td>
  785. <td class="mlabels-right">
  786. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  787. </tr>
  788. </table>
  789. </div><div class="memdoc">
  790. <dl class="section return"><dt>Returns</dt><dd>The number of bytes allocated to a directory or zero if an error occurs. </dd></dl>
  791. </div>
  792. </div>
  793. <a class="anchor" id="a4f01d27954ae49aeb6888ac7302f55d9"></a>
  794. <div class="memitem">
  795. <div class="memproto">
  796. <table class="mlabels">
  797. <tr>
  798. <td class="mlabels-left">
  799. <table class="memname">
  800. <tr>
  801. <td class="memname">void FatFile::dmpFile </td>
  802. <td>(</td>
  803. <td class="paramtype"><a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  804. <td class="paramname"><em>pr</em>, </td>
  805. </tr>
  806. <tr>
  807. <td class="paramkey"></td>
  808. <td></td>
  809. <td class="paramtype">uint32_t&#160;</td>
  810. <td class="paramname"><em>pos</em>, </td>
  811. </tr>
  812. <tr>
  813. <td class="paramkey"></td>
  814. <td></td>
  815. <td class="paramtype">size_t&#160;</td>
  816. <td class="paramname"><em>n</em>&#160;</td>
  817. </tr>
  818. <tr>
  819. <td></td>
  820. <td>)</td>
  821. <td></td><td></td>
  822. </tr>
  823. </table>
  824. </td>
  825. <td class="mlabels-right">
  826. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  827. </tr>
  828. </table>
  829. </div><div class="memdoc">
  830. <p>Dump file in Hex </p><dl class="params"><dt>Parameters</dt><dd>
  831. <table class="params">
  832. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for list. </td></tr>
  833. <tr><td class="paramdir">[in]</td><td class="paramname">pos</td><td>Start position in file. </td></tr>
  834. <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>number of locations to dump. </td></tr>
  835. </table>
  836. </dd>
  837. </dl>
  838. </div>
  839. </div>
  840. <a class="anchor" id="a50242f98dea0d4488ce4039a279f2a57"></a>
  841. <div class="memitem">
  842. <div class="memproto">
  843. <table class="mlabels">
  844. <tr>
  845. <td class="mlabels-left">
  846. <table class="memname">
  847. <tr>
  848. <td class="memname">bool FatFile::exists </td>
  849. <td>(</td>
  850. <td class="paramtype">const char *&#160;</td>
  851. <td class="paramname"><em>path</em></td><td>)</td>
  852. <td></td>
  853. </tr>
  854. </table>
  855. </td>
  856. <td class="mlabels-right">
  857. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  858. </tr>
  859. </table>
  860. </div><div class="memdoc">
  861. <p>Test for the existence of a file in a directory</p>
  862. <dl class="params"><dt>Parameters</dt><dd>
  863. <table class="params">
  864. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>Path of the file to be tested for.</td></tr>
  865. </table>
  866. </dd>
  867. </dl>
  868. <p>The calling instance must be an open directory file.</p>
  869. <p>dirFile.exists("TOFIND.TXT") searches for "TOFIND.TXT" in the directory dirFile.</p>
  870. <dl class="section return"><dt>Returns</dt><dd>true if the file exists else false. </dd></dl>
  871. </div>
  872. </div>
  873. <a class="anchor" id="a31ef26b3ee37cf5f5f4c6024c0ddab69"></a>
  874. <div class="memitem">
  875. <div class="memproto">
  876. <table class="mlabels">
  877. <tr>
  878. <td class="mlabels-left">
  879. <table class="memname">
  880. <tr>
  881. <td class="memname">int16_t FatFile::fgets </td>
  882. <td>(</td>
  883. <td class="paramtype">char *&#160;</td>
  884. <td class="paramname"><em>str</em>, </td>
  885. </tr>
  886. <tr>
  887. <td class="paramkey"></td>
  888. <td></td>
  889. <td class="paramtype">int16_t&#160;</td>
  890. <td class="paramname"><em>num</em>, </td>
  891. </tr>
  892. <tr>
  893. <td class="paramkey"></td>
  894. <td></td>
  895. <td class="paramtype">char *&#160;</td>
  896. <td class="paramname"><em>delim</em> = <code>0</code>&#160;</td>
  897. </tr>
  898. <tr>
  899. <td></td>
  900. <td>)</td>
  901. <td></td><td></td>
  902. </tr>
  903. </table>
  904. </td>
  905. <td class="mlabels-right">
  906. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  907. </tr>
  908. </table>
  909. </div><div class="memdoc">
  910. <p>Get a string from a file.</p>
  911. <p><a class="el" href="class_fat_file.html#a31ef26b3ee37cf5f5f4c6024c0ddab69">fgets()</a> reads bytes from a file into the array pointed to by <em>str</em>, until <em>num</em> - 1 bytes are read, or a delimiter is read and transferred to <em>str</em>, or end-of-file is encountered. The string is then terminated with a null byte.</p>
  912. <p><a class="el" href="class_fat_file.html#a31ef26b3ee37cf5f5f4c6024c0ddab69">fgets()</a> deletes CR, '\r', from the string. This insures only a '\n' terminates the string for Windows text files which use CRLF for newline.</p>
  913. <dl class="params"><dt>Parameters</dt><dd>
  914. <table class="params">
  915. <tr><td class="paramdir">[out]</td><td class="paramname">str</td><td>Pointer to the array where the string is stored. </td></tr>
  916. <tr><td class="paramdir">[in]</td><td class="paramname">num</td><td>Maximum number of characters to be read (including the final null byte). Usually the length of the array <em>str</em> is used. </td></tr>
  917. <tr><td class="paramdir">[in]</td><td class="paramname">delim</td><td>Optional set of delimiters. The default is "\n".</td></tr>
  918. </table>
  919. </dd>
  920. </dl>
  921. <dl class="section return"><dt>Returns</dt><dd>For success <a class="el" href="class_fat_file.html#a31ef26b3ee37cf5f5f4c6024c0ddab69">fgets()</a> returns the length of the string in <em>str</em>. If no data is read, <a class="el" href="class_fat_file.html#a31ef26b3ee37cf5f5f4c6024c0ddab69">fgets()</a> returns zero for EOF or -1 if an error occurred. </dd></dl>
  922. </div>
  923. </div>
  924. <a class="anchor" id="a7e043dfb89d268bfd620bbbadacf1002"></a>
  925. <div class="memitem">
  926. <div class="memproto">
  927. <table class="mlabels">
  928. <tr>
  929. <td class="mlabels-left">
  930. <table class="memname">
  931. <tr>
  932. <td class="memname">uint8_t FatFile::fileAttr </td>
  933. <td>(</td>
  934. <td class="paramname"></td><td>)</td>
  935. <td> const</td>
  936. </tr>
  937. </table>
  938. </td>
  939. <td class="mlabels-right">
  940. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  941. </tr>
  942. </table>
  943. </div><div class="memdoc">
  944. <p>Type of file. You should use <a class="el" href="class_fat_file.html#afcf6270ea8d4a3a5f8e89523bc684e22">isFile()</a> or <a class="el" href="class_fat_file.html#aef41d65e0f1ce753d18cc9ed691f7de4">isDir()</a> instead of fileType() if possible.</p>
  945. <dl class="section return"><dt>Returns</dt><dd>The file or directory type. </dd></dl>
  946. </div>
  947. </div>
  948. <a class="anchor" id="a02fc3b3ca36b4745f695f3de8c8ec36d"></a>
  949. <div class="memitem">
  950. <div class="memproto">
  951. <table class="mlabels">
  952. <tr>
  953. <td class="mlabels-left">
  954. <table class="memname">
  955. <tr>
  956. <td class="memname">uint32_t FatFile::fileSize </td>
  957. <td>(</td>
  958. <td class="paramname"></td><td>)</td>
  959. <td> const</td>
  960. </tr>
  961. </table>
  962. </td>
  963. <td class="mlabels-right">
  964. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  965. </tr>
  966. </table>
  967. </div><div class="memdoc">
  968. <dl class="section return"><dt>Returns</dt><dd>The total number of bytes in a file. </dd></dl>
  969. </div>
  970. </div>
  971. <a class="anchor" id="a1057bc23b92a074539f661e896e79a09"></a>
  972. <div class="memitem">
  973. <div class="memproto">
  974. <table class="mlabels">
  975. <tr>
  976. <td class="mlabels-left">
  977. <table class="memname">
  978. <tr>
  979. <td class="memname">uint32_t FatFile::firstCluster </td>
  980. <td>(</td>
  981. <td class="paramname"></td><td>)</td>
  982. <td> const</td>
  983. </tr>
  984. </table>
  985. </td>
  986. <td class="mlabels-right">
  987. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  988. </tr>
  989. </table>
  990. </div><div class="memdoc">
  991. <dl class="section return"><dt>Returns</dt><dd>The first cluster number for a file or directory. </dd></dl>
  992. </div>
  993. </div>
  994. <a class="anchor" id="af87fa862de707575b8badd044a5af80e"></a>
  995. <div class="memitem">
  996. <div class="memproto">
  997. <table class="mlabels">
  998. <tr>
  999. <td class="mlabels-left">
  1000. <table class="memname">
  1001. <tr>
  1002. <td class="memname">void File::flush </td>
  1003. <td>(</td>
  1004. <td class="paramname"></td><td>)</td>
  1005. <td></td>
  1006. </tr>
  1007. </table>
  1008. </td>
  1009. <td class="mlabels-right">
  1010. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1011. </tr>
  1012. </table>
  1013. </div><div class="memdoc">
  1014. <p>Ensure that any bytes written to the file are saved to the SD card. </p>
  1015. </div>
  1016. </div>
  1017. <a class="anchor" id="ad0dbbd083180f44c7a3ce7124d4ce19c"></a>
  1018. <div class="memitem">
  1019. <div class="memproto">
  1020. <table class="mlabels">
  1021. <tr>
  1022. <td class="mlabels-left">
  1023. <table class="memname">
  1024. <tr>
  1025. <td class="memname">uint8_t FatFile::getError </td>
  1026. <td>(</td>
  1027. <td class="paramname"></td><td>)</td>
  1028. <td></td>
  1029. </tr>
  1030. </table>
  1031. </td>
  1032. <td class="mlabels-right">
  1033. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1034. </tr>
  1035. </table>
  1036. </div><div class="memdoc">
  1037. <dl class="section return"><dt>Returns</dt><dd>All error bits. </dd></dl>
  1038. </div>
  1039. </div>
  1040. <a class="anchor" id="aafa565e286440aab612cdb430fc01da5"></a>
  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 FatFile::getName </td>
  1049. <td>(</td>
  1050. <td class="paramtype">char *&#160;</td>
  1051. <td class="paramname"><em>name</em>, </td>
  1052. </tr>
  1053. <tr>
  1054. <td class="paramkey"></td>
  1055. <td></td>
  1056. <td class="paramtype">size_t&#160;</td>
  1057. <td class="paramname"><em>size</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">inherited</span></span> </td>
  1068. </tr>
  1069. </table>
  1070. </div><div class="memdoc">
  1071. <p>Get a file's name followed by a zero byte.</p>
  1072. <dl class="params"><dt>Parameters</dt><dd>
  1073. <table class="params">
  1074. <tr><td class="paramdir">[out]</td><td class="paramname">name</td><td>An array of characters for the file's name. </td></tr>
  1075. <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>The size of the array in bytes. The array must be at least 13 bytes long. The file's name will be truncated if the file's name is too long. </td></tr>
  1076. </table>
  1077. </dd>
  1078. </dl>
  1079. <dl class="section return"><dt>Returns</dt><dd>The value true, is returned for success and the value false, is returned for failure. </dd></dl>
  1080. </div>
  1081. </div>
  1082. <a class="anchor" id="aaa4f9886887947815a61eaf015996932"></a>
  1083. <div class="memitem">
  1084. <div class="memproto">
  1085. <table class="mlabels">
  1086. <tr>
  1087. <td class="mlabels-left">
  1088. <table class="memname">
  1089. <tr>
  1090. <td class="memname">void FatFile::getpos </td>
  1091. <td>(</td>
  1092. <td class="paramtype"><a class="el" href="struct_fat_pos__t.html">FatPos_t</a> *&#160;</td>
  1093. <td class="paramname"><em>pos</em></td><td>)</td>
  1094. <td></td>
  1095. </tr>
  1096. </table>
  1097. </td>
  1098. <td class="mlabels-right">
  1099. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1100. </tr>
  1101. </table>
  1102. </div><div class="memdoc">
  1103. <p>get position for streams </p><dl class="params"><dt>Parameters</dt><dd>
  1104. <table class="params">
  1105. <tr><td class="paramdir">[out]</td><td class="paramname">pos</td><td>struct to receive position </td></tr>
  1106. </table>
  1107. </dd>
  1108. </dl>
  1109. </div>
  1110. </div>
  1111. <a class="anchor" id="aba30e92a66f8e0d2f815c85662772a58"></a>
  1112. <div class="memitem">
  1113. <div class="memproto">
  1114. <table class="mlabels">
  1115. <tr>
  1116. <td class="mlabels-left">
  1117. <table class="memname">
  1118. <tr>
  1119. <td class="memname">bool FatFile::getSFN </td>
  1120. <td>(</td>
  1121. <td class="paramtype">char *&#160;</td>
  1122. <td class="paramname"><em>name</em></td><td>)</td>
  1123. <td></td>
  1124. </tr>
  1125. </table>
  1126. </td>
  1127. <td class="mlabels-right">
  1128. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1129. </tr>
  1130. </table>
  1131. </div><div class="memdoc">
  1132. <p>Get a file's Short <a class="el" href="class_file.html" title="Arduino SD.h style File API. ">File</a> Name followed by a zero byte.</p>
  1133. <dl class="params"><dt>Parameters</dt><dd>
  1134. <table class="params">
  1135. <tr><td class="paramdir">[out]</td><td class="paramname">name</td><td>An array of characters for the file's name. The array must be at least 13 bytes long. </td></tr>
  1136. </table>
  1137. </dd>
  1138. </dl>
  1139. <dl class="section return"><dt>Returns</dt><dd>The value true, is returned for success and the value false, is returned for failure. </dd></dl>
  1140. </div>
  1141. </div>
  1142. <a class="anchor" id="a8062c0d3a118e8d77d0310418703d5f5"></a>
  1143. <div class="memitem">
  1144. <div class="memproto">
  1145. <table class="mlabels">
  1146. <tr>
  1147. <td class="mlabels-left">
  1148. <table class="memname">
  1149. <tr>
  1150. <td class="memname">bool FatFile::getWriteError </td>
  1151. <td>(</td>
  1152. <td class="paramname"></td><td>)</td>
  1153. <td></td>
  1154. </tr>
  1155. </table>
  1156. </td>
  1157. <td class="mlabels-right">
  1158. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1159. </tr>
  1160. </table>
  1161. </div><div class="memdoc">
  1162. <dl class="section return"><dt>Returns</dt><dd>value of writeError </dd></dl>
  1163. </div>
  1164. </div>
  1165. <a class="anchor" id="aef41d65e0f1ce753d18cc9ed691f7de4"></a>
  1166. <div class="memitem">
  1167. <div class="memproto">
  1168. <table class="mlabels">
  1169. <tr>
  1170. <td class="mlabels-left">
  1171. <table class="memname">
  1172. <tr>
  1173. <td class="memname">bool FatFile::isDir </td>
  1174. <td>(</td>
  1175. <td class="paramname"></td><td>)</td>
  1176. <td> const</td>
  1177. </tr>
  1178. </table>
  1179. </td>
  1180. <td class="mlabels-right">
  1181. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1182. </tr>
  1183. </table>
  1184. </div><div class="memdoc">
  1185. <dl class="section return"><dt>Returns</dt><dd>True if this is a directory else false. </dd></dl>
  1186. </div>
  1187. </div>
  1188. <a class="anchor" id="a6ba5bdb943363cda56649238ccb18c27"></a>
  1189. <div class="memitem">
  1190. <div class="memproto">
  1191. <table class="mlabels">
  1192. <tr>
  1193. <td class="mlabels-left">
  1194. <table class="memname">
  1195. <tr>
  1196. <td class="memname">bool File::isDirectory </td>
  1197. <td>(</td>
  1198. <td class="paramname"></td><td>)</td>
  1199. <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>This function reports if the current file is a directory or not. </p><dl class="section return"><dt>Returns</dt><dd>true if the file is a directory. </dd></dl>
  1209. </div>
  1210. </div>
  1211. <a class="anchor" id="afcf6270ea8d4a3a5f8e89523bc684e22"></a>
  1212. <div class="memitem">
  1213. <div class="memproto">
  1214. <table class="mlabels">
  1215. <tr>
  1216. <td class="mlabels-left">
  1217. <table class="memname">
  1218. <tr>
  1219. <td class="memname">bool FatFile::isFile </td>
  1220. <td>(</td>
  1221. <td class="paramname"></td><td>)</td>
  1222. <td> const</td>
  1223. </tr>
  1224. </table>
  1225. </td>
  1226. <td class="mlabels-right">
  1227. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1228. </tr>
  1229. </table>
  1230. </div><div class="memdoc">
  1231. <dl class="section return"><dt>Returns</dt><dd>True if this is a normal file else false. </dd></dl>
  1232. </div>
  1233. </div>
  1234. <a class="anchor" id="a7eefe7408f34b6326f0c6e78af7eb05f"></a>
  1235. <div class="memitem">
  1236. <div class="memproto">
  1237. <table class="mlabels">
  1238. <tr>
  1239. <td class="mlabels-left">
  1240. <table class="memname">
  1241. <tr>
  1242. <td class="memname">bool FatFile::isHidden </td>
  1243. <td>(</td>
  1244. <td class="paramname"></td><td>)</td>
  1245. <td> const</td>
  1246. </tr>
  1247. </table>
  1248. </td>
  1249. <td class="mlabels-right">
  1250. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1251. </tr>
  1252. </table>
  1253. </div><div class="memdoc">
  1254. <dl class="section return"><dt>Returns</dt><dd>True if this is a hidden file else false. </dd></dl>
  1255. </div>
  1256. </div>
  1257. <a class="anchor" id="aed36d17f8fde597b6ed9446faec1f7e3"></a>
  1258. <div class="memitem">
  1259. <div class="memproto">
  1260. <table class="mlabels">
  1261. <tr>
  1262. <td class="mlabels-left">
  1263. <table class="memname">
  1264. <tr>
  1265. <td class="memname">bool FatFile::isLFN </td>
  1266. <td>(</td>
  1267. <td class="paramname"></td><td>)</td>
  1268. <td> const</td>
  1269. </tr>
  1270. </table>
  1271. </td>
  1272. <td class="mlabels-right">
  1273. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1274. </tr>
  1275. </table>
  1276. </div><div class="memdoc">
  1277. <dl class="section return"><dt>Returns</dt><dd>true if this file has a Long <a class="el" href="class_file.html" title="Arduino SD.h style File API. ">File</a> Name. </dd></dl>
  1278. </div>
  1279. </div>
  1280. <a class="anchor" id="a4c8a07b081f04aa25839c6f56c739bdc"></a>
  1281. <div class="memitem">
  1282. <div class="memproto">
  1283. <table class="mlabels">
  1284. <tr>
  1285. <td class="mlabels-left">
  1286. <table class="memname">
  1287. <tr>
  1288. <td class="memname">bool FatFile::isOpen </td>
  1289. <td>(</td>
  1290. <td class="paramname"></td><td>)</td>
  1291. <td> const</td>
  1292. </tr>
  1293. </table>
  1294. </td>
  1295. <td class="mlabels-right">
  1296. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1297. </tr>
  1298. </table>
  1299. </div><div class="memdoc">
  1300. <dl class="section return"><dt>Returns</dt><dd>True if this is an open file/directory else false. </dd></dl>
  1301. </div>
  1302. </div>
  1303. <a class="anchor" id="a6872d3acb1e70f81c9c2be2495977583"></a>
  1304. <div class="memitem">
  1305. <div class="memproto">
  1306. <table class="mlabels">
  1307. <tr>
  1308. <td class="mlabels-left">
  1309. <table class="memname">
  1310. <tr>
  1311. <td class="memname">bool FatFile::isReadOnly </td>
  1312. <td>(</td>
  1313. <td class="paramname"></td><td>)</td>
  1314. <td> const</td>
  1315. </tr>
  1316. </table>
  1317. </td>
  1318. <td class="mlabels-right">
  1319. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1320. </tr>
  1321. </table>
  1322. </div><div class="memdoc">
  1323. <dl class="section return"><dt>Returns</dt><dd>True if file is read-only </dd></dl>
  1324. </div>
  1325. </div>
  1326. <a class="anchor" id="aa4a206803a4bf8243be20244c1aef4d2"></a>
  1327. <div class="memitem">
  1328. <div class="memproto">
  1329. <table class="mlabels">
  1330. <tr>
  1331. <td class="mlabels-left">
  1332. <table class="memname">
  1333. <tr>
  1334. <td class="memname">bool FatFile::isRoot </td>
  1335. <td>(</td>
  1336. <td class="paramname"></td><td>)</td>
  1337. <td> const</td>
  1338. </tr>
  1339. </table>
  1340. </td>
  1341. <td class="mlabels-right">
  1342. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1343. </tr>
  1344. </table>
  1345. </div><div class="memdoc">
  1346. <dl class="section return"><dt>Returns</dt><dd>True if this is the root directory. </dd></dl>
  1347. </div>
  1348. </div>
  1349. <a class="anchor" id="a1449b294e3a838396c62e47674ca8cf0"></a>
  1350. <div class="memitem">
  1351. <div class="memproto">
  1352. <table class="mlabels">
  1353. <tr>
  1354. <td class="mlabels-left">
  1355. <table class="memname">
  1356. <tr>
  1357. <td class="memname">bool FatFile::isRoot32 </td>
  1358. <td>(</td>
  1359. <td class="paramname"></td><td>)</td>
  1360. <td> const</td>
  1361. </tr>
  1362. </table>
  1363. </td>
  1364. <td class="mlabels-right">
  1365. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1366. </tr>
  1367. </table>
  1368. </div><div class="memdoc">
  1369. <dl class="section return"><dt>Returns</dt><dd>True if this is the FAT32 root directory. </dd></dl>
  1370. </div>
  1371. </div>
  1372. <a class="anchor" id="a8215bd4b21e11ec83fa88ef226ceb06f"></a>
  1373. <div class="memitem">
  1374. <div class="memproto">
  1375. <table class="mlabels">
  1376. <tr>
  1377. <td class="mlabels-left">
  1378. <table class="memname">
  1379. <tr>
  1380. <td class="memname">bool FatFile::isRootFixed </td>
  1381. <td>(</td>
  1382. <td class="paramname"></td><td>)</td>
  1383. <td> const</td>
  1384. </tr>
  1385. </table>
  1386. </td>
  1387. <td class="mlabels-right">
  1388. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1389. </tr>
  1390. </table>
  1391. </div><div class="memdoc">
  1392. <dl class="section return"><dt>Returns</dt><dd>True if this is the FAT12 of FAT16 root directory. </dd></dl>
  1393. </div>
  1394. </div>
  1395. <a class="anchor" id="a95b503b17442c2b364a2f53de1b2aeba"></a>
  1396. <div class="memitem">
  1397. <div class="memproto">
  1398. <table class="mlabels">
  1399. <tr>
  1400. <td class="mlabels-left">
  1401. <table class="memname">
  1402. <tr>
  1403. <td class="memname">bool FatFile::isSubDir </td>
  1404. <td>(</td>
  1405. <td class="paramname"></td><td>)</td>
  1406. <td> const</td>
  1407. </tr>
  1408. </table>
  1409. </td>
  1410. <td class="mlabels-right">
  1411. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1412. </tr>
  1413. </table>
  1414. </div><div class="memdoc">
  1415. <dl class="section return"><dt>Returns</dt><dd>True if this is a subdirectory else false. </dd></dl>
  1416. </div>
  1417. </div>
  1418. <a class="anchor" id="add932e13e5bf32ad467af6ec34824e3c"></a>
  1419. <div class="memitem">
  1420. <div class="memproto">
  1421. <table class="mlabels">
  1422. <tr>
  1423. <td class="mlabels-left">
  1424. <table class="memname">
  1425. <tr>
  1426. <td class="memname">bool FatFile::isSystem </td>
  1427. <td>(</td>
  1428. <td class="paramname"></td><td>)</td>
  1429. <td> const</td>
  1430. </tr>
  1431. </table>
  1432. </td>
  1433. <td class="mlabels-right">
  1434. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1435. </tr>
  1436. </table>
  1437. </div><div class="memdoc">
  1438. <dl class="section return"><dt>Returns</dt><dd>True if this is a system file else false. </dd></dl>
  1439. </div>
  1440. </div>
  1441. <a class="anchor" id="a94df8090f16e9666cdc53ca20f6aff90"></a>
  1442. <div class="memitem">
  1443. <div class="memproto">
  1444. <table class="mlabels">
  1445. <tr>
  1446. <td class="mlabels-left">
  1447. <table class="memname">
  1448. <tr>
  1449. <td class="memname">static bool FatFile::legal83Char </td>
  1450. <td>(</td>
  1451. <td class="paramtype">uint8_t&#160;</td>
  1452. <td class="paramname"><em>c</em></td><td>)</td>
  1453. <td></td>
  1454. </tr>
  1455. </table>
  1456. </td>
  1457. <td class="mlabels-right">
  1458. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  1459. </tr>
  1460. </table>
  1461. </div><div class="memdoc">
  1462. <p>Check for a legal 8.3 character. </p><dl class="params"><dt>Parameters</dt><dd>
  1463. <table class="params">
  1464. <tr><td class="paramdir">[in]</td><td class="paramname">c</td><td>Character to be checked. </td></tr>
  1465. </table>
  1466. </dd>
  1467. </dl>
  1468. <dl class="section return"><dt>Returns</dt><dd>true for a legal 8.3 character else false. </dd></dl>
  1469. </div>
  1470. </div>
  1471. <a class="anchor" id="ad49f688a494b351ccbb0102dcfafb925"></a>
  1472. <div class="memitem">
  1473. <div class="memproto">
  1474. <table class="mlabels">
  1475. <tr>
  1476. <td class="mlabels-left">
  1477. <table class="memname">
  1478. <tr>
  1479. <td class="memname">void FatFile::ls </td>
  1480. <td>(</td>
  1481. <td class="paramtype">uint8_t&#160;</td>
  1482. <td class="paramname"><em>flags</em> = <code>0</code></td><td>)</td>
  1483. <td></td>
  1484. </tr>
  1485. </table>
  1486. </td>
  1487. <td class="mlabels-right">
  1488. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1489. </tr>
  1490. </table>
  1491. </div><div class="memdoc">
  1492. <p>List directory contents.</p>
  1493. <dl class="params"><dt>Parameters</dt><dd>
  1494. <table class="params">
  1495. <tr><td class="paramdir">[in]</td><td class="paramname">flags</td><td>The inclusive OR of</td></tr>
  1496. </table>
  1497. </dd>
  1498. </dl>
  1499. <p>LS_DATE - Print file modification date</p>
  1500. <p>LS_SIZE - Print file size.</p>
  1501. <p>LS_R - Recursive list of subdirectories. </p>
  1502. </div>
  1503. </div>
  1504. <a class="anchor" id="acabf31ff85e696fbf384c49428012fea"></a>
  1505. <div class="memitem">
  1506. <div class="memproto">
  1507. <table class="mlabels">
  1508. <tr>
  1509. <td class="mlabels-left">
  1510. <table class="memname">
  1511. <tr>
  1512. <td class="memname">void FatFile::ls </td>
  1513. <td>(</td>
  1514. <td class="paramtype"><a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  1515. <td class="paramname"><em>pr</em>, </td>
  1516. </tr>
  1517. <tr>
  1518. <td class="paramkey"></td>
  1519. <td></td>
  1520. <td class="paramtype">uint8_t&#160;</td>
  1521. <td class="paramname"><em>flags</em> = <code>0</code>, </td>
  1522. </tr>
  1523. <tr>
  1524. <td class="paramkey"></td>
  1525. <td></td>
  1526. <td class="paramtype">uint8_t&#160;</td>
  1527. <td class="paramname"><em>indent</em> = <code>0</code>&#160;</td>
  1528. </tr>
  1529. <tr>
  1530. <td></td>
  1531. <td>)</td>
  1532. <td></td><td></td>
  1533. </tr>
  1534. </table>
  1535. </td>
  1536. <td class="mlabels-right">
  1537. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1538. </tr>
  1539. </table>
  1540. </div><div class="memdoc">
  1541. <p>List directory contents.</p>
  1542. <dl class="params"><dt>Parameters</dt><dd>
  1543. <table class="params">
  1544. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for list.</td></tr>
  1545. <tr><td class="paramdir">[in]</td><td class="paramname">flags</td><td>The inclusive OR of</td></tr>
  1546. </table>
  1547. </dd>
  1548. </dl>
  1549. <p>LS_DATE - Print file modification date</p>
  1550. <p>LS_SIZE - Print file size.</p>
  1551. <p>LS_R - Recursive list of subdirectories.</p>
  1552. <dl class="params"><dt>Parameters</dt><dd>
  1553. <table class="params">
  1554. <tr><td class="paramdir">[in]</td><td class="paramname">indent</td><td>Amount of space before file name. Used for recursive list to indicate subdirectory level. </td></tr>
  1555. </table>
  1556. </dd>
  1557. </dl>
  1558. </div>
  1559. </div>
  1560. <a class="anchor" id="abab5b9f72cc796388dd4eed01d13d90d"></a>
  1561. <div class="memitem">
  1562. <div class="memproto">
  1563. <table class="mlabels">
  1564. <tr>
  1565. <td class="mlabels-left">
  1566. <table class="memname">
  1567. <tr>
  1568. <td class="memname">bool FatFile::mkdir </td>
  1569. <td>(</td>
  1570. <td class="paramtype"><a class="el" href="class_fat_file.html">FatFile</a> *&#160;</td>
  1571. <td class="paramname"><em>dir</em>, </td>
  1572. </tr>
  1573. <tr>
  1574. <td class="paramkey"></td>
  1575. <td></td>
  1576. <td class="paramtype">const char *&#160;</td>
  1577. <td class="paramname"><em>path</em>, </td>
  1578. </tr>
  1579. <tr>
  1580. <td class="paramkey"></td>
  1581. <td></td>
  1582. <td class="paramtype">bool&#160;</td>
  1583. <td class="paramname"><em>pFlag</em> = <code>true</code>&#160;</td>
  1584. </tr>
  1585. <tr>
  1586. <td></td>
  1587. <td>)</td>
  1588. <td></td><td></td>
  1589. </tr>
  1590. </table>
  1591. </td>
  1592. <td class="mlabels-right">
  1593. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1594. </tr>
  1595. </table>
  1596. </div><div class="memdoc">
  1597. <p>Make a new directory.</p>
  1598. <dl class="params"><dt>Parameters</dt><dd>
  1599. <table class="params">
  1600. <tr><td class="paramdir">[in]</td><td class="paramname">dir</td><td>An open <a class="el" href="class_fat_file.html" title="Basic file class. ">FatFile</a> instance for the directory that will contain the new directory.</td></tr>
  1601. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path with a valid 8.3 DOS name for the new directory.</td></tr>
  1602. <tr><td class="paramdir">[in]</td><td class="paramname">pFlag</td><td>Create missing parent directories if true.</td></tr>
  1603. </table>
  1604. </dd>
  1605. </dl>
  1606. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  1607. </div>
  1608. </div>
  1609. <a class="anchor" id="a7ca23d8d3997c10c221977c64736f575"></a>
  1610. <div class="memitem">
  1611. <div class="memproto">
  1612. <table class="mlabels">
  1613. <tr>
  1614. <td class="mlabels-left">
  1615. <table class="memname">
  1616. <tr>
  1617. <td class="memname">const char* File::name </td>
  1618. <td>(</td>
  1619. <td class="paramname"></td><td>)</td>
  1620. <td> const</td>
  1621. </tr>
  1622. </table>
  1623. </td>
  1624. <td class="mlabels-right">
  1625. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1626. </tr>
  1627. </table>
  1628. </div><div class="memdoc">
  1629. <p>No longer implemented due to Long <a class="el" href="class_file.html" title="Arduino SD.h style File API. ">File</a> Names.</p>
  1630. <p>Use <a class="el" href="class_fat_file.html#aafa565e286440aab612cdb430fc01da5">getName(char* name, size_t size)</a>. </p><dl class="section return"><dt>Returns</dt><dd>a pointer to replacement suggestion. </dd></dl>
  1631. </div>
  1632. </div>
  1633. <a class="anchor" id="a5f64576d3d19177ab3cf3812b69abdfa"></a>
  1634. <div class="memitem">
  1635. <div class="memproto">
  1636. <table class="mlabels">
  1637. <tr>
  1638. <td class="mlabels-left">
  1639. <table class="memname">
  1640. <tr>
  1641. <td class="memname">bool FatFile::open </td>
  1642. <td>(</td>
  1643. <td class="paramtype"><a class="el" href="class_fat_file_system.html">FatFileSystem</a> *&#160;</td>
  1644. <td class="paramname"><em>fs</em>, </td>
  1645. </tr>
  1646. <tr>
  1647. <td class="paramkey"></td>
  1648. <td></td>
  1649. <td class="paramtype">const char *&#160;</td>
  1650. <td class="paramname"><em>path</em>, </td>
  1651. </tr>
  1652. <tr>
  1653. <td class="paramkey"></td>
  1654. <td></td>
  1655. <td class="paramtype">uint8_t&#160;</td>
  1656. <td class="paramname"><em>oflag</em>&#160;</td>
  1657. </tr>
  1658. <tr>
  1659. <td></td>
  1660. <td>)</td>
  1661. <td></td><td></td>
  1662. </tr>
  1663. </table>
  1664. </td>
  1665. <td class="mlabels-right">
  1666. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1667. </tr>
  1668. </table>
  1669. </div><div class="memdoc">
  1670. <p>Open a file in the volume working directory of a <a class="el" href="class_fat_file_system.html" title="Integration class for the FatLib library. ">FatFileSystem</a>.</p>
  1671. <dl class="params"><dt>Parameters</dt><dd>
  1672. <table class="params">
  1673. <tr><td class="paramdir">[in]</td><td class="paramname">fs</td><td><a class="el" href="class_file.html" title="Arduino SD.h style File API. ">File</a> System where the file is located.</td></tr>
  1674. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>with a valid 8.3 DOS name for a file to be opened.</td></tr>
  1675. <tr><td class="paramdir">[in]</td><td class="paramname">oflag</td><td>bitwise-inclusive OR of open mode flags. See see <a class="el" href="class_fat_file.html#a211be757679b18708f6b6a36464e4f61">FatFile::open(FatFile*, const char*, uint8_t)</a>.</td></tr>
  1676. </table>
  1677. </dd>
  1678. </dl>
  1679. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  1680. </div>
  1681. </div>
  1682. <a class="anchor" id="ad3fa9daaccb4e4179fb88a8ca037aa80"></a>
  1683. <div class="memitem">
  1684. <div class="memproto">
  1685. <table class="mlabels">
  1686. <tr>
  1687. <td class="mlabels-left">
  1688. <table class="memname">
  1689. <tr>
  1690. <td class="memname">bool FatFile::open </td>
  1691. <td>(</td>
  1692. <td class="paramtype"><a class="el" href="class_fat_file.html">FatFile</a> *&#160;</td>
  1693. <td class="paramname"><em>dirFile</em>, </td>
  1694. </tr>
  1695. <tr>
  1696. <td class="paramkey"></td>
  1697. <td></td>
  1698. <td class="paramtype">uint16_t&#160;</td>
  1699. <td class="paramname"><em>index</em>, </td>
  1700. </tr>
  1701. <tr>
  1702. <td class="paramkey"></td>
  1703. <td></td>
  1704. <td class="paramtype">uint8_t&#160;</td>
  1705. <td class="paramname"><em>oflag</em>&#160;</td>
  1706. </tr>
  1707. <tr>
  1708. <td></td>
  1709. <td>)</td>
  1710. <td></td><td></td>
  1711. </tr>
  1712. </table>
  1713. </td>
  1714. <td class="mlabels-right">
  1715. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1716. </tr>
  1717. </table>
  1718. </div><div class="memdoc">
  1719. <p>Open a file by index.</p>
  1720. <dl class="params"><dt>Parameters</dt><dd>
  1721. <table class="params">
  1722. <tr><td class="paramdir">[in]</td><td class="paramname">dirFile</td><td>An open <a class="el" href="class_fat_file.html" title="Basic file class. ">FatFile</a> instance for the directory.</td></tr>
  1723. <tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>The <em>index</em> of the directory entry for the file to be opened. The value for <em>index</em> is (directory file position)/32.</td></tr>
  1724. <tr><td class="paramdir">[in]</td><td class="paramname">oflag</td><td>bitwise-inclusive OR of open mode flags. See see <a class="el" href="class_fat_file.html#a211be757679b18708f6b6a36464e4f61">FatFile::open(FatFile*, const char*, uint8_t)</a>.</td></tr>
  1725. </table>
  1726. </dd>
  1727. </dl>
  1728. <p>See <a class="el" href="class_fat_file.html#a5f64576d3d19177ab3cf3812b69abdfa">open()</a> by path for definition of flags. </p><dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1729. </div>
  1730. </div>
  1731. <a class="anchor" id="a211be757679b18708f6b6a36464e4f61"></a>
  1732. <div class="memitem">
  1733. <div class="memproto">
  1734. <table class="mlabels">
  1735. <tr>
  1736. <td class="mlabels-left">
  1737. <table class="memname">
  1738. <tr>
  1739. <td class="memname">bool FatFile::open </td>
  1740. <td>(</td>
  1741. <td class="paramtype"><a class="el" href="class_fat_file.html">FatFile</a> *&#160;</td>
  1742. <td class="paramname"><em>dirFile</em>, </td>
  1743. </tr>
  1744. <tr>
  1745. <td class="paramkey"></td>
  1746. <td></td>
  1747. <td class="paramtype">const char *&#160;</td>
  1748. <td class="paramname"><em>path</em>, </td>
  1749. </tr>
  1750. <tr>
  1751. <td class="paramkey"></td>
  1752. <td></td>
  1753. <td class="paramtype">uint8_t&#160;</td>
  1754. <td class="paramname"><em>oflag</em>&#160;</td>
  1755. </tr>
  1756. <tr>
  1757. <td></td>
  1758. <td>)</td>
  1759. <td></td><td></td>
  1760. </tr>
  1761. </table>
  1762. </td>
  1763. <td class="mlabels-right">
  1764. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1765. </tr>
  1766. </table>
  1767. </div><div class="memdoc">
  1768. <p>Open a file or directory by name.</p>
  1769. <dl class="params"><dt>Parameters</dt><dd>
  1770. <table class="params">
  1771. <tr><td class="paramdir">[in]</td><td class="paramname">dirFile</td><td>An open <a class="el" href="class_fat_file.html" title="Basic file class. ">FatFile</a> instance for the directory containing the file to be opened.</td></tr>
  1772. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path with a valid 8.3 DOS name for a file to be opened.</td></tr>
  1773. <tr><td class="paramdir">[in]</td><td class="paramname">oflag</td><td>Values for <em>oflag</em> are constructed by a bitwise-inclusive OR of flags from the following list</td></tr>
  1774. </table>
  1775. </dd>
  1776. </dl>
  1777. <p>O_READ - Open for reading.</p>
  1778. <p>O_RDONLY - Same as O_READ.</p>
  1779. <p>O_WRITE - Open for writing.</p>
  1780. <p>O_WRONLY - Same as O_WRITE.</p>
  1781. <p>O_RDWR - Open for reading and writing.</p>
  1782. <p>O_APPEND - If set, the file offset shall be set to the end of the file prior to each write.</p>
  1783. <p>O_AT_END - Set the initial position at the end of the file.</p>
  1784. <p>O_CREAT - If the file exists, this flag has no effect except as noted under O_EXCL below. Otherwise, the file shall be created</p>
  1785. <p>O_EXCL - If O_CREAT and O_EXCL are set, <a class="el" href="class_fat_file.html#a5f64576d3d19177ab3cf3812b69abdfa">open()</a> shall fail if the file exists.</p>
  1786. <p>O_SYNC - Call <a class="el" href="class_fat_file.html#a67f3dc4896c542d695e11aac927f585e">sync()</a> after each write. This flag should not be used with <a class="el" href="class_fat_file.html#a5524bd9f3b8f54ee163e391cba618186">write(uint8_t)</a> or any functions do character at a time writes since <a class="el" href="class_fat_file.html#a67f3dc4896c542d695e11aac927f585e">sync()</a> will be called after each byte.</p>
  1787. <p>O_TRUNC - If the file exists and is a regular file, and the file is successfully opened and is not read only, its length shall be truncated to 0.</p>
  1788. <p>WARNING: A given file must not be opened by more than one <a class="el" href="class_fat_file.html" title="Basic file class. ">FatFile</a> object or file corruption may occur.</p>
  1789. <dl class="section note"><dt>Note</dt><dd>Directory files must be opened read only. Write and truncation is not allowed for directory files.</dd></dl>
  1790. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  1791. </div>
  1792. </div>
  1793. <a class="anchor" id="ab0e7075062c89f356441f80fc64d03e6"></a>
  1794. <div class="memitem">
  1795. <div class="memproto">
  1796. <table class="mlabels">
  1797. <tr>
  1798. <td class="mlabels-left">
  1799. <table class="memname">
  1800. <tr>
  1801. <td class="memname">bool FatFile::open </td>
  1802. <td>(</td>
  1803. <td class="paramtype">const char *&#160;</td>
  1804. <td class="paramname"><em>path</em>, </td>
  1805. </tr>
  1806. <tr>
  1807. <td class="paramkey"></td>
  1808. <td></td>
  1809. <td class="paramtype">uint8_t&#160;</td>
  1810. <td class="paramname"><em>oflag</em> = <code>O_READ</code>&#160;</td>
  1811. </tr>
  1812. <tr>
  1813. <td></td>
  1814. <td>)</td>
  1815. <td></td><td></td>
  1816. </tr>
  1817. </table>
  1818. </td>
  1819. <td class="mlabels-right">
  1820. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1821. </tr>
  1822. </table>
  1823. </div><div class="memdoc">
  1824. <p>Open a file in the current working directory.</p>
  1825. <dl class="params"><dt>Parameters</dt><dd>
  1826. <table class="params">
  1827. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path with a valid 8.3 DOS name for a file to be opened.</td></tr>
  1828. <tr><td class="paramdir">[in]</td><td class="paramname">oflag</td><td>bitwise-inclusive OR of open mode flags. See see <a class="el" href="class_fat_file.html#a211be757679b18708f6b6a36464e4f61">FatFile::open(FatFile*, const char*, uint8_t)</a>.</td></tr>
  1829. </table>
  1830. </dd>
  1831. </dl>
  1832. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  1833. </div>
  1834. </div>
  1835. <a class="anchor" id="a8034c4649eb0d26715b1a8a69e73d9d0"></a>
  1836. <div class="memitem">
  1837. <div class="memproto">
  1838. <table class="mlabels">
  1839. <tr>
  1840. <td class="mlabels-left">
  1841. <table class="memname">
  1842. <tr>
  1843. <td class="memname">bool FatFile::openNext </td>
  1844. <td>(</td>
  1845. <td class="paramtype"><a class="el" href="class_fat_file.html">FatFile</a> *&#160;</td>
  1846. <td class="paramname"><em>dirFile</em>, </td>
  1847. </tr>
  1848. <tr>
  1849. <td class="paramkey"></td>
  1850. <td></td>
  1851. <td class="paramtype">uint8_t&#160;</td>
  1852. <td class="paramname"><em>oflag</em> = <code>O_READ</code>&#160;</td>
  1853. </tr>
  1854. <tr>
  1855. <td></td>
  1856. <td>)</td>
  1857. <td></td><td></td>
  1858. </tr>
  1859. </table>
  1860. </td>
  1861. <td class="mlabels-right">
  1862. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1863. </tr>
  1864. </table>
  1865. </div><div class="memdoc">
  1866. <p>Open the next file or subdirectory in a directory.</p>
  1867. <dl class="params"><dt>Parameters</dt><dd>
  1868. <table class="params">
  1869. <tr><td class="paramdir">[in]</td><td class="paramname">dirFile</td><td>An open <a class="el" href="class_fat_file.html" title="Basic file class. ">FatFile</a> instance for the directory containing the file to be opened.</td></tr>
  1870. <tr><td class="paramdir">[in]</td><td class="paramname">oflag</td><td>bitwise-inclusive OR of open mode flags. See see <a class="el" href="class_fat_file.html#a211be757679b18708f6b6a36464e4f61">FatFile::open(FatFile*, const char*, uint8_t)</a>.</td></tr>
  1871. </table>
  1872. </dd>
  1873. </dl>
  1874. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1875. </div>
  1876. </div>
  1877. <a class="anchor" id="acd72000ab1f6a1ce73ac8fbdc854ae0c"></a>
  1878. <div class="memitem">
  1879. <div class="memproto">
  1880. <table class="mlabels">
  1881. <tr>
  1882. <td class="mlabels-left">
  1883. <table class="memname">
  1884. <tr>
  1885. <td class="memname"><a class="el" href="class_file.html">File</a> File::openNextFile </td>
  1886. <td>(</td>
  1887. <td class="paramtype">uint8_t&#160;</td>
  1888. <td class="paramname"><em>mode</em> = <code>O_READ</code></td><td>)</td>
  1889. <td></td>
  1890. </tr>
  1891. </table>
  1892. </td>
  1893. <td class="mlabels-right">
  1894. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1895. </tr>
  1896. </table>
  1897. </div><div class="memdoc">
  1898. <p>Opens the next file or folder in a directory.</p>
  1899. <dl class="params"><dt>Parameters</dt><dd>
  1900. <table class="params">
  1901. <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>open mode flags. </td></tr>
  1902. </table>
  1903. </dd>
  1904. </dl>
  1905. <dl class="section return"><dt>Returns</dt><dd>a <a class="el" href="class_file.html" title="Arduino SD.h style File API. ">File</a> object. </dd></dl>
  1906. </div>
  1907. </div>
  1908. <a class="anchor" id="a7e0c0548fed3a69e7284b91b694439d4"></a>
  1909. <div class="memitem">
  1910. <div class="memproto">
  1911. <table class="mlabels">
  1912. <tr>
  1913. <td class="mlabels-left">
  1914. <table class="memname">
  1915. <tr>
  1916. <td class="memname">bool FatFile::openRoot </td>
  1917. <td>(</td>
  1918. <td class="paramtype"><a class="el" href="class_fat_volume.html">FatVolume</a> *&#160;</td>
  1919. <td class="paramname"><em>vol</em></td><td>)</td>
  1920. <td></td>
  1921. </tr>
  1922. </table>
  1923. </td>
  1924. <td class="mlabels-right">
  1925. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1926. </tr>
  1927. </table>
  1928. </div><div class="memdoc">
  1929. <p>Open a volume's root directory.</p>
  1930. <dl class="params"><dt>Parameters</dt><dd>
  1931. <table class="params">
  1932. <tr><td class="paramdir">[in]</td><td class="paramname">vol</td><td>The FAT volume containing the root directory to be opened.</td></tr>
  1933. </table>
  1934. </dd>
  1935. </dl>
  1936. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  1937. </div>
  1938. </div>
  1939. <a class="anchor" id="af171fbf441c899cf71d88b8b0b83d38b"></a>
  1940. <div class="memitem">
  1941. <div class="memproto">
  1942. <table class="mlabels">
  1943. <tr>
  1944. <td class="mlabels-left">
  1945. <table class="memname">
  1946. <tr>
  1947. <td class="memname">File::operator bool </td>
  1948. <td>(</td>
  1949. <td class="paramname"></td><td>)</td>
  1950. <td></td>
  1951. </tr>
  1952. </table>
  1953. </td>
  1954. <td class="mlabels-right">
  1955. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1956. </tr>
  1957. </table>
  1958. </div><div class="memdoc">
  1959. <p>The parenthesis operator.</p>
  1960. <dl class="section return"><dt>Returns</dt><dd>true if a file is open. </dd></dl>
  1961. </div>
  1962. </div>
  1963. <a class="anchor" id="a0e5025f39bd584563bfe4b05fc1db268"></a>
  1964. <div class="memitem">
  1965. <div class="memproto">
  1966. <table class="mlabels">
  1967. <tr>
  1968. <td class="mlabels-left">
  1969. <table class="memname">
  1970. <tr>
  1971. <td class="memname">int File::peek </td>
  1972. <td>(</td>
  1973. <td class="paramname"></td><td>)</td>
  1974. <td></td>
  1975. </tr>
  1976. </table>
  1977. </td>
  1978. <td class="mlabels-right">
  1979. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1980. </tr>
  1981. </table>
  1982. </div><div class="memdoc">
  1983. <p>Return the next available byte without consuming it.</p>
  1984. <dl class="section return"><dt>Returns</dt><dd>The byte if no error and not at eof else -1; </dd></dl>
  1985. </div>
  1986. </div>
  1987. <a class="anchor" id="aae991c597c0bc4c5eb44c1f3b06a21ec"></a>
  1988. <div class="memitem">
  1989. <div class="memproto">
  1990. <table class="mlabels">
  1991. <tr>
  1992. <td class="mlabels-left">
  1993. <table class="memname">
  1994. <tr>
  1995. <td class="memname">uint32_t File::position </td>
  1996. <td>(</td>
  1997. <td class="paramname"></td><td>)</td>
  1998. <td></td>
  1999. </tr>
  2000. </table>
  2001. </td>
  2002. <td class="mlabels-right">
  2003. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  2004. </tr>
  2005. </table>
  2006. </div><div class="memdoc">
  2007. <dl class="section return"><dt>Returns</dt><dd>the current file position. </dd></dl>
  2008. </div>
  2009. </div>
  2010. <a class="anchor" id="a558530f20314a8d8ee3d1a488fc7f46e"></a>
  2011. <div class="memitem">
  2012. <div class="memproto">
  2013. <table class="mlabels">
  2014. <tr>
  2015. <td class="mlabels-left">
  2016. <table class="memname">
  2017. <tr>
  2018. <td class="memname">bool FatFile::printCreateDateTime </td>
  2019. <td>(</td>
  2020. <td class="paramtype"><a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  2021. <td class="paramname"><em>pr</em></td><td>)</td>
  2022. <td></td>
  2023. </tr>
  2024. </table>
  2025. </td>
  2026. <td class="mlabels-right">
  2027. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2028. </tr>
  2029. </table>
  2030. </div><div class="memdoc">
  2031. <p>Print a file's creation date and time</p>
  2032. <dl class="params"><dt>Parameters</dt><dd>
  2033. <table class="params">
  2034. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for output.</td></tr>
  2035. </table>
  2036. </dd>
  2037. </dl>
  2038. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  2039. </div>
  2040. </div>
  2041. <a class="anchor" id="a8fdb038aafdf3a17ac80b53c063aa73b"></a>
  2042. <div class="memitem">
  2043. <div class="memproto">
  2044. <table class="mlabels">
  2045. <tr>
  2046. <td class="mlabels-left">
  2047. <table class="memname">
  2048. <tr>
  2049. <td class="memname">static void FatFile::printFatDate </td>
  2050. <td>(</td>
  2051. <td class="paramtype">uint16_t&#160;</td>
  2052. <td class="paramname"><em>fatDate</em></td><td>)</td>
  2053. <td></td>
  2054. </tr>
  2055. </table>
  2056. </td>
  2057. <td class="mlabels-right">
  2058. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  2059. </tr>
  2060. </table>
  2061. </div><div class="memdoc">
  2062. <p>Print a directory date field.</p>
  2063. <p>Format is yyyy-mm-dd.</p>
  2064. <dl class="params"><dt>Parameters</dt><dd>
  2065. <table class="params">
  2066. <tr><td class="paramdir">[in]</td><td class="paramname">fatDate</td><td>The date field from a directory entry. </td></tr>
  2067. </table>
  2068. </dd>
  2069. </dl>
  2070. </div>
  2071. </div>
  2072. <a class="anchor" id="ada5364f66204b1a64afbf9d2e6cd2b0b"></a>
  2073. <div class="memitem">
  2074. <div class="memproto">
  2075. <table class="mlabels">
  2076. <tr>
  2077. <td class="mlabels-left">
  2078. <table class="memname">
  2079. <tr>
  2080. <td class="memname">void FatFile::printFatDate </td>
  2081. <td>(</td>
  2082. <td class="paramtype"><a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  2083. <td class="paramname"><em>pr</em>, </td>
  2084. </tr>
  2085. <tr>
  2086. <td class="paramkey"></td>
  2087. <td></td>
  2088. <td class="paramtype">uint16_t&#160;</td>
  2089. <td class="paramname"><em>fatDate</em>&#160;</td>
  2090. </tr>
  2091. <tr>
  2092. <td></td>
  2093. <td>)</td>
  2094. <td></td><td></td>
  2095. </tr>
  2096. </table>
  2097. </td>
  2098. <td class="mlabels-right">
  2099. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  2100. </tr>
  2101. </table>
  2102. </div><div class="memdoc">
  2103. <p>Print a directory date field.</p>
  2104. <p>Format is yyyy-mm-dd.</p>
  2105. <dl class="params"><dt>Parameters</dt><dd>
  2106. <table class="params">
  2107. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for output. </td></tr>
  2108. <tr><td class="paramdir">[in]</td><td class="paramname">fatDate</td><td>The date field from a directory entry. </td></tr>
  2109. </table>
  2110. </dd>
  2111. </dl>
  2112. </div>
  2113. </div>
  2114. <a class="anchor" id="a7740731f08ef97de7dfbc9b075c4c7d1"></a>
  2115. <div class="memitem">
  2116. <div class="memproto">
  2117. <table class="mlabels">
  2118. <tr>
  2119. <td class="mlabels-left">
  2120. <table class="memname">
  2121. <tr>
  2122. <td class="memname">static void FatFile::printFatTime </td>
  2123. <td>(</td>
  2124. <td class="paramtype">uint16_t&#160;</td>
  2125. <td class="paramname"><em>fatTime</em></td><td>)</td>
  2126. <td></td>
  2127. </tr>
  2128. </table>
  2129. </td>
  2130. <td class="mlabels-right">
  2131. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  2132. </tr>
  2133. </table>
  2134. </div><div class="memdoc">
  2135. <p>Print a directory time field.</p>
  2136. <p>Format is hh:mm:ss.</p>
  2137. <dl class="params"><dt>Parameters</dt><dd>
  2138. <table class="params">
  2139. <tr><td class="paramdir">[in]</td><td class="paramname">fatTime</td><td>The time field from a directory entry. </td></tr>
  2140. </table>
  2141. </dd>
  2142. </dl>
  2143. </div>
  2144. </div>
  2145. <a class="anchor" id="a4e7e56ba52ca17c602af1b85684b09a9"></a>
  2146. <div class="memitem">
  2147. <div class="memproto">
  2148. <table class="mlabels">
  2149. <tr>
  2150. <td class="mlabels-left">
  2151. <table class="memname">
  2152. <tr>
  2153. <td class="memname">void FatFile::printFatTime </td>
  2154. <td>(</td>
  2155. <td class="paramtype"><a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  2156. <td class="paramname"><em>pr</em>, </td>
  2157. </tr>
  2158. <tr>
  2159. <td class="paramkey"></td>
  2160. <td></td>
  2161. <td class="paramtype">uint16_t&#160;</td>
  2162. <td class="paramname"><em>fatTime</em>&#160;</td>
  2163. </tr>
  2164. <tr>
  2165. <td></td>
  2166. <td>)</td>
  2167. <td></td><td></td>
  2168. </tr>
  2169. </table>
  2170. </td>
  2171. <td class="mlabels-right">
  2172. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  2173. </tr>
  2174. </table>
  2175. </div><div class="memdoc">
  2176. <p>Print a directory time field.</p>
  2177. <p>Format is hh:mm:ss.</p>
  2178. <dl class="params"><dt>Parameters</dt><dd>
  2179. <table class="params">
  2180. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for output. </td></tr>
  2181. <tr><td class="paramdir">[in]</td><td class="paramname">fatTime</td><td>The time field from a directory entry. </td></tr>
  2182. </table>
  2183. </dd>
  2184. </dl>
  2185. </div>
  2186. </div>
  2187. <a class="anchor" id="a7478cad0f9e5079311b9e1fa558016ff"></a>
  2188. <div class="memitem">
  2189. <div class="memproto">
  2190. <table class="mlabels">
  2191. <tr>
  2192. <td class="mlabels-left">
  2193. <table class="memname">
  2194. <tr>
  2195. <td class="memname">int FatFile::printField </td>
  2196. <td>(</td>
  2197. <td class="paramtype">float&#160;</td>
  2198. <td class="paramname"><em>value</em>, </td>
  2199. </tr>
  2200. <tr>
  2201. <td class="paramkey"></td>
  2202. <td></td>
  2203. <td class="paramtype">char&#160;</td>
  2204. <td class="paramname"><em>term</em>, </td>
  2205. </tr>
  2206. <tr>
  2207. <td class="paramkey"></td>
  2208. <td></td>
  2209. <td class="paramtype">uint8_t&#160;</td>
  2210. <td class="paramname"><em>prec</em> = <code>2</code>&#160;</td>
  2211. </tr>
  2212. <tr>
  2213. <td></td>
  2214. <td>)</td>
  2215. <td></td><td></td>
  2216. </tr>
  2217. </table>
  2218. </td>
  2219. <td class="mlabels-right">
  2220. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2221. </tr>
  2222. </table>
  2223. </div><div class="memdoc">
  2224. <p>Print a number followed by a field terminator. </p><dl class="params"><dt>Parameters</dt><dd>
  2225. <table class="params">
  2226. <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>The number to be printed. </td></tr>
  2227. <tr><td class="paramdir">[in]</td><td class="paramname">term</td><td>The field terminator. Use '\n' for CR LF. </td></tr>
  2228. <tr><td class="paramdir">[in]</td><td class="paramname">prec</td><td>Number of digits after decimal point. </td></tr>
  2229. </table>
  2230. </dd>
  2231. </dl>
  2232. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  2233. </div>
  2234. </div>
  2235. <a class="anchor" id="abd3e1747511216462b3ef98167156cbb"></a>
  2236. <div class="memitem">
  2237. <div class="memproto">
  2238. <table class="mlabels">
  2239. <tr>
  2240. <td class="mlabels-left">
  2241. <table class="memname">
  2242. <tr>
  2243. <td class="memname">int FatFile::printField </td>
  2244. <td>(</td>
  2245. <td class="paramtype">int16_t&#160;</td>
  2246. <td class="paramname"><em>value</em>, </td>
  2247. </tr>
  2248. <tr>
  2249. <td class="paramkey"></td>
  2250. <td></td>
  2251. <td class="paramtype">char&#160;</td>
  2252. <td class="paramname"><em>term</em>&#160;</td>
  2253. </tr>
  2254. <tr>
  2255. <td></td>
  2256. <td>)</td>
  2257. <td></td><td></td>
  2258. </tr>
  2259. </table>
  2260. </td>
  2261. <td class="mlabels-right">
  2262. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2263. </tr>
  2264. </table>
  2265. </div><div class="memdoc">
  2266. <p>Print a number followed by a field terminator. </p><dl class="params"><dt>Parameters</dt><dd>
  2267. <table class="params">
  2268. <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>The number to be printed. </td></tr>
  2269. <tr><td class="paramdir">[in]</td><td class="paramname">term</td><td>The field terminator. Use '\n' for CR LF. </td></tr>
  2270. </table>
  2271. </dd>
  2272. </dl>
  2273. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  2274. </div>
  2275. </div>
  2276. <a class="anchor" id="a9972c2419c293ef9c382bff666b9ae4d"></a>
  2277. <div class="memitem">
  2278. <div class="memproto">
  2279. <table class="mlabels">
  2280. <tr>
  2281. <td class="mlabels-left">
  2282. <table class="memname">
  2283. <tr>
  2284. <td class="memname">int FatFile::printField </td>
  2285. <td>(</td>
  2286. <td class="paramtype">uint16_t&#160;</td>
  2287. <td class="paramname"><em>value</em>, </td>
  2288. </tr>
  2289. <tr>
  2290. <td class="paramkey"></td>
  2291. <td></td>
  2292. <td class="paramtype">char&#160;</td>
  2293. <td class="paramname"><em>term</em>&#160;</td>
  2294. </tr>
  2295. <tr>
  2296. <td></td>
  2297. <td>)</td>
  2298. <td></td><td></td>
  2299. </tr>
  2300. </table>
  2301. </td>
  2302. <td class="mlabels-right">
  2303. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2304. </tr>
  2305. </table>
  2306. </div><div class="memdoc">
  2307. <p>Print a number followed by a field terminator. </p><dl class="params"><dt>Parameters</dt><dd>
  2308. <table class="params">
  2309. <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>The number to be printed. </td></tr>
  2310. <tr><td class="paramdir">[in]</td><td class="paramname">term</td><td>The field terminator. Use '\n' for CR LF. </td></tr>
  2311. </table>
  2312. </dd>
  2313. </dl>
  2314. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  2315. </div>
  2316. </div>
  2317. <a class="anchor" id="a41b3b32dd8482429b74c7af3432d6cf8"></a>
  2318. <div class="memitem">
  2319. <div class="memproto">
  2320. <table class="mlabels">
  2321. <tr>
  2322. <td class="mlabels-left">
  2323. <table class="memname">
  2324. <tr>
  2325. <td class="memname">int FatFile::printField </td>
  2326. <td>(</td>
  2327. <td class="paramtype">int32_t&#160;</td>
  2328. <td class="paramname"><em>value</em>, </td>
  2329. </tr>
  2330. <tr>
  2331. <td class="paramkey"></td>
  2332. <td></td>
  2333. <td class="paramtype">char&#160;</td>
  2334. <td class="paramname"><em>term</em>&#160;</td>
  2335. </tr>
  2336. <tr>
  2337. <td></td>
  2338. <td>)</td>
  2339. <td></td><td></td>
  2340. </tr>
  2341. </table>
  2342. </td>
  2343. <td class="mlabels-right">
  2344. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2345. </tr>
  2346. </table>
  2347. </div><div class="memdoc">
  2348. <p>Print a number followed by a field terminator. </p><dl class="params"><dt>Parameters</dt><dd>
  2349. <table class="params">
  2350. <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>The number to be printed. </td></tr>
  2351. <tr><td class="paramdir">[in]</td><td class="paramname">term</td><td>The field terminator. Use '\n' for CR LF. </td></tr>
  2352. </table>
  2353. </dd>
  2354. </dl>
  2355. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  2356. </div>
  2357. </div>
  2358. <a class="anchor" id="a097240f08baadeb1c64b63eab9afb088"></a>
  2359. <div class="memitem">
  2360. <div class="memproto">
  2361. <table class="mlabels">
  2362. <tr>
  2363. <td class="mlabels-left">
  2364. <table class="memname">
  2365. <tr>
  2366. <td class="memname">int FatFile::printField </td>
  2367. <td>(</td>
  2368. <td class="paramtype">uint32_t&#160;</td>
  2369. <td class="paramname"><em>value</em>, </td>
  2370. </tr>
  2371. <tr>
  2372. <td class="paramkey"></td>
  2373. <td></td>
  2374. <td class="paramtype">char&#160;</td>
  2375. <td class="paramname"><em>term</em>&#160;</td>
  2376. </tr>
  2377. <tr>
  2378. <td></td>
  2379. <td>)</td>
  2380. <td></td><td></td>
  2381. </tr>
  2382. </table>
  2383. </td>
  2384. <td class="mlabels-right">
  2385. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2386. </tr>
  2387. </table>
  2388. </div><div class="memdoc">
  2389. <p>Print a number followed by a field terminator. </p><dl class="params"><dt>Parameters</dt><dd>
  2390. <table class="params">
  2391. <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>The number to be printed. </td></tr>
  2392. <tr><td class="paramdir">[in]</td><td class="paramname">term</td><td>The field terminator. Use '\n' for CR LF. </td></tr>
  2393. </table>
  2394. </dd>
  2395. </dl>
  2396. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  2397. </div>
  2398. </div>
  2399. <a class="anchor" id="a12a5d2de2737c201aa39ca1bd2ab9c47"></a>
  2400. <div class="memitem">
  2401. <div class="memproto">
  2402. <table class="mlabels">
  2403. <tr>
  2404. <td class="mlabels-left">
  2405. <table class="memname">
  2406. <tr>
  2407. <td class="memname">size_t FatFile::printFileSize </td>
  2408. <td>(</td>
  2409. <td class="paramtype"><a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  2410. <td class="paramname"><em>pr</em></td><td>)</td>
  2411. <td></td>
  2412. </tr>
  2413. </table>
  2414. </td>
  2415. <td class="mlabels-right">
  2416. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2417. </tr>
  2418. </table>
  2419. </div><div class="memdoc">
  2420. <p>Print a file's size.</p>
  2421. <dl class="params"><dt>Parameters</dt><dd>
  2422. <table class="params">
  2423. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for output.</td></tr>
  2424. </table>
  2425. </dd>
  2426. </dl>
  2427. <dl class="section return"><dt>Returns</dt><dd>The number of characters printed is returned for success and zero is returned for failure. </dd></dl>
  2428. </div>
  2429. </div>
  2430. <a class="anchor" id="a05cee5df46a370bf916d3ba597c82e39"></a>
  2431. <div class="memitem">
  2432. <div class="memproto">
  2433. <table class="mlabels">
  2434. <tr>
  2435. <td class="mlabels-left">
  2436. <table class="memname">
  2437. <tr>
  2438. <td class="memname">bool FatFile::printModifyDateTime </td>
  2439. <td>(</td>
  2440. <td class="paramtype"><a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  2441. <td class="paramname"><em>pr</em></td><td>)</td>
  2442. <td></td>
  2443. </tr>
  2444. </table>
  2445. </td>
  2446. <td class="mlabels-right">
  2447. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2448. </tr>
  2449. </table>
  2450. </div><div class="memdoc">
  2451. <p>Print a file's modify date and time</p>
  2452. <dl class="params"><dt>Parameters</dt><dd>
  2453. <table class="params">
  2454. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for output.</td></tr>
  2455. </table>
  2456. </dd>
  2457. </dl>
  2458. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  2459. </div>
  2460. </div>
  2461. <a class="anchor" id="ad1cbc3aeb0f5193b7a26595966da9621"></a>
  2462. <div class="memitem">
  2463. <div class="memproto">
  2464. <table class="mlabels">
  2465. <tr>
  2466. <td class="mlabels-left">
  2467. <table class="memname">
  2468. <tr>
  2469. <td class="memname">size_t FatFile::printName </td>
  2470. <td>(</td>
  2471. <td class="paramname"></td><td>)</td>
  2472. <td></td>
  2473. </tr>
  2474. </table>
  2475. </td>
  2476. <td class="mlabels-right">
  2477. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  2478. </tr>
  2479. </table>
  2480. </div><div class="memdoc">
  2481. <p>Print a file's name.</p>
  2482. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  2483. </div>
  2484. </div>
  2485. <a class="anchor" id="afe18a787fb8640e2d2483370c770f82f"></a>
  2486. <div class="memitem">
  2487. <div class="memproto">
  2488. <table class="mlabels">
  2489. <tr>
  2490. <td class="mlabels-left">
  2491. <table class="memname">
  2492. <tr>
  2493. <td class="memname">size_t FatFile::printName </td>
  2494. <td>(</td>
  2495. <td class="paramtype"><a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  2496. <td class="paramname"><em>pr</em></td><td>)</td>
  2497. <td></td>
  2498. </tr>
  2499. </table>
  2500. </td>
  2501. <td class="mlabels-right">
  2502. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2503. </tr>
  2504. </table>
  2505. </div><div class="memdoc">
  2506. <p>Print a file's name</p>
  2507. <dl class="params"><dt>Parameters</dt><dd>
  2508. <table class="params">
  2509. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for output.</td></tr>
  2510. </table>
  2511. </dd>
  2512. </dl>
  2513. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  2514. </div>
  2515. </div>
  2516. <a class="anchor" id="a791cd7aade71f609aab62ec018aea3c0"></a>
  2517. <div class="memitem">
  2518. <div class="memproto">
  2519. <table class="mlabels">
  2520. <tr>
  2521. <td class="mlabels-left">
  2522. <table class="memname">
  2523. <tr>
  2524. <td class="memname">size_t FatFile::printSFN </td>
  2525. <td>(</td>
  2526. <td class="paramtype"><a class="el" href="_fat_volume_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  2527. <td class="paramname"><em>pr</em></td><td>)</td>
  2528. <td></td>
  2529. </tr>
  2530. </table>
  2531. </td>
  2532. <td class="mlabels-right">
  2533. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2534. </tr>
  2535. </table>
  2536. </div><div class="memdoc">
  2537. <p>Print a file's Short <a class="el" href="class_file.html" title="Arduino SD.h style File API. ">File</a> Name.</p>
  2538. <dl class="params"><dt>Parameters</dt><dd>
  2539. <table class="params">
  2540. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for output.</td></tr>
  2541. </table>
  2542. </dd>
  2543. </dl>
  2544. <dl class="section return"><dt>Returns</dt><dd>The number of characters printed is returned for success and zero is returned for failure. </dd></dl>
  2545. </div>
  2546. </div>
  2547. <a class="anchor" id="a4c46a1975e66c37977bf07c58ec10b4e"></a>
  2548. <div class="memitem">
  2549. <div class="memproto">
  2550. <table class="mlabels">
  2551. <tr>
  2552. <td class="mlabels-left">
  2553. <table class="memname">
  2554. <tr>
  2555. <td class="memname">int File::read </td>
  2556. <td>(</td>
  2557. <td class="paramname"></td><td>)</td>
  2558. <td></td>
  2559. </tr>
  2560. </table>
  2561. </td>
  2562. <td class="mlabels-right">
  2563. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  2564. </tr>
  2565. </table>
  2566. </div><div class="memdoc">
  2567. <p>Read the next byte from a file.</p>
  2568. <dl class="section return"><dt>Returns</dt><dd>For success return the next byte in the file as an int. If an error occurs or end of file is reached return -1. </dd></dl>
  2569. </div>
  2570. </div>
  2571. <a class="anchor" id="a200e6e0553d5b709520c9dfac9ef77dd"></a>
  2572. <div class="memitem">
  2573. <div class="memproto">
  2574. <table class="mlabels">
  2575. <tr>
  2576. <td class="mlabels-left">
  2577. <table class="memname">
  2578. <tr>
  2579. <td class="memname">int FatFile::read </td>
  2580. <td>(</td>
  2581. <td class="paramtype">void *&#160;</td>
  2582. <td class="paramname"><em>buf</em>, </td>
  2583. </tr>
  2584. <tr>
  2585. <td class="paramkey"></td>
  2586. <td></td>
  2587. <td class="paramtype">size_t&#160;</td>
  2588. <td class="paramname"><em>nbyte</em>&#160;</td>
  2589. </tr>
  2590. <tr>
  2591. <td></td>
  2592. <td>)</td>
  2593. <td></td><td></td>
  2594. </tr>
  2595. </table>
  2596. </td>
  2597. <td class="mlabels-right">
  2598. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2599. </tr>
  2600. </table>
  2601. </div><div class="memdoc">
  2602. <p>Read data from a file starting at the current position.</p>
  2603. <dl class="params"><dt>Parameters</dt><dd>
  2604. <table class="params">
  2605. <tr><td class="paramdir">[out]</td><td class="paramname">buf</td><td>Pointer to the location that will receive the data.</td></tr>
  2606. <tr><td class="paramdir">[in]</td><td class="paramname">nbyte</td><td>Maximum number of bytes to read.</td></tr>
  2607. </table>
  2608. </dd>
  2609. </dl>
  2610. <dl class="section return"><dt>Returns</dt><dd>For success <a class="el" href="class_fat_file.html#a60ae55ff6fe158c2340071d702a363c5">read()</a> returns the number of bytes read. A value less than <em>nbyte</em>, including zero, will be returned if end of file is reached. If an error occurs, <a class="el" href="class_fat_file.html#a60ae55ff6fe158c2340071d702a363c5">read()</a> returns -1. Possible errors include <a class="el" href="class_fat_file.html#a60ae55ff6fe158c2340071d702a363c5">read()</a> called before a file has been opened, corrupt file system or an I/O error occurred. </dd></dl>
  2611. </div>
  2612. </div>
  2613. <a class="anchor" id="a1325afe074c3efecff666678cd9f116a"></a>
  2614. <div class="memitem">
  2615. <div class="memproto">
  2616. <table class="mlabels">
  2617. <tr>
  2618. <td class="mlabels-left">
  2619. <table class="memname">
  2620. <tr>
  2621. <td class="memname">int8_t FatFile::readDir </td>
  2622. <td>(</td>
  2623. <td class="paramtype"><a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a> *&#160;</td>
  2624. <td class="paramname"><em>dir</em></td><td>)</td>
  2625. <td></td>
  2626. </tr>
  2627. </table>
  2628. </td>
  2629. <td class="mlabels-right">
  2630. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2631. </tr>
  2632. </table>
  2633. </div><div class="memdoc">
  2634. <p>Read the next directory entry from a directory file.</p>
  2635. <dl class="params"><dt>Parameters</dt><dd>
  2636. <table class="params">
  2637. <tr><td class="paramdir">[out]</td><td class="paramname">dir</td><td>The dir_t struct that will receive the data.</td></tr>
  2638. </table>
  2639. </dd>
  2640. </dl>
  2641. <dl class="section return"><dt>Returns</dt><dd>For success <a class="el" href="class_fat_file.html#a1325afe074c3efecff666678cd9f116a">readDir()</a> returns the number of bytes read. A value of zero will be returned if end of file is reached. If an error occurs, <a class="el" href="class_fat_file.html#a1325afe074c3efecff666678cd9f116a">readDir()</a> returns -1. Possible errors include <a class="el" href="class_fat_file.html#a1325afe074c3efecff666678cd9f116a">readDir()</a> called before a directory has been opened, this is not a directory file or an I/O error occurred. </dd></dl>
  2642. </div>
  2643. </div>
  2644. <a class="anchor" id="ac837a537fbcca14c7aa390c5fc9f4e7c"></a>
  2645. <div class="memitem">
  2646. <div class="memproto">
  2647. <table class="mlabels">
  2648. <tr>
  2649. <td class="mlabels-left">
  2650. <table class="memname">
  2651. <tr>
  2652. <td class="memname">bool FatFile::remove </td>
  2653. <td>(</td>
  2654. <td class="paramname"></td><td>)</td>
  2655. <td></td>
  2656. </tr>
  2657. </table>
  2658. </td>
  2659. <td class="mlabels-right">
  2660. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2661. </tr>
  2662. </table>
  2663. </div><div class="memdoc">
  2664. <p>Remove a file.</p>
  2665. <p>The directory entry and all data for the file are deleted.</p>
  2666. <dl class="section note"><dt>Note</dt><dd>This function should not be used to delete the 8.3 version of a file that has a long name. For example if a file has the long name "New Text Document.txt" you should not delete the 8.3 name "NEWTEX~1.TXT".</dd></dl>
  2667. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  2668. </div>
  2669. </div>
  2670. <a class="anchor" id="afe820bbb056863e91ec482961c8dc695"></a>
  2671. <div class="memitem">
  2672. <div class="memproto">
  2673. <table class="mlabels">
  2674. <tr>
  2675. <td class="mlabels-left">
  2676. <table class="memname">
  2677. <tr>
  2678. <td class="memname">bool FatFile::remove </td>
  2679. <td>(</td>
  2680. <td class="paramtype"><a class="el" href="class_fat_file.html">FatFile</a> *&#160;</td>
  2681. <td class="paramname"><em>dirFile</em>, </td>
  2682. </tr>
  2683. <tr>
  2684. <td class="paramkey"></td>
  2685. <td></td>
  2686. <td class="paramtype">const char *&#160;</td>
  2687. <td class="paramname"><em>path</em>&#160;</td>
  2688. </tr>
  2689. <tr>
  2690. <td></td>
  2691. <td>)</td>
  2692. <td></td><td></td>
  2693. </tr>
  2694. </table>
  2695. </td>
  2696. <td class="mlabels-right">
  2697. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  2698. </tr>
  2699. </table>
  2700. </div><div class="memdoc">
  2701. <p>Remove a file.</p>
  2702. <p>The directory entry and all data for the file are deleted.</p>
  2703. <dl class="params"><dt>Parameters</dt><dd>
  2704. <table class="params">
  2705. <tr><td class="paramdir">[in]</td><td class="paramname">dirFile</td><td>The directory that contains the file. </td></tr>
  2706. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>Path for the file to be removed.</td></tr>
  2707. </table>
  2708. </dd>
  2709. </dl>
  2710. <dl class="section note"><dt>Note</dt><dd>This function should not be used to delete the 8.3 version of a file that has a long name. For example if a file has the long name "New Text Document.txt" you should not delete the 8.3 name "NEWTEX~1.TXT".</dd></dl>
  2711. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  2712. </div>
  2713. </div>
  2714. <a class="anchor" id="a4b42f2454ff462555c07ea094a92a1e0"></a>
  2715. <div class="memitem">
  2716. <div class="memproto">
  2717. <table class="mlabels">
  2718. <tr>
  2719. <td class="mlabels-left">
  2720. <table class="memname">
  2721. <tr>
  2722. <td class="memname">bool FatFile::rename </td>
  2723. <td>(</td>
  2724. <td class="paramtype"><a class="el" href="class_fat_file.html">FatFile</a> *&#160;</td>
  2725. <td class="paramname"><em>dirFile</em>, </td>
  2726. </tr>
  2727. <tr>
  2728. <td class="paramkey"></td>
  2729. <td></td>
  2730. <td class="paramtype">const char *&#160;</td>
  2731. <td class="paramname"><em>newPath</em>&#160;</td>
  2732. </tr>
  2733. <tr>
  2734. <td></td>
  2735. <td>)</td>
  2736. <td></td><td></td>
  2737. </tr>
  2738. </table>
  2739. </td>
  2740. <td class="mlabels-right">
  2741. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2742. </tr>
  2743. </table>
  2744. </div><div class="memdoc">
  2745. <p>Rename a file or subdirectory.</p>
  2746. <dl class="params"><dt>Parameters</dt><dd>
  2747. <table class="params">
  2748. <tr><td class="paramdir">[in]</td><td class="paramname">dirFile</td><td>Directory for the new path. </td></tr>
  2749. <tr><td class="paramdir">[in]</td><td class="paramname">newPath</td><td>New path name for the file/directory.</td></tr>
  2750. </table>
  2751. </dd>
  2752. </dl>
  2753. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  2754. </div>
  2755. </div>
  2756. <a class="anchor" id="a5aac6e0b3cb08fc8b8668e916a8b0ca5"></a>
  2757. <div class="memitem">
  2758. <div class="memproto">
  2759. <table class="mlabels">
  2760. <tr>
  2761. <td class="mlabels-left">
  2762. <table class="memname">
  2763. <tr>
  2764. <td class="memname">void FatFile::rewind </td>
  2765. <td>(</td>
  2766. <td class="paramname"></td><td>)</td>
  2767. <td></td>
  2768. </tr>
  2769. </table>
  2770. </td>
  2771. <td class="mlabels-right">
  2772. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  2773. </tr>
  2774. </table>
  2775. </div><div class="memdoc">
  2776. <p>Set the file's current position to zero. </p>
  2777. </div>
  2778. </div>
  2779. <a class="anchor" id="ae1419603dea25a6c8480b941d7ac63a3"></a>
  2780. <div class="memitem">
  2781. <div class="memproto">
  2782. <table class="mlabels">
  2783. <tr>
  2784. <td class="mlabels-left">
  2785. <table class="memname">
  2786. <tr>
  2787. <td class="memname">void File::rewindDirectory </td>
  2788. <td>(</td>
  2789. <td class="paramname"></td><td>)</td>
  2790. <td></td>
  2791. </tr>
  2792. </table>
  2793. </td>
  2794. <td class="mlabels-right">
  2795. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  2796. </tr>
  2797. </table>
  2798. </div><div class="memdoc">
  2799. <p>Rewind a file if it is a directory </p>
  2800. </div>
  2801. </div>
  2802. <a class="anchor" id="a9515bac181d33e7f0125e88fa2ccd283"></a>
  2803. <div class="memitem">
  2804. <div class="memproto">
  2805. <table class="mlabels">
  2806. <tr>
  2807. <td class="mlabels-left">
  2808. <table class="memname">
  2809. <tr>
  2810. <td class="memname">bool FatFile::rmdir </td>
  2811. <td>(</td>
  2812. <td class="paramname"></td><td>)</td>
  2813. <td></td>
  2814. </tr>
  2815. </table>
  2816. </td>
  2817. <td class="mlabels-right">
  2818. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2819. </tr>
  2820. </table>
  2821. </div><div class="memdoc">
  2822. <p>Remove a directory file.</p>
  2823. <p>The directory file will be removed only if it is empty and is not the root directory. <a class="el" href="class_fat_file.html#a9515bac181d33e7f0125e88fa2ccd283">rmdir()</a> follows DOS and Windows and ignores the read-only attribute for the directory.</p>
  2824. <dl class="section note"><dt>Note</dt><dd>This function should not be used to delete the 8.3 version of a directory that has a long name. For example if a directory has the long name "New folder" you should not delete the 8.3 name "NEWFOL~1".</dd></dl>
  2825. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  2826. </div>
  2827. </div>
  2828. <a class="anchor" id="ac780a80526f86d3def701ecdc99d8bfe"></a>
  2829. <div class="memitem">
  2830. <div class="memproto">
  2831. <table class="mlabels">
  2832. <tr>
  2833. <td class="mlabels-left">
  2834. <table class="memname">
  2835. <tr>
  2836. <td class="memname">bool FatFile::rmRfStar </td>
  2837. <td>(</td>
  2838. <td class="paramname"></td><td>)</td>
  2839. <td></td>
  2840. </tr>
  2841. </table>
  2842. </td>
  2843. <td class="mlabels-right">
  2844. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2845. </tr>
  2846. </table>
  2847. </div><div class="memdoc">
  2848. <p>Recursively delete a directory and all contained files.</p>
  2849. <p>This is like the Unix/Linux 'rm -rf *' if called with the root directory hence the name.</p>
  2850. <p>Warning - This will remove all contents of the directory including subdirectories. The directory will then be removed if it is not root. The read-only attribute for files will be ignored.</p>
  2851. <dl class="section note"><dt>Note</dt><dd>This function should not be used to delete the 8.3 version of a directory that has a long name. See <a class="el" href="class_fat_file.html#ac837a537fbcca14c7aa390c5fc9f4e7c">remove()</a> and <a class="el" href="class_fat_file.html#a9515bac181d33e7f0125e88fa2ccd283">rmdir()</a>.</dd></dl>
  2852. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  2853. </div>
  2854. </div>
  2855. <a class="anchor" id="a2d41ea52356b769e05e1242685758c08"></a>
  2856. <div class="memitem">
  2857. <div class="memproto">
  2858. <table class="mlabels">
  2859. <tr>
  2860. <td class="mlabels-left">
  2861. <table class="memname">
  2862. <tr>
  2863. <td class="memname">bool File::seek </td>
  2864. <td>(</td>
  2865. <td class="paramtype">uint32_t&#160;</td>
  2866. <td class="paramname"><em>pos</em></td><td>)</td>
  2867. <td></td>
  2868. </tr>
  2869. </table>
  2870. </td>
  2871. <td class="mlabels-right">
  2872. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  2873. </tr>
  2874. </table>
  2875. </div><div class="memdoc">
  2876. <p>Seek to a new position in the file, which must be between 0 and the size of the file (inclusive).</p>
  2877. <dl class="params"><dt>Parameters</dt><dd>
  2878. <table class="params">
  2879. <tr><td class="paramdir">[in]</td><td class="paramname">pos</td><td>the new file position. </td></tr>
  2880. </table>
  2881. </dd>
  2882. </dl>
  2883. <dl class="section return"><dt>Returns</dt><dd>true for success else false. </dd></dl>
  2884. </div>
  2885. </div>
  2886. <a class="anchor" id="a5812037ea30777cc350698ad26f2c73f"></a>
  2887. <div class="memitem">
  2888. <div class="memproto">
  2889. <table class="mlabels">
  2890. <tr>
  2891. <td class="mlabels-left">
  2892. <table class="memname">
  2893. <tr>
  2894. <td class="memname">bool FatFile::seekCur </td>
  2895. <td>(</td>
  2896. <td class="paramtype">int32_t&#160;</td>
  2897. <td class="paramname"><em>offset</em></td><td>)</td>
  2898. <td></td>
  2899. </tr>
  2900. </table>
  2901. </td>
  2902. <td class="mlabels-right">
  2903. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  2904. </tr>
  2905. </table>
  2906. </div><div class="memdoc">
  2907. <p>Set the files position to current position + <em>pos</em>. See <a class="el" href="class_fat_file.html#ab067190d25733ed7e697d9890f61fd7a">seekSet()</a>. </p><dl class="params"><dt>Parameters</dt><dd>
  2908. <table class="params">
  2909. <tr><td class="paramdir">[in]</td><td class="paramname">offset</td><td>The new position in bytes from the current position. </td></tr>
  2910. </table>
  2911. </dd>
  2912. </dl>
  2913. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  2914. </div>
  2915. </div>
  2916. <a class="anchor" id="a84f677f4e75ef6fa2eb632f4cdf6b486"></a>
  2917. <div class="memitem">
  2918. <div class="memproto">
  2919. <table class="mlabels">
  2920. <tr>
  2921. <td class="mlabels-left">
  2922. <table class="memname">
  2923. <tr>
  2924. <td class="memname">bool FatFile::seekEnd </td>
  2925. <td>(</td>
  2926. <td class="paramtype">int32_t&#160;</td>
  2927. <td class="paramname"><em>offset</em> = <code>0</code></td><td>)</td>
  2928. <td></td>
  2929. </tr>
  2930. </table>
  2931. </td>
  2932. <td class="mlabels-right">
  2933. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  2934. </tr>
  2935. </table>
  2936. </div><div class="memdoc">
  2937. <p>Set the files position to end-of-file + <em>offset</em>. See <a class="el" href="class_fat_file.html#ab067190d25733ed7e697d9890f61fd7a">seekSet()</a>. Can't be used for directory files since file size is not defined. </p><dl class="params"><dt>Parameters</dt><dd>
  2938. <table class="params">
  2939. <tr><td class="paramdir">[in]</td><td class="paramname">offset</td><td>The new position in bytes from end-of-file. </td></tr>
  2940. </table>
  2941. </dd>
  2942. </dl>
  2943. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  2944. </div>
  2945. </div>
  2946. <a class="anchor" id="ab067190d25733ed7e697d9890f61fd7a"></a>
  2947. <div class="memitem">
  2948. <div class="memproto">
  2949. <table class="mlabels">
  2950. <tr>
  2951. <td class="mlabels-left">
  2952. <table class="memname">
  2953. <tr>
  2954. <td class="memname">bool FatFile::seekSet </td>
  2955. <td>(</td>
  2956. <td class="paramtype">uint32_t&#160;</td>
  2957. <td class="paramname"><em>pos</em></td><td>)</td>
  2958. <td></td>
  2959. </tr>
  2960. </table>
  2961. </td>
  2962. <td class="mlabels-right">
  2963. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2964. </tr>
  2965. </table>
  2966. </div><div class="memdoc">
  2967. <p>Sets a file's position.</p>
  2968. <dl class="params"><dt>Parameters</dt><dd>
  2969. <table class="params">
  2970. <tr><td class="paramdir">[in]</td><td class="paramname">pos</td><td>The new position in bytes from the beginning of the file.</td></tr>
  2971. </table>
  2972. </dd>
  2973. </dl>
  2974. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  2975. </div>
  2976. </div>
  2977. <a class="anchor" id="a360ef9c05e677271bed6c0a4d663634c"></a>
  2978. <div class="memitem">
  2979. <div class="memproto">
  2980. <table class="mlabels">
  2981. <tr>
  2982. <td class="mlabels-left">
  2983. <table class="memname">
  2984. <tr>
  2985. <td class="memname">static bool FatFile::setCwd </td>
  2986. <td>(</td>
  2987. <td class="paramtype"><a class="el" href="class_fat_file.html">FatFile</a> *&#160;</td>
  2988. <td class="paramname"><em>dir</em></td><td>)</td>
  2989. <td></td>
  2990. </tr>
  2991. </table>
  2992. </td>
  2993. <td class="mlabels-right">
  2994. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  2995. </tr>
  2996. </table>
  2997. </div><div class="memdoc">
  2998. <p>Set the current working directory.</p>
  2999. <dl class="params"><dt>Parameters</dt><dd>
  3000. <table class="params">
  3001. <tr><td class="paramdir">[in]</td><td class="paramname">dir</td><td>New current working directory.</td></tr>
  3002. </table>
  3003. </dd>
  3004. </dl>
  3005. <dl class="section return"><dt>Returns</dt><dd>true for success else false. </dd></dl>
  3006. </div>
  3007. </div>
  3008. <a class="anchor" id="acf264de4e3ca36c5e8a39e56173c9044"></a>
  3009. <div class="memitem">
  3010. <div class="memproto">
  3011. <table class="mlabels">
  3012. <tr>
  3013. <td class="mlabels-left">
  3014. <table class="memname">
  3015. <tr>
  3016. <td class="memname">void FatFile::setpos </td>
  3017. <td>(</td>
  3018. <td class="paramtype"><a class="el" href="struct_fat_pos__t.html">FatPos_t</a> *&#160;</td>
  3019. <td class="paramname"><em>pos</em></td><td>)</td>
  3020. <td></td>
  3021. </tr>
  3022. </table>
  3023. </td>
  3024. <td class="mlabels-right">
  3025. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  3026. </tr>
  3027. </table>
  3028. </div><div class="memdoc">
  3029. <p>set position for streams </p><dl class="params"><dt>Parameters</dt><dd>
  3030. <table class="params">
  3031. <tr><td class="paramdir">[out]</td><td class="paramname">pos</td><td>struct with value for new position </td></tr>
  3032. </table>
  3033. </dd>
  3034. </dl>
  3035. </div>
  3036. </div>
  3037. <a class="anchor" id="a603d3cd3319142d00a7ebd434970b017"></a>
  3038. <div class="memitem">
  3039. <div class="memproto">
  3040. <table class="mlabels">
  3041. <tr>
  3042. <td class="mlabels-left">
  3043. <table class="memname">
  3044. <tr>
  3045. <td class="memname">uint32_t File::size </td>
  3046. <td>(</td>
  3047. <td class="paramname"></td><td>)</td>
  3048. <td></td>
  3049. </tr>
  3050. </table>
  3051. </td>
  3052. <td class="mlabels-right">
  3053. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  3054. </tr>
  3055. </table>
  3056. </div><div class="memdoc">
  3057. <dl class="section return"><dt>Returns</dt><dd>the file's size. </dd></dl>
  3058. </div>
  3059. </div>
  3060. <a class="anchor" id="a67f3dc4896c542d695e11aac927f585e"></a>
  3061. <div class="memitem">
  3062. <div class="memproto">
  3063. <table class="mlabels">
  3064. <tr>
  3065. <td class="mlabels-left">
  3066. <table class="memname">
  3067. <tr>
  3068. <td class="memname">bool FatFile::sync </td>
  3069. <td>(</td>
  3070. <td class="paramname"></td><td>)</td>
  3071. <td></td>
  3072. </tr>
  3073. </table>
  3074. </td>
  3075. <td class="mlabels-right">
  3076. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  3077. </tr>
  3078. </table>
  3079. </div><div class="memdoc">
  3080. <p>The <a class="el" href="class_fat_file.html#a67f3dc4896c542d695e11aac927f585e">sync()</a> call causes all modified data and directory fields to be written to the storage device.</p>
  3081. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  3082. </div>
  3083. </div>
  3084. <a class="anchor" id="aa53a8d1d2467ad9af7d61cbf8ee85243"></a>
  3085. <div class="memitem">
  3086. <div class="memproto">
  3087. <table class="mlabels">
  3088. <tr>
  3089. <td class="mlabels-left">
  3090. <table class="memname">
  3091. <tr>
  3092. <td class="memname">bool FatFile::timestamp </td>
  3093. <td>(</td>
  3094. <td class="paramtype"><a class="el" href="class_fat_file.html">FatFile</a> *&#160;</td>
  3095. <td class="paramname"><em>file</em></td><td>)</td>
  3096. <td></td>
  3097. </tr>
  3098. </table>
  3099. </td>
  3100. <td class="mlabels-right">
  3101. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  3102. </tr>
  3103. </table>
  3104. </div><div class="memdoc">
  3105. <p>Copy a file's timestamps</p>
  3106. <dl class="params"><dt>Parameters</dt><dd>
  3107. <table class="params">
  3108. <tr><td class="paramdir">[in]</td><td class="paramname">file</td><td><a class="el" href="class_file.html" title="Arduino SD.h style File API. ">File</a> to copy timestamps from.</td></tr>
  3109. </table>
  3110. </dd>
  3111. </dl>
  3112. <dl class="section note"><dt>Note</dt><dd>Modify and access timestamps may be overwritten if a date time callback function has been set by <a class="el" href="class_fat_file.html#a29a623f50df057e8b49045ba6611ec2b">dateTimeCallback()</a>.</dd></dl>
  3113. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  3114. </div>
  3115. </div>
  3116. <a class="anchor" id="a56dabdf73833b7e961c4530eb8e16d23"></a>
  3117. <div class="memitem">
  3118. <div class="memproto">
  3119. <table class="mlabels">
  3120. <tr>
  3121. <td class="mlabels-left">
  3122. <table class="memname">
  3123. <tr>
  3124. <td class="memname">bool FatFile::timestamp </td>
  3125. <td>(</td>
  3126. <td class="paramtype">uint8_t&#160;</td>
  3127. <td class="paramname"><em>flags</em>, </td>
  3128. </tr>
  3129. <tr>
  3130. <td class="paramkey"></td>
  3131. <td></td>
  3132. <td class="paramtype">uint16_t&#160;</td>
  3133. <td class="paramname"><em>year</em>, </td>
  3134. </tr>
  3135. <tr>
  3136. <td class="paramkey"></td>
  3137. <td></td>
  3138. <td class="paramtype">uint8_t&#160;</td>
  3139. <td class="paramname"><em>month</em>, </td>
  3140. </tr>
  3141. <tr>
  3142. <td class="paramkey"></td>
  3143. <td></td>
  3144. <td class="paramtype">uint8_t&#160;</td>
  3145. <td class="paramname"><em>day</em>, </td>
  3146. </tr>
  3147. <tr>
  3148. <td class="paramkey"></td>
  3149. <td></td>
  3150. <td class="paramtype">uint8_t&#160;</td>
  3151. <td class="paramname"><em>hour</em>, </td>
  3152. </tr>
  3153. <tr>
  3154. <td class="paramkey"></td>
  3155. <td></td>
  3156. <td class="paramtype">uint8_t&#160;</td>
  3157. <td class="paramname"><em>minute</em>, </td>
  3158. </tr>
  3159. <tr>
  3160. <td class="paramkey"></td>
  3161. <td></td>
  3162. <td class="paramtype">uint8_t&#160;</td>
  3163. <td class="paramname"><em>second</em>&#160;</td>
  3164. </tr>
  3165. <tr>
  3166. <td></td>
  3167. <td>)</td>
  3168. <td></td><td></td>
  3169. </tr>
  3170. </table>
  3171. </td>
  3172. <td class="mlabels-right">
  3173. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  3174. </tr>
  3175. </table>
  3176. </div><div class="memdoc">
  3177. <p>Set a file's timestamps in its directory entry.</p>
  3178. <dl class="params"><dt>Parameters</dt><dd>
  3179. <table class="params">
  3180. <tr><td class="paramdir">[in]</td><td class="paramname">flags</td><td>Values for <em>flags</em> are constructed by a bitwise-inclusive OR of flags from the following list</td></tr>
  3181. </table>
  3182. </dd>
  3183. </dl>
  3184. <p>T_ACCESS - Set the file's last access date.</p>
  3185. <p>T_CREATE - Set the file's creation date and time.</p>
  3186. <p>T_WRITE - Set the file's last write/modification date and time.</p>
  3187. <dl class="params"><dt>Parameters</dt><dd>
  3188. <table class="params">
  3189. <tr><td class="paramdir">[in]</td><td class="paramname">year</td><td>Valid range 1980 - 2107 inclusive.</td></tr>
  3190. <tr><td class="paramdir">[in]</td><td class="paramname">month</td><td>Valid range 1 - 12 inclusive.</td></tr>
  3191. <tr><td class="paramdir">[in]</td><td class="paramname">day</td><td>Valid range 1 - 31 inclusive.</td></tr>
  3192. <tr><td class="paramdir">[in]</td><td class="paramname">hour</td><td>Valid range 0 - 23 inclusive.</td></tr>
  3193. <tr><td class="paramdir">[in]</td><td class="paramname">minute</td><td>Valid range 0 - 59 inclusive.</td></tr>
  3194. <tr><td class="paramdir">[in]</td><td class="paramname">second</td><td>Valid range 0 - 59 inclusive</td></tr>
  3195. </table>
  3196. </dd>
  3197. </dl>
  3198. <dl class="section note"><dt>Note</dt><dd>It is possible to set an invalid date since there is no check for the number of days in a month.</dd>
  3199. <dd>
  3200. Modify and access timestamps may be overwritten if a date time callback function has been set by <a class="el" href="class_fat_file.html#a29a623f50df057e8b49045ba6611ec2b">dateTimeCallback()</a>.</dd></dl>
  3201. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  3202. </div>
  3203. </div>
  3204. <a class="anchor" id="aa6e663098a578635d37d92e82d18d616"></a>
  3205. <div class="memitem">
  3206. <div class="memproto">
  3207. <table class="mlabels">
  3208. <tr>
  3209. <td class="mlabels-left">
  3210. <table class="memname">
  3211. <tr>
  3212. <td class="memname">bool FatFile::truncate </td>
  3213. <td>(</td>
  3214. <td class="paramtype">uint32_t&#160;</td>
  3215. <td class="paramname"><em>length</em></td><td>)</td>
  3216. <td></td>
  3217. </tr>
  3218. </table>
  3219. </td>
  3220. <td class="mlabels-right">
  3221. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  3222. </tr>
  3223. </table>
  3224. </div><div class="memdoc">
  3225. <p>Truncate a file to a specified length. The current file position will be maintained if it is less than or equal to <em>length</em> otherwise it will be set to end of file.</p>
  3226. <dl class="params"><dt>Parameters</dt><dd>
  3227. <table class="params">
  3228. <tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The desired length for the file.</td></tr>
  3229. </table>
  3230. </dd>
  3231. </dl>
  3232. <dl class="section return"><dt>Returns</dt><dd>The value true is returned for success and the value false is returned for failure. </dd></dl>
  3233. </div>
  3234. </div>
  3235. <a class="anchor" id="a3c64bd8a9abb9a6461d4addb405614df"></a>
  3236. <div class="memitem">
  3237. <div class="memproto">
  3238. <table class="mlabels">
  3239. <tr>
  3240. <td class="mlabels-left">
  3241. <table class="memname">
  3242. <tr>
  3243. <td class="memname"><a class="el" href="class_fat_volume.html">FatVolume</a>* FatFile::volume </td>
  3244. <td>(</td>
  3245. <td class="paramname"></td><td>)</td>
  3246. <td> const</td>
  3247. </tr>
  3248. </table>
  3249. </td>
  3250. <td class="mlabels-right">
  3251. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  3252. </tr>
  3253. </table>
  3254. </div><div class="memdoc">
  3255. <dl class="section return"><dt>Returns</dt><dd><a class="el" href="class_fat_volume.html" title="Access FAT16 and FAT32 volumes on raw file devices. ">FatVolume</a> that contains this file. </dd></dl>
  3256. </div>
  3257. </div>
  3258. <a class="anchor" id="a618a6b2b7e81bfb93e0d3c158f614f90"></a>
  3259. <div class="memitem">
  3260. <div class="memproto">
  3261. <table class="mlabels">
  3262. <tr>
  3263. <td class="mlabels-left">
  3264. <table class="memname">
  3265. <tr>
  3266. <td class="memname">size_t File::write </td>
  3267. <td>(</td>
  3268. <td class="paramtype">uint8_t&#160;</td>
  3269. <td class="paramname"><em>b</em></td><td>)</td>
  3270. <td></td>
  3271. </tr>
  3272. </table>
  3273. </td>
  3274. <td class="mlabels-right">
  3275. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  3276. </tr>
  3277. </table>
  3278. </div><div class="memdoc">
  3279. <p>Write a byte to a file. Required by the Arduino Print class. </p><dl class="params"><dt>Parameters</dt><dd>
  3280. <table class="params">
  3281. <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>the byte to be written. Use getWriteError to check for errors. </td></tr>
  3282. </table>
  3283. </dd>
  3284. </dl>
  3285. <dl class="section return"><dt>Returns</dt><dd>1 for success and 0 for failure. </dd></dl>
  3286. </div>
  3287. </div>
  3288. <a class="anchor" id="aa531c1641a2363e1f6b9d103f37433da"></a>
  3289. <div class="memitem">
  3290. <div class="memproto">
  3291. <table class="mlabels">
  3292. <tr>
  3293. <td class="mlabels-left">
  3294. <table class="memname">
  3295. <tr>
  3296. <td class="memname">size_t File::write </td>
  3297. <td>(</td>
  3298. <td class="paramtype">const uint8_t *&#160;</td>
  3299. <td class="paramname"><em>buf</em>, </td>
  3300. </tr>
  3301. <tr>
  3302. <td class="paramkey"></td>
  3303. <td></td>
  3304. <td class="paramtype">size_t&#160;</td>
  3305. <td class="paramname"><em>size</em>&#160;</td>
  3306. </tr>
  3307. <tr>
  3308. <td></td>
  3309. <td>)</td>
  3310. <td></td><td></td>
  3311. </tr>
  3312. </table>
  3313. </td>
  3314. <td class="mlabels-right">
  3315. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  3316. </tr>
  3317. </table>
  3318. </div><div class="memdoc">
  3319. <p>Write data to an open file. Form required by Print.</p>
  3320. <dl class="section note"><dt>Note</dt><dd>Data is moved to the cache but may not be written to the storage device until <a class="el" href="class_fat_file.html#a67f3dc4896c542d695e11aac927f585e">sync()</a> is called.</dd></dl>
  3321. <dl class="params"><dt>Parameters</dt><dd>
  3322. <table class="params">
  3323. <tr><td class="paramdir">[in]</td><td class="paramname">buf</td><td>Pointer to the location of the data to be written.</td></tr>
  3324. <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>Number of bytes to write.</td></tr>
  3325. </table>
  3326. </dd>
  3327. </dl>
  3328. <dl class="section return"><dt>Returns</dt><dd>For success <a class="el" href="class_file.html#a618a6b2b7e81bfb93e0d3c158f614f90">write()</a> returns the number of bytes written, always <em>nbyte</em>. If an error occurs, <a class="el" href="class_file.html#a618a6b2b7e81bfb93e0d3c158f614f90">write()</a> returns -1. Possible errors include <a class="el" href="class_file.html#a618a6b2b7e81bfb93e0d3c158f614f90">write()</a> is called before a file has been opened, write is called for a read-only file, device is full, a corrupt file system or an I/O error. </dd></dl>
  3329. </div>
  3330. </div>
  3331. <a class="anchor" id="aa4a5b81161994cea07938702cdfce49f"></a>
  3332. <div class="memitem">
  3333. <div class="memproto">
  3334. <table class="mlabels">
  3335. <tr>
  3336. <td class="mlabels-left">
  3337. <table class="memname">
  3338. <tr>
  3339. <td class="memname">int FatFile::write </td>
  3340. <td>(</td>
  3341. <td class="paramtype">const char *&#160;</td>
  3342. <td class="paramname"><em>str</em></td><td>)</td>
  3343. <td></td>
  3344. </tr>
  3345. </table>
  3346. </td>
  3347. <td class="mlabels-right">
  3348. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  3349. </tr>
  3350. </table>
  3351. </div><div class="memdoc">
  3352. <p>Write a string to a file. Used by the Arduino Print class. </p><dl class="params"><dt>Parameters</dt><dd>
  3353. <table class="params">
  3354. <tr><td class="paramdir">[in]</td><td class="paramname">str</td><td>Pointer to the string. Use getWriteError to check for errors. </td></tr>
  3355. </table>
  3356. </dd>
  3357. </dl>
  3358. <dl class="section return"><dt>Returns</dt><dd>count of characters written for success or -1 for failure. </dd></dl>
  3359. </div>
  3360. </div>
  3361. <a class="anchor" id="a0ab9df44a9ee4b6eb0a78f15f1e30004"></a>
  3362. <div class="memitem">
  3363. <div class="memproto">
  3364. <table class="mlabels">
  3365. <tr>
  3366. <td class="mlabels-left">
  3367. <table class="memname">
  3368. <tr>
  3369. <td class="memname">int FatFile::write </td>
  3370. <td>(</td>
  3371. <td class="paramtype">const void *&#160;</td>
  3372. <td class="paramname"><em>buf</em>, </td>
  3373. </tr>
  3374. <tr>
  3375. <td class="paramkey"></td>
  3376. <td></td>
  3377. <td class="paramtype">size_t&#160;</td>
  3378. <td class="paramname"><em>nbyte</em>&#160;</td>
  3379. </tr>
  3380. <tr>
  3381. <td></td>
  3382. <td>)</td>
  3383. <td></td><td></td>
  3384. </tr>
  3385. </table>
  3386. </td>
  3387. <td class="mlabels-right">
  3388. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  3389. </tr>
  3390. </table>
  3391. </div><div class="memdoc">
  3392. <p>Write data to an open file.</p>
  3393. <dl class="section note"><dt>Note</dt><dd>Data is moved to the cache but may not be written to the storage device until <a class="el" href="class_fat_file.html#a67f3dc4896c542d695e11aac927f585e">sync()</a> is called.</dd></dl>
  3394. <dl class="params"><dt>Parameters</dt><dd>
  3395. <table class="params">
  3396. <tr><td class="paramdir">[in]</td><td class="paramname">buf</td><td>Pointer to the location of the data to be written.</td></tr>
  3397. <tr><td class="paramdir">[in]</td><td class="paramname">nbyte</td><td>Number of bytes to write.</td></tr>
  3398. </table>
  3399. </dd>
  3400. </dl>
  3401. <dl class="section return"><dt>Returns</dt><dd>For success <a class="el" href="class_fat_file.html#aa4a5b81161994cea07938702cdfce49f">write()</a> returns the number of bytes written, always <em>nbyte</em>. If an error occurs, <a class="el" href="class_fat_file.html#aa4a5b81161994cea07938702cdfce49f">write()</a> returns -1. Possible errors include <a class="el" href="class_fat_file.html#aa4a5b81161994cea07938702cdfce49f">write()</a> is called before a file has been opened, write is called for a read-only file, device is full, a corrupt file system or an I/O error. </dd></dl>
  3402. </div>
  3403. </div>
  3404. <hr/>The documentation for this class was generated from the following file:<ul>
  3405. <li>Arduino/libraries/SdFat/src/FatLib/<a class="el" href="_arduino_files_8h.html">ArduinoFiles.h</a></li>
  3406. </ul>
  3407. </div><!-- contents -->
  3408. <!-- start footer part -->
  3409. <hr class="footer"/><address class="footer"><small>
  3410. Generated on Fri Feb 12 2016 13:43:49 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  3411. <img class="footer" src="doxygen.png" alt="doxygen"/>
  3412. </a> 1.8.10
  3413. </small></address>
  3414. </body>
  3415. </html>