Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

1283 rindas
64KB

  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: Arduino/libraries/SdFat/src/FatLib/FatStructs.h File Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="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="annotated.html"><span>Classes</span></a></li>
  42. <li class="current"><a href="files.html"><span>Files</span></a></li>
  43. <li>
  44. <div id="MSearchBox" class="MSearchBoxInactive">
  45. <span class="left">
  46. <img id="MSearchSelect" src="search/mag_sel.png"
  47. onmouseover="return searchBox.OnSearchSelectShow()"
  48. onmouseout="return searchBox.OnSearchSelectHide()"
  49. alt=""/>
  50. <input type="text" id="MSearchField" value="Search" accesskey="S"
  51. onfocus="searchBox.OnSearchFieldFocus(true)"
  52. onblur="searchBox.OnSearchFieldFocus(false)"
  53. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  54. </span><span class="right">
  55. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  56. </span>
  57. </div>
  58. </li>
  59. </ul>
  60. </div>
  61. <div id="navrow2" class="tabs2">
  62. <ul class="tablist">
  63. <li><a href="files.html"><span>File&#160;List</span></a></li>
  64. <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  65. </ul>
  66. </div>
  67. <!-- window showing the filter options -->
  68. <div id="MSearchSelectWindow"
  69. onmouseover="return searchBox.OnSearchSelectShow()"
  70. onmouseout="return searchBox.OnSearchSelectHide()"
  71. onkeydown="return searchBox.OnSearchSelectKey(event)">
  72. </div>
  73. <!-- iframe showing the search results (closed by default) -->
  74. <div id="MSearchResultsWindow">
  75. <iframe src="javascript:void(0)" frameborder="0"
  76. name="MSearchResults" id="MSearchResults">
  77. </iframe>
  78. </div>
  79. <div id="nav-path" class="navpath">
  80. <ul>
  81. <li class="navelem"><a class="el" href="dir_a991eec27578c865874ede3d8ec657c2.html">Arduino</a></li><li class="navelem"><a class="el" href="dir_481cc946b8a81b8d9363a4aad6201160.html">libraries</a></li><li class="navelem"><a class="el" href="dir_1281b15c327061056ab3b326e90c50cf.html">SdFat</a></li><li class="navelem"><a class="el" href="dir_c18d6c86f7b0afecac5c3a8a9885031e.html">src</a></li><li class="navelem"><a class="el" href="dir_7e472674a7b7d2590a789f197241f95f.html">FatLib</a></li> </ul>
  82. </div>
  83. </div><!-- top -->
  84. <div class="header">
  85. <div class="summary">
  86. <a href="#nested-classes">Classes</a> &#124;
  87. <a href="#typedef-members">Typedefs</a> &#124;
  88. <a href="#func-members">Functions</a> &#124;
  89. <a href="#var-members">Variables</a> </div>
  90. <div class="headertitle">
  91. <div class="title">FatStructs.h File Reference</div> </div>
  92. </div><!--header-->
  93. <div class="contents">
  94. <p>FAT file structures.
  95. <a href="#details">More...</a></p>
  96. <div class="textblock"><div class="dynheader">
  97. This graph shows which files directly or indirectly include this file:</div>
  98. <div class="dyncontent">
  99. <div class="center"><img src="_fat_structs_8h__dep__incl.png" border="0" usemap="#_arduino_2libraries_2_sd_fat_2src_2_fat_lib_2_fat_structs_8hdep" alt=""/></div>
  100. <map name="_arduino_2libraries_2_sd_fat_2src_2_fat_lib_2_fat_structs_8hdep" id="_arduino_2libraries_2_sd_fat_2src_2_fat_lib_2_fat_structs_8hdep">
  101. <area shape="rect" id="node2" href="_fat_file_8h.html" title="FatFile class. " alt="" coords="487,184,641,225"/>
  102. <area shape="rect" id="node13" href="_fat_volume_8h.html" title="FatVolume class. " alt="" coords="601,95,764,136"/>
  103. <area shape="rect" id="node3" href="_arduino_files_8h.html" title="PrintFile class. " alt="" coords="5,452,176,493"/>
  104. <area shape="rect" id="node4" href="_fat_file_system_8h.html" title="FatFileSystem class. " alt="" coords="192,720,376,761"/>
  105. <area shape="rect" id="node5" href="ios_8h.html" title="ios_base and ios classes " alt="" coords="429,273,584,315"/>
  106. <area shape="rect" id="node10" href="fstream_8h.html" title="fstream, ifstream, and ofstream classes " alt="" coords="496,541,651,583"/>
  107. <area shape="rect" id="node12" href="_stdio_stream_8h.html" title="StdioStream class. " alt="" coords="659,273,829,315"/>
  108. <area shape="rect" id="node6" href="istream_8h.html" title="istream class " alt="" coords="251,363,405,404"/>
  109. <area shape="rect" id="node11" href="ostream_8h.html" title="ostream class " alt="" coords="429,363,584,404"/>
  110. <area shape="rect" id="node7" href="iostream_8h.html" title="iostream class " alt="" coords="348,452,503,493"/>
  111. <area shape="rect" id="node8" href="bufstream_8h.html" title="ibufstream and obufstream classes " alt="" coords="302,541,458,583"/>
  112. <area shape="rect" id="node9" href="_arduino_stream_8h.html" title="ArduinoInStream and ArduinoOutStream classes. " alt="" coords="263,631,449,672"/>
  113. </map>
  114. </div>
  115. </div><table class="memberdecls">
  116. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
  117. Classes</h2></td></tr>
  118. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbios_parm_block.html">biosParmBlock</a></td></tr>
  119. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">BIOS parameter block. <a href="structbios_parm_block.html#details">More...</a><br /></td></tr>
  120. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdirectory_entry.html">directoryEntry</a></td></tr>
  122. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">FAT short directory entry. <a href="structdirectory_entry.html#details">More...</a><br /></td></tr>
  123. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html">fat32_boot</a></td></tr>
  125. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Boot sector for a FAT32 volume. <a href="structfat32__boot.html#details">More...</a><br /></td></tr>
  126. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__fsinfo.html">fat32_fsinfo</a></td></tr>
  128. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">FSINFO sector for a FAT32 volume. <a href="structfat32__fsinfo.html#details">More...</a><br /></td></tr>
  129. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html">fat_boot</a></td></tr>
  131. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Boot sector for a FAT12/FAT16 volume. <a href="structfat__boot.html#details">More...</a><br /></td></tr>
  132. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlong_directory_entry.html">longDirectoryEntry</a></td></tr>
  134. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">FAT long directory entry. <a href="structlong_directory_entry.html#details">More...</a><br /></td></tr>
  135. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmaster_boot_record.html">masterBootRecord</a></td></tr>
  137. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Master Boot Record. <a href="structmaster_boot_record.html#details">More...</a><br /></td></tr>
  138. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpartition_table.html">partitionTable</a></td></tr>
  140. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">MBR partition table entry. <a href="structpartition_table.html#details">More...</a><br /></td></tr>
  141. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. </table><table class="memberdecls">
  143. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
  144. Typedefs</h2></td></tr>
  145. <tr class="memitem:a5c8af240713e05e7e6c959006ced35fb"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structbios_parm_block.html">biosParmBlock</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a5c8af240713e05e7e6c959006ced35fb">bpb_t</a></td></tr>
  146. <tr class="separator:a5c8af240713e05e7e6c959006ced35fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="memitem:a803db59d4e16a0c54a647afc6a7954e3"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structdirectory_entry.html">directoryEntry</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a></td></tr>
  148. <tr class="separator:a803db59d4e16a0c54a647afc6a7954e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  149. <tr class="memitem:a38fa081d004647a828095d31b07ec491"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structfat32__boot.html">fat32_boot</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a38fa081d004647a828095d31b07ec491">fat32_boot_t</a></td></tr>
  150. <tr class="separator:a38fa081d004647a828095d31b07ec491"><td class="memSeparator" colspan="2">&#160;</td></tr>
  151. <tr class="memitem:a6030ed0fce3a819326a2548407fc8556"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structfat32__fsinfo.html">fat32_fsinfo</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a6030ed0fce3a819326a2548407fc8556">fat32_fsinfo_t</a></td></tr>
  152. <tr class="separator:a6030ed0fce3a819326a2548407fc8556"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. <tr class="memitem:aedac4595ee08198da26c14b9891a07d5"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structfat__boot.html">fat_boot</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#aedac4595ee08198da26c14b9891a07d5">fat_boot_t</a></td></tr>
  154. <tr class="separator:aedac4595ee08198da26c14b9891a07d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  155. <tr class="memitem:aa1b540ee1eedd1aa9b267d11cba0d9e2"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structlong_directory_entry.html">longDirectoryEntry</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#aa1b540ee1eedd1aa9b267d11cba0d9e2">ldir_t</a></td></tr>
  156. <tr class="separator:aa1b540ee1eedd1aa9b267d11cba0d9e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  157. <tr class="memitem:a7c429e5097f101c8c97663d6c4155bd9"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structmaster_boot_record.html">masterBootRecord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a7c429e5097f101c8c97663d6c4155bd9">mbr_t</a></td></tr>
  158. <tr class="separator:a7c429e5097f101c8c97663d6c4155bd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  159. <tr class="memitem:a37251e7d5c69a159be727a3fc8c9d0e6"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structpartition_table.html">partitionTable</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a37251e7d5c69a159be727a3fc8c9d0e6">part_t</a></td></tr>
  160. <tr class="separator:a37251e7d5c69a159be727a3fc8c9d0e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  161. </table><table class="memberdecls">
  162. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
  163. Functions</h2></td></tr>
  164. <tr class="memitem:a5ce8bde4d6ff3950df951e84c7bb8d58"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a5ce8bde4d6ff3950df951e84c7bb8d58">DIR_IS_FILE</a> (const <a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a> *dir)</td></tr>
  165. <tr class="separator:a5ce8bde4d6ff3950df951e84c7bb8d58"><td class="memSeparator" colspan="2">&#160;</td></tr>
  166. <tr class="memitem:a9d99b04fa090825a9b9c2468fa81e627"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a9d99b04fa090825a9b9c2468fa81e627">DIR_IS_FILE_OR_SUBDIR</a> (const <a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a> *dir)</td></tr>
  167. <tr class="separator:a9d99b04fa090825a9b9c2468fa81e627"><td class="memSeparator" colspan="2">&#160;</td></tr>
  168. <tr class="memitem:a5137c8165addb9d32c6094d03a9d029d"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a5137c8165addb9d32c6094d03a9d029d">DIR_IS_HIDDEN</a> (const <a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a> *dir)</td></tr>
  169. <tr class="separator:a5137c8165addb9d32c6094d03a9d029d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  170. <tr class="memitem:a504c3d996b412f386becc27a8c49cd2c"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a504c3d996b412f386becc27a8c49cd2c">DIR_IS_LONG_NAME</a> (const <a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a> *dir)</td></tr>
  171. <tr class="separator:a504c3d996b412f386becc27a8c49cd2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  172. <tr class="memitem:ace8ed88fcb41afc4d2fe0eabf96e71c6"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#ace8ed88fcb41afc4d2fe0eabf96e71c6">DIR_IS_SUBDIR</a> (const <a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a> *dir)</td></tr>
  173. <tr class="separator:ace8ed88fcb41afc4d2fe0eabf96e71c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  174. <tr class="memitem:a46cad0d590c5e290c52ccf660b316dd9"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a46cad0d590c5e290c52ccf660b316dd9">DIR_IS_SYSTEM</a> (const <a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a> *dir)</td></tr>
  175. <tr class="separator:a46cad0d590c5e290c52ccf660b316dd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  176. <tr class="memitem:a44899ad42ddf32ff1c1a73b5251b304a"><td class="memItemLeft" align="right" valign="top">static uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a44899ad42ddf32ff1c1a73b5251b304a">FAT_DATE</a> (uint16_t year, uint8_t month, uint8_t day)</td></tr>
  177. <tr class="separator:a44899ad42ddf32ff1c1a73b5251b304a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  178. <tr class="memitem:a4cc8bc105529bf9e9c11e8ef099d68b0"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a4cc8bc105529bf9e9c11e8ef099d68b0">FAT_DAY</a> (uint16_t fatDate)</td></tr>
  179. <tr class="separator:a4cc8bc105529bf9e9c11e8ef099d68b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  180. <tr class="memitem:ae7c733d49a5570054f6db3bd53332ba1"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#ae7c733d49a5570054f6db3bd53332ba1">FAT_HOUR</a> (uint16_t fatTime)</td></tr>
  181. <tr class="separator:ae7c733d49a5570054f6db3bd53332ba1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  182. <tr class="memitem:a1b09676a41ae6c9e19664bdcd5b1d34e"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a1b09676a41ae6c9e19664bdcd5b1d34e">FAT_MINUTE</a> (uint16_t fatTime)</td></tr>
  183. <tr class="separator:a1b09676a41ae6c9e19664bdcd5b1d34e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  184. <tr class="memitem:a429bc2d96f5bc26dc3bd6cc2bd535b84"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a429bc2d96f5bc26dc3bd6cc2bd535b84">FAT_MONTH</a> (uint16_t fatDate)</td></tr>
  185. <tr class="separator:a429bc2d96f5bc26dc3bd6cc2bd535b84"><td class="memSeparator" colspan="2">&#160;</td></tr>
  186. <tr class="memitem:a4d553e2088d42e01d6c08ee84e611b00"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a4d553e2088d42e01d6c08ee84e611b00">FAT_SECOND</a> (uint16_t fatTime)</td></tr>
  187. <tr class="separator:a4d553e2088d42e01d6c08ee84e611b00"><td class="memSeparator" colspan="2">&#160;</td></tr>
  188. <tr class="memitem:a375720927be5a39475d48b2d75dae29a"><td class="memItemLeft" align="right" valign="top">static uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a375720927be5a39475d48b2d75dae29a">FAT_TIME</a> (uint8_t hour, uint8_t minute, uint8_t second)</td></tr>
  189. <tr class="separator:a375720927be5a39475d48b2d75dae29a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  190. <tr class="memitem:a279a75f907dd2603543c7bdad00ff603"><td class="memItemLeft" align="right" valign="top">static uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a279a75f907dd2603543c7bdad00ff603">FAT_YEAR</a> (uint16_t fatDate)</td></tr>
  191. <tr class="separator:a279a75f907dd2603543c7bdad00ff603"><td class="memSeparator" colspan="2">&#160;</td></tr>
  192. </table><table class="memberdecls">
  193. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
  194. Variables</h2></td></tr>
  195. <tr class="memitem:acb7f0c892eb84c121c5698b2605e95e3"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#acb7f0c892eb84c121c5698b2605e95e3">BOOTSIG0</a> = 0X55</td></tr>
  196. <tr class="separator:acb7f0c892eb84c121c5698b2605e95e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  197. <tr class="memitem:a52f90172e11e828b411c803f29853753"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a52f90172e11e828b411c803f29853753">BOOTSIG1</a> = 0XAA</td></tr>
  198. <tr class="separator:a52f90172e11e828b411c803f29853753"><td class="memSeparator" colspan="2">&#160;</td></tr>
  199. <tr class="memitem:a0d0745a2bc191d12f6e3294a890c4b13"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a0d0745a2bc191d12f6e3294a890c4b13">DIR_ATT_ARCHIVE</a> = 0X20</td></tr>
  200. <tr class="separator:a0d0745a2bc191d12f6e3294a890c4b13"><td class="memSeparator" colspan="2">&#160;</td></tr>
  201. <tr class="memitem:ad0c6ed5cf186a40f98cc3929b52cf8ee"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#ad0c6ed5cf186a40f98cc3929b52cf8ee">DIR_ATT_DEFINED_BITS</a> = 0X3F</td></tr>
  202. <tr class="separator:ad0c6ed5cf186a40f98cc3929b52cf8ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
  203. <tr class="memitem:a5fe039a9af7304fc97a0e903acd217f7"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a5fe039a9af7304fc97a0e903acd217f7">DIR_ATT_DIRECTORY</a> = 0X10</td></tr>
  204. <tr class="separator:a5fe039a9af7304fc97a0e903acd217f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  205. <tr class="memitem:af006ada1b85a9761dd9538273c1ee97f"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#af006ada1b85a9761dd9538273c1ee97f">DIR_ATT_FILE_TYPE_MASK</a> = (<a class="el" href="_fat_structs_8h.html#a410501be78b30a75224dd4e81a4a1105">DIR_ATT_VOLUME_ID</a> | <a class="el" href="_fat_structs_8h.html#a5fe039a9af7304fc97a0e903acd217f7">DIR_ATT_DIRECTORY</a>)</td></tr>
  206. <tr class="separator:af006ada1b85a9761dd9538273c1ee97f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  207. <tr class="memitem:aed394afe98ff4b7876a5815319b6ef94"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#aed394afe98ff4b7876a5815319b6ef94">DIR_ATT_HIDDEN</a> = 0X02</td></tr>
  208. <tr class="separator:aed394afe98ff4b7876a5815319b6ef94"><td class="memSeparator" colspan="2">&#160;</td></tr>
  209. <tr class="memitem:a0039e1903007eb7383a9fe4b80a3569e"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a0039e1903007eb7383a9fe4b80a3569e">DIR_ATT_LONG_NAME</a> = 0X0F</td></tr>
  210. <tr class="separator:a0039e1903007eb7383a9fe4b80a3569e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  211. <tr class="memitem:a74ddbd24c315a682449a51a2a35adf39"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a74ddbd24c315a682449a51a2a35adf39">DIR_ATT_LONG_NAME_MASK</a> = 0X3F</td></tr>
  212. <tr class="separator:a74ddbd24c315a682449a51a2a35adf39"><td class="memSeparator" colspan="2">&#160;</td></tr>
  213. <tr class="memitem:ae5efa2fd21e8a563a3a45f8a52538cde"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#ae5efa2fd21e8a563a3a45f8a52538cde">DIR_ATT_READ_ONLY</a> = 0X01</td></tr>
  214. <tr class="separator:ae5efa2fd21e8a563a3a45f8a52538cde"><td class="memSeparator" colspan="2">&#160;</td></tr>
  215. <tr class="memitem:a31c7e5c119c9ebc1237746c985cf385d"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a31c7e5c119c9ebc1237746c985cf385d">DIR_ATT_SYSTEM</a> = 0X04</td></tr>
  216. <tr class="separator:a31c7e5c119c9ebc1237746c985cf385d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  217. <tr class="memitem:a410501be78b30a75224dd4e81a4a1105"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a410501be78b30a75224dd4e81a4a1105">DIR_ATT_VOLUME_ID</a> = 0X08</td></tr>
  218. <tr class="separator:a410501be78b30a75224dd4e81a4a1105"><td class="memSeparator" colspan="2">&#160;</td></tr>
  219. <tr class="memitem:a1696d3db9949d6e22d1c2c595fd14669"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a1696d3db9949d6e22d1c2c595fd14669">DIR_NAME_0XE5</a> = 0X05</td></tr>
  220. <tr class="separator:a1696d3db9949d6e22d1c2c595fd14669"><td class="memSeparator" colspan="2">&#160;</td></tr>
  221. <tr class="memitem:a8c08d4823047505f3231e86c5033d08c"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a8c08d4823047505f3231e86c5033d08c">DIR_NAME_DELETED</a> = 0XE5</td></tr>
  222. <tr class="separator:a8c08d4823047505f3231e86c5033d08c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  223. <tr class="memitem:a0f1f0001102ae59b9e7c9e3b04cc06d8"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a0f1f0001102ae59b9e7c9e3b04cc06d8">DIR_NAME_FREE</a> = 0X00</td></tr>
  224. <tr class="separator:a0f1f0001102ae59b9e7c9e3b04cc06d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  225. <tr class="memitem:a39f9b8960dba007b537e9b71c25384fe"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a39f9b8960dba007b537e9b71c25384fe">DIR_NT_LC_BASE</a> = 0X08</td></tr>
  226. <tr class="separator:a39f9b8960dba007b537e9b71c25384fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
  227. <tr class="memitem:a8766a8bbab6ad3da38c1b308545d7572"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a8766a8bbab6ad3da38c1b308545d7572">DIR_NT_LC_EXT</a> = 0X10</td></tr>
  228. <tr class="separator:a8766a8bbab6ad3da38c1b308545d7572"><td class="memSeparator" colspan="2">&#160;</td></tr>
  229. <tr class="memitem:aefadfae26e4cc8d57c1ff727a9d1cd20"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#aefadfae26e4cc8d57c1ff727a9d1cd20">EXTENDED_BOOT_SIG</a> = 0X29</td></tr>
  230. <tr class="separator:aefadfae26e4cc8d57c1ff727a9d1cd20"><td class="memSeparator" colspan="2">&#160;</td></tr>
  231. <tr class="memitem:af314c45d1d37d09c9e44847326232466"><td class="memItemLeft" align="right" valign="top">const uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#af314c45d1d37d09c9e44847326232466">FAT12EOC</a> = 0XFFF</td></tr>
  232. <tr class="separator:af314c45d1d37d09c9e44847326232466"><td class="memSeparator" colspan="2">&#160;</td></tr>
  233. <tr class="memitem:a48951911b522ebf72bf5561c3402aa15"><td class="memItemLeft" align="right" valign="top">const uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a48951911b522ebf72bf5561c3402aa15">FAT12EOC_MIN</a> = 0XFF8</td></tr>
  234. <tr class="separator:a48951911b522ebf72bf5561c3402aa15"><td class="memSeparator" colspan="2">&#160;</td></tr>
  235. <tr class="memitem:afcd95ebc621a46c82b9997c8b9208550"><td class="memItemLeft" align="right" valign="top">const uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#afcd95ebc621a46c82b9997c8b9208550">FAT16EOC</a> = 0XFFFF</td></tr>
  236. <tr class="separator:afcd95ebc621a46c82b9997c8b9208550"><td class="memSeparator" colspan="2">&#160;</td></tr>
  237. <tr class="memitem:a2f549b850b74666ba7d922bcb373896e"><td class="memItemLeft" align="right" valign="top">const uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a2f549b850b74666ba7d922bcb373896e">FAT16EOC_MIN</a> = 0XFFF8</td></tr>
  238. <tr class="separator:a2f549b850b74666ba7d922bcb373896e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  239. <tr class="memitem:a67a9dbf970f43fadd41a6a9fede60c47"><td class="memItemLeft" align="right" valign="top">const uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a67a9dbf970f43fadd41a6a9fede60c47">FAT32EOC</a> = 0X0FFFFFFF</td></tr>
  240. <tr class="separator:a67a9dbf970f43fadd41a6a9fede60c47"><td class="memSeparator" colspan="2">&#160;</td></tr>
  241. <tr class="memitem:a8f97a312e990c3f4faf7e98c3256aae5"><td class="memItemLeft" align="right" valign="top">const uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a8f97a312e990c3f4faf7e98c3256aae5">FAT32EOC_MIN</a> = 0X0FFFFFF8</td></tr>
  242. <tr class="separator:a8f97a312e990c3f4faf7e98c3256aae5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  243. <tr class="memitem:a7491c79fff0bda3b026ffa098a28d6df"><td class="memItemLeft" align="right" valign="top">const uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a7491c79fff0bda3b026ffa098a28d6df">FAT32MASK</a> = 0X0FFFFFFF</td></tr>
  244. <tr class="separator:a7491c79fff0bda3b026ffa098a28d6df"><td class="memSeparator" colspan="2">&#160;</td></tr>
  245. <tr class="memitem:a42eeb0322bced1f7b527c707f8bd54a4"><td class="memItemLeft" align="right" valign="top">const uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a42eeb0322bced1f7b527c707f8bd54a4">FAT_DEFAULT_DATE</a> = ((2000 - 1980) &lt;&lt; 9) | (1 &lt;&lt; 5) | 1</td></tr>
  246. <tr class="separator:a42eeb0322bced1f7b527c707f8bd54a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  247. <tr class="memitem:a23c2510407ec3be457e0e4807644deb2"><td class="memItemLeft" align="right" valign="top">const uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a23c2510407ec3be457e0e4807644deb2">FAT_DEFAULT_TIME</a> = (1 &lt;&lt; 11)</td></tr>
  248. <tr class="separator:a23c2510407ec3be457e0e4807644deb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  249. <tr class="memitem:a7a7a74a7315ad523e3b0c9dbd44d9a32"><td class="memItemLeft" align="right" valign="top">const uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a7a7a74a7315ad523e3b0c9dbd44d9a32">FSINFO_LEAD_SIG</a> = 0x41615252</td></tr>
  250. <tr class="separator:a7a7a74a7315ad523e3b0c9dbd44d9a32"><td class="memSeparator" colspan="2">&#160;</td></tr>
  251. <tr class="memitem:a9bf6b77df7bec6c49d81562c54371e81"><td class="memItemLeft" align="right" valign="top">const uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a9bf6b77df7bec6c49d81562c54371e81">FSINFO_STRUCT_SIG</a> = 0x61417272</td></tr>
  252. <tr class="separator:a9bf6b77df7bec6c49d81562c54371e81"><td class="memSeparator" colspan="2">&#160;</td></tr>
  253. <tr class="memitem:af843af29c67dd30ca7c5684806bf02fc"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#af843af29c67dd30ca7c5684806bf02fc">LDIR_NAME1_DIM</a> = 5</td></tr>
  254. <tr class="separator:af843af29c67dd30ca7c5684806bf02fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  255. <tr class="memitem:a99cae591c59e261f54617617e173e7e0"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a99cae591c59e261f54617617e173e7e0">LDIR_NAME2_DIM</a> = 6</td></tr>
  256. <tr class="separator:a99cae591c59e261f54617617e173e7e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  257. <tr class="memitem:a99fbd27fa9e5003a8d77ca7fc14d2090"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a99fbd27fa9e5003a8d77ca7fc14d2090">LDIR_NAME3_DIM</a> = 2</td></tr>
  258. <tr class="separator:a99fbd27fa9e5003a8d77ca7fc14d2090"><td class="memSeparator" colspan="2">&#160;</td></tr>
  259. <tr class="memitem:a8cfb60b9eaf04dcdc6e4f5a466af5540"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_structs_8h.html#a8cfb60b9eaf04dcdc6e4f5a466af5540">LDIR_ORD_LAST_LONG_ENTRY</a> = 0X40</td></tr>
  260. <tr class="separator:a8cfb60b9eaf04dcdc6e4f5a466af5540"><td class="memSeparator" colspan="2">&#160;</td></tr>
  261. </table>
  262. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  263. <div class="textblock"><p>FAT file structures. </p>
  264. </div><h2 class="groupheader">Typedef Documentation</h2>
  265. <a class="anchor" id="a5c8af240713e05e7e6c959006ced35fb"></a>
  266. <div class="memitem">
  267. <div class="memproto">
  268. <table class="memname">
  269. <tr>
  270. <td class="memname">typedef struct <a class="el" href="structbios_parm_block.html">biosParmBlock</a> <a class="el" href="_fat_structs_8h.html#a5c8af240713e05e7e6c959006ced35fb">bpb_t</a></td>
  271. </tr>
  272. </table>
  273. </div><div class="memdoc">
  274. <p>Type name for <a class="el" href="structbios_parm_block.html" title="BIOS parameter block. ">biosParmBlock</a> </p>
  275. </div>
  276. </div>
  277. <a class="anchor" id="a803db59d4e16a0c54a647afc6a7954e3"></a>
  278. <div class="memitem">
  279. <div class="memproto">
  280. <table class="memname">
  281. <tr>
  282. <td class="memname">typedef struct <a class="el" href="structdirectory_entry.html">directoryEntry</a> <a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a></td>
  283. </tr>
  284. </table>
  285. </div><div class="memdoc">
  286. <p>Type name for <a class="el" href="structdirectory_entry.html" title="FAT short directory entry. ">directoryEntry</a> </p>
  287. </div>
  288. </div>
  289. <a class="anchor" id="a38fa081d004647a828095d31b07ec491"></a>
  290. <div class="memitem">
  291. <div class="memproto">
  292. <table class="memname">
  293. <tr>
  294. <td class="memname">typedef struct <a class="el" href="structfat32__boot.html">fat32_boot</a> <a class="el" href="_fat_structs_8h.html#a38fa081d004647a828095d31b07ec491">fat32_boot_t</a></td>
  295. </tr>
  296. </table>
  297. </div><div class="memdoc">
  298. <p>Type name for FAT32 Boot Sector </p>
  299. </div>
  300. </div>
  301. <a class="anchor" id="a6030ed0fce3a819326a2548407fc8556"></a>
  302. <div class="memitem">
  303. <div class="memproto">
  304. <table class="memname">
  305. <tr>
  306. <td class="memname">typedef struct <a class="el" href="structfat32__fsinfo.html">fat32_fsinfo</a> <a class="el" href="_fat_structs_8h.html#a6030ed0fce3a819326a2548407fc8556">fat32_fsinfo_t</a></td>
  307. </tr>
  308. </table>
  309. </div><div class="memdoc">
  310. <p>Type name for FAT32 FSINFO Sector </p>
  311. </div>
  312. </div>
  313. <a class="anchor" id="aedac4595ee08198da26c14b9891a07d5"></a>
  314. <div class="memitem">
  315. <div class="memproto">
  316. <table class="memname">
  317. <tr>
  318. <td class="memname">typedef struct <a class="el" href="structfat__boot.html">fat_boot</a> <a class="el" href="_fat_structs_8h.html#aedac4595ee08198da26c14b9891a07d5">fat_boot_t</a></td>
  319. </tr>
  320. </table>
  321. </div><div class="memdoc">
  322. <p>Type name for FAT Boot Sector </p>
  323. </div>
  324. </div>
  325. <a class="anchor" id="aa1b540ee1eedd1aa9b267d11cba0d9e2"></a>
  326. <div class="memitem">
  327. <div class="memproto">
  328. <table class="memname">
  329. <tr>
  330. <td class="memname">typedef struct <a class="el" href="structlong_directory_entry.html">longDirectoryEntry</a> <a class="el" href="_fat_structs_8h.html#aa1b540ee1eedd1aa9b267d11cba0d9e2">ldir_t</a></td>
  331. </tr>
  332. </table>
  333. </div><div class="memdoc">
  334. <p>Type name for <a class="el" href="structlong_directory_entry.html" title="FAT long directory entry. ">longDirectoryEntry</a> </p>
  335. </div>
  336. </div>
  337. <a class="anchor" id="a7c429e5097f101c8c97663d6c4155bd9"></a>
  338. <div class="memitem">
  339. <div class="memproto">
  340. <table class="memname">
  341. <tr>
  342. <td class="memname">typedef struct <a class="el" href="structmaster_boot_record.html">masterBootRecord</a> <a class="el" href="_fat_structs_8h.html#a7c429e5097f101c8c97663d6c4155bd9">mbr_t</a></td>
  343. </tr>
  344. </table>
  345. </div><div class="memdoc">
  346. <p>Type name for <a class="el" href="structmaster_boot_record.html" title="Master Boot Record. ">masterBootRecord</a> </p>
  347. </div>
  348. </div>
  349. <a class="anchor" id="a37251e7d5c69a159be727a3fc8c9d0e6"></a>
  350. <div class="memitem">
  351. <div class="memproto">
  352. <table class="memname">
  353. <tr>
  354. <td class="memname">typedef struct <a class="el" href="structpartition_table.html">partitionTable</a> <a class="el" href="_fat_structs_8h.html#a37251e7d5c69a159be727a3fc8c9d0e6">part_t</a></td>
  355. </tr>
  356. </table>
  357. </div><div class="memdoc">
  358. <p>Type name for <a class="el" href="structpartition_table.html" title="MBR partition table entry. ">partitionTable</a> </p>
  359. </div>
  360. </div>
  361. <h2 class="groupheader">Function Documentation</h2>
  362. <a class="anchor" id="a5ce8bde4d6ff3950df951e84c7bb8d58"></a>
  363. <div class="memitem">
  364. <div class="memproto">
  365. <table class="mlabels">
  366. <tr>
  367. <td class="mlabels-left">
  368. <table class="memname">
  369. <tr>
  370. <td class="memname">static uint8_t DIR_IS_FILE </td>
  371. <td>(</td>
  372. <td class="paramtype">const <a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a> *&#160;</td>
  373. <td class="paramname"><em>dir</em></td><td>)</td>
  374. <td></td>
  375. </tr>
  376. </table>
  377. </td>
  378. <td class="mlabels-right">
  379. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
  380. </tr>
  381. </table>
  382. </div><div class="memdoc">
  383. <p>Directory entry is for a file </p><dl class="params"><dt>Parameters</dt><dd>
  384. <table class="params">
  385. <tr><td class="paramdir">[in]</td><td class="paramname">dir</td><td>Pointer to a directory entry.</td></tr>
  386. </table>
  387. </dd>
  388. </dl>
  389. <dl class="section return"><dt>Returns</dt><dd>true if the entry is for a normal file else false. </dd></dl>
  390. </div>
  391. </div>
  392. <a class="anchor" id="a9d99b04fa090825a9b9c2468fa81e627"></a>
  393. <div class="memitem">
  394. <div class="memproto">
  395. <table class="mlabels">
  396. <tr>
  397. <td class="mlabels-left">
  398. <table class="memname">
  399. <tr>
  400. <td class="memname">static uint8_t DIR_IS_FILE_OR_SUBDIR </td>
  401. <td>(</td>
  402. <td class="paramtype">const <a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a> *&#160;</td>
  403. <td class="paramname"><em>dir</em></td><td>)</td>
  404. <td></td>
  405. </tr>
  406. </table>
  407. </td>
  408. <td class="mlabels-right">
  409. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
  410. </tr>
  411. </table>
  412. </div><div class="memdoc">
  413. <p>Directory entry is for a file or subdirectory </p><dl class="params"><dt>Parameters</dt><dd>
  414. <table class="params">
  415. <tr><td class="paramdir">[in]</td><td class="paramname">dir</td><td>Pointer to a directory entry.</td></tr>
  416. </table>
  417. </dd>
  418. </dl>
  419. <dl class="section return"><dt>Returns</dt><dd>true if the entry is for a normal file or subdirectory else false. </dd></dl>
  420. </div>
  421. </div>
  422. <a class="anchor" id="a5137c8165addb9d32c6094d03a9d029d"></a>
  423. <div class="memitem">
  424. <div class="memproto">
  425. <table class="mlabels">
  426. <tr>
  427. <td class="mlabels-left">
  428. <table class="memname">
  429. <tr>
  430. <td class="memname">static uint8_t DIR_IS_HIDDEN </td>
  431. <td>(</td>
  432. <td class="paramtype">const <a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a> *&#160;</td>
  433. <td class="paramname"><em>dir</em></td><td>)</td>
  434. <td></td>
  435. </tr>
  436. </table>
  437. </td>
  438. <td class="mlabels-right">
  439. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
  440. </tr>
  441. </table>
  442. </div><div class="memdoc">
  443. <p>Directory entry is hidden </p><dl class="params"><dt>Parameters</dt><dd>
  444. <table class="params">
  445. <tr><td class="paramdir">[in]</td><td class="paramname">dir</td><td>Pointer to a directory entry.</td></tr>
  446. </table>
  447. </dd>
  448. </dl>
  449. <dl class="section return"><dt>Returns</dt><dd>true if the entry is hidden else false. </dd></dl>
  450. </div>
  451. </div>
  452. <a class="anchor" id="a504c3d996b412f386becc27a8c49cd2c"></a>
  453. <div class="memitem">
  454. <div class="memproto">
  455. <table class="mlabels">
  456. <tr>
  457. <td class="mlabels-left">
  458. <table class="memname">
  459. <tr>
  460. <td class="memname">static uint8_t DIR_IS_LONG_NAME </td>
  461. <td>(</td>
  462. <td class="paramtype">const <a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a> *&#160;</td>
  463. <td class="paramname"><em>dir</em></td><td>)</td>
  464. <td></td>
  465. </tr>
  466. </table>
  467. </td>
  468. <td class="mlabels-right">
  469. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
  470. </tr>
  471. </table>
  472. </div><div class="memdoc">
  473. <p>Directory entry is part of a long name </p><dl class="params"><dt>Parameters</dt><dd>
  474. <table class="params">
  475. <tr><td class="paramdir">[in]</td><td class="paramname">dir</td><td>Pointer to a directory entry.</td></tr>
  476. </table>
  477. </dd>
  478. </dl>
  479. <dl class="section return"><dt>Returns</dt><dd>true if the entry is for part of a long name else false. </dd></dl>
  480. </div>
  481. </div>
  482. <a class="anchor" id="ace8ed88fcb41afc4d2fe0eabf96e71c6"></a>
  483. <div class="memitem">
  484. <div class="memproto">
  485. <table class="mlabels">
  486. <tr>
  487. <td class="mlabels-left">
  488. <table class="memname">
  489. <tr>
  490. <td class="memname">static uint8_t DIR_IS_SUBDIR </td>
  491. <td>(</td>
  492. <td class="paramtype">const <a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a> *&#160;</td>
  493. <td class="paramname"><em>dir</em></td><td>)</td>
  494. <td></td>
  495. </tr>
  496. </table>
  497. </td>
  498. <td class="mlabels-right">
  499. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
  500. </tr>
  501. </table>
  502. </div><div class="memdoc">
  503. <p>Directory entry is for a subdirectory </p><dl class="params"><dt>Parameters</dt><dd>
  504. <table class="params">
  505. <tr><td class="paramdir">[in]</td><td class="paramname">dir</td><td>Pointer to a directory entry.</td></tr>
  506. </table>
  507. </dd>
  508. </dl>
  509. <dl class="section return"><dt>Returns</dt><dd>true if the entry is for a subdirectory else false. </dd></dl>
  510. </div>
  511. </div>
  512. <a class="anchor" id="a46cad0d590c5e290c52ccf660b316dd9"></a>
  513. <div class="memitem">
  514. <div class="memproto">
  515. <table class="mlabels">
  516. <tr>
  517. <td class="mlabels-left">
  518. <table class="memname">
  519. <tr>
  520. <td class="memname">static uint8_t DIR_IS_SYSTEM </td>
  521. <td>(</td>
  522. <td class="paramtype">const <a class="el" href="_fat_structs_8h.html#a803db59d4e16a0c54a647afc6a7954e3">dir_t</a> *&#160;</td>
  523. <td class="paramname"><em>dir</em></td><td>)</td>
  524. <td></td>
  525. </tr>
  526. </table>
  527. </td>
  528. <td class="mlabels-right">
  529. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
  530. </tr>
  531. </table>
  532. </div><div class="memdoc">
  533. <p>Directory entry is system type </p><dl class="params"><dt>Parameters</dt><dd>
  534. <table class="params">
  535. <tr><td class="paramdir">[in]</td><td class="paramname">dir</td><td>Pointer to a directory entry.</td></tr>
  536. </table>
  537. </dd>
  538. </dl>
  539. <dl class="section return"><dt>Returns</dt><dd>true if the entry is system else false. </dd></dl>
  540. </div>
  541. </div>
  542. <a class="anchor" id="a44899ad42ddf32ff1c1a73b5251b304a"></a>
  543. <div class="memitem">
  544. <div class="memproto">
  545. <table class="mlabels">
  546. <tr>
  547. <td class="mlabels-left">
  548. <table class="memname">
  549. <tr>
  550. <td class="memname">static uint16_t FAT_DATE </td>
  551. <td>(</td>
  552. <td class="paramtype">uint16_t&#160;</td>
  553. <td class="paramname"><em>year</em>, </td>
  554. </tr>
  555. <tr>
  556. <td class="paramkey"></td>
  557. <td></td>
  558. <td class="paramtype">uint8_t&#160;</td>
  559. <td class="paramname"><em>month</em>, </td>
  560. </tr>
  561. <tr>
  562. <td class="paramkey"></td>
  563. <td></td>
  564. <td class="paramtype">uint8_t&#160;</td>
  565. <td class="paramname"><em>day</em>&#160;</td>
  566. </tr>
  567. <tr>
  568. <td></td>
  569. <td>)</td>
  570. <td></td><td></td>
  571. </tr>
  572. </table>
  573. </td>
  574. <td class="mlabels-right">
  575. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
  576. </tr>
  577. </table>
  578. </div><div class="memdoc">
  579. <p>date field for FAT directory entry </p><dl class="params"><dt>Parameters</dt><dd>
  580. <table class="params">
  581. <tr><td class="paramdir">[in]</td><td class="paramname">year</td><td>[1980,2107] </td></tr>
  582. <tr><td class="paramdir">[in]</td><td class="paramname">month</td><td>[1,12] </td></tr>
  583. <tr><td class="paramdir">[in]</td><td class="paramname">day</td><td>[1,31]</td></tr>
  584. </table>
  585. </dd>
  586. </dl>
  587. <dl class="section return"><dt>Returns</dt><dd>Packed date for dir_t entry. </dd></dl>
  588. </div>
  589. </div>
  590. <a class="anchor" id="a4cc8bc105529bf9e9c11e8ef099d68b0"></a>
  591. <div class="memitem">
  592. <div class="memproto">
  593. <table class="mlabels">
  594. <tr>
  595. <td class="mlabels-left">
  596. <table class="memname">
  597. <tr>
  598. <td class="memname">static uint8_t FAT_DAY </td>
  599. <td>(</td>
  600. <td class="paramtype">uint16_t&#160;</td>
  601. <td class="paramname"><em>fatDate</em></td><td>)</td>
  602. <td></td>
  603. </tr>
  604. </table>
  605. </td>
  606. <td class="mlabels-right">
  607. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
  608. </tr>
  609. </table>
  610. </div><div class="memdoc">
  611. <p>day part of FAT directory date field </p><dl class="params"><dt>Parameters</dt><dd>
  612. <table class="params">
  613. <tr><td class="paramdir">[in]</td><td class="paramname">fatDate</td><td>Date in packed dir format.</td></tr>
  614. </table>
  615. </dd>
  616. </dl>
  617. <dl class="section return"><dt>Returns</dt><dd>Extracted day [1,31] </dd></dl>
  618. </div>
  619. </div>
  620. <a class="anchor" id="ae7c733d49a5570054f6db3bd53332ba1"></a>
  621. <div class="memitem">
  622. <div class="memproto">
  623. <table class="mlabels">
  624. <tr>
  625. <td class="mlabels-left">
  626. <table class="memname">
  627. <tr>
  628. <td class="memname">static uint8_t FAT_HOUR </td>
  629. <td>(</td>
  630. <td class="paramtype">uint16_t&#160;</td>
  631. <td class="paramname"><em>fatTime</em></td><td>)</td>
  632. <td></td>
  633. </tr>
  634. </table>
  635. </td>
  636. <td class="mlabels-right">
  637. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
  638. </tr>
  639. </table>
  640. </div><div class="memdoc">
  641. <p>hour part of FAT directory time field </p><dl class="params"><dt>Parameters</dt><dd>
  642. <table class="params">
  643. <tr><td class="paramdir">[in]</td><td class="paramname">fatTime</td><td>Time in packed dir format.</td></tr>
  644. </table>
  645. </dd>
  646. </dl>
  647. <dl class="section return"><dt>Returns</dt><dd>Extracted hour [0,23] </dd></dl>
  648. </div>
  649. </div>
  650. <a class="anchor" id="a1b09676a41ae6c9e19664bdcd5b1d34e"></a>
  651. <div class="memitem">
  652. <div class="memproto">
  653. <table class="mlabels">
  654. <tr>
  655. <td class="mlabels-left">
  656. <table class="memname">
  657. <tr>
  658. <td class="memname">static uint8_t FAT_MINUTE </td>
  659. <td>(</td>
  660. <td class="paramtype">uint16_t&#160;</td>
  661. <td class="paramname"><em>fatTime</em></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> </td>
  668. </tr>
  669. </table>
  670. </div><div class="memdoc">
  671. <p>minute part of FAT directory time field </p><dl class="params"><dt>Parameters</dt><dd>
  672. <table class="params">
  673. <tr><td class="paramdir">[in]</td><td class="paramname">fatTime</td><td>Time in packed dir format.</td></tr>
  674. </table>
  675. </dd>
  676. </dl>
  677. <dl class="section return"><dt>Returns</dt><dd>Extracted minute [0,59] </dd></dl>
  678. </div>
  679. </div>
  680. <a class="anchor" id="a429bc2d96f5bc26dc3bd6cc2bd535b84"></a>
  681. <div class="memitem">
  682. <div class="memproto">
  683. <table class="mlabels">
  684. <tr>
  685. <td class="mlabels-left">
  686. <table class="memname">
  687. <tr>
  688. <td class="memname">static uint8_t FAT_MONTH </td>
  689. <td>(</td>
  690. <td class="paramtype">uint16_t&#160;</td>
  691. <td class="paramname"><em>fatDate</em></td><td>)</td>
  692. <td></td>
  693. </tr>
  694. </table>
  695. </td>
  696. <td class="mlabels-right">
  697. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
  698. </tr>
  699. </table>
  700. </div><div class="memdoc">
  701. <p>month part of FAT directory date field </p><dl class="params"><dt>Parameters</dt><dd>
  702. <table class="params">
  703. <tr><td class="paramdir">[in]</td><td class="paramname">fatDate</td><td>Date in packed dir format.</td></tr>
  704. </table>
  705. </dd>
  706. </dl>
  707. <dl class="section return"><dt>Returns</dt><dd>Extracted month [1,12] </dd></dl>
  708. </div>
  709. </div>
  710. <a class="anchor" id="a4d553e2088d42e01d6c08ee84e611b00"></a>
  711. <div class="memitem">
  712. <div class="memproto">
  713. <table class="mlabels">
  714. <tr>
  715. <td class="mlabels-left">
  716. <table class="memname">
  717. <tr>
  718. <td class="memname">static uint8_t FAT_SECOND </td>
  719. <td>(</td>
  720. <td class="paramtype">uint16_t&#160;</td>
  721. <td class="paramname"><em>fatTime</em></td><td>)</td>
  722. <td></td>
  723. </tr>
  724. </table>
  725. </td>
  726. <td class="mlabels-right">
  727. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
  728. </tr>
  729. </table>
  730. </div><div class="memdoc">
  731. <p>second part of FAT directory time field Note second/2 is stored in packed time.</p>
  732. <dl class="params"><dt>Parameters</dt><dd>
  733. <table class="params">
  734. <tr><td class="paramdir">[in]</td><td class="paramname">fatTime</td><td>Time in packed dir format.</td></tr>
  735. </table>
  736. </dd>
  737. </dl>
  738. <dl class="section return"><dt>Returns</dt><dd>Extracted second [0,58] </dd></dl>
  739. </div>
  740. </div>
  741. <a class="anchor" id="a375720927be5a39475d48b2d75dae29a"></a>
  742. <div class="memitem">
  743. <div class="memproto">
  744. <table class="mlabels">
  745. <tr>
  746. <td class="mlabels-left">
  747. <table class="memname">
  748. <tr>
  749. <td class="memname">static uint16_t FAT_TIME </td>
  750. <td>(</td>
  751. <td class="paramtype">uint8_t&#160;</td>
  752. <td class="paramname"><em>hour</em>, </td>
  753. </tr>
  754. <tr>
  755. <td class="paramkey"></td>
  756. <td></td>
  757. <td class="paramtype">uint8_t&#160;</td>
  758. <td class="paramname"><em>minute</em>, </td>
  759. </tr>
  760. <tr>
  761. <td class="paramkey"></td>
  762. <td></td>
  763. <td class="paramtype">uint8_t&#160;</td>
  764. <td class="paramname"><em>second</em>&#160;</td>
  765. </tr>
  766. <tr>
  767. <td></td>
  768. <td>)</td>
  769. <td></td><td></td>
  770. </tr>
  771. </table>
  772. </td>
  773. <td class="mlabels-right">
  774. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
  775. </tr>
  776. </table>
  777. </div><div class="memdoc">
  778. <p>time field for FAT directory entry </p><dl class="params"><dt>Parameters</dt><dd>
  779. <table class="params">
  780. <tr><td class="paramdir">[in]</td><td class="paramname">hour</td><td>[0,23] </td></tr>
  781. <tr><td class="paramdir">[in]</td><td class="paramname">minute</td><td>[0,59] </td></tr>
  782. <tr><td class="paramdir">[in]</td><td class="paramname">second</td><td>[0,59]</td></tr>
  783. </table>
  784. </dd>
  785. </dl>
  786. <dl class="section return"><dt>Returns</dt><dd>Packed time for dir_t entry. </dd></dl>
  787. </div>
  788. </div>
  789. <a class="anchor" id="a279a75f907dd2603543c7bdad00ff603"></a>
  790. <div class="memitem">
  791. <div class="memproto">
  792. <table class="mlabels">
  793. <tr>
  794. <td class="mlabels-left">
  795. <table class="memname">
  796. <tr>
  797. <td class="memname">static uint16_t FAT_YEAR </td>
  798. <td>(</td>
  799. <td class="paramtype">uint16_t&#160;</td>
  800. <td class="paramname"><em>fatDate</em></td><td>)</td>
  801. <td></td>
  802. </tr>
  803. </table>
  804. </td>
  805. <td class="mlabels-right">
  806. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
  807. </tr>
  808. </table>
  809. </div><div class="memdoc">
  810. <p>year part of FAT directory date field </p><dl class="params"><dt>Parameters</dt><dd>
  811. <table class="params">
  812. <tr><td class="paramdir">[in]</td><td class="paramname">fatDate</td><td>Date in packed dir format.</td></tr>
  813. </table>
  814. </dd>
  815. </dl>
  816. <dl class="section return"><dt>Returns</dt><dd>Extracted year [1980,2107] </dd></dl>
  817. </div>
  818. </div>
  819. <h2 class="groupheader">Variable Documentation</h2>
  820. <a class="anchor" id="acb7f0c892eb84c121c5698b2605e95e3"></a>
  821. <div class="memitem">
  822. <div class="memproto">
  823. <table class="memname">
  824. <tr>
  825. <td class="memname">const uint8_t BOOTSIG0 = 0X55</td>
  826. </tr>
  827. </table>
  828. </div><div class="memdoc">
  829. <p>Value for byte 510 of boot block or MBR </p>
  830. </div>
  831. </div>
  832. <a class="anchor" id="a52f90172e11e828b411c803f29853753"></a>
  833. <div class="memitem">
  834. <div class="memproto">
  835. <table class="memname">
  836. <tr>
  837. <td class="memname">const uint8_t BOOTSIG1 = 0XAA</td>
  838. </tr>
  839. </table>
  840. </div><div class="memdoc">
  841. <p>Value for byte 511 of boot block or MBR </p>
  842. </div>
  843. </div>
  844. <a class="anchor" id="a0d0745a2bc191d12f6e3294a890c4b13"></a>
  845. <div class="memitem">
  846. <div class="memproto">
  847. <table class="memname">
  848. <tr>
  849. <td class="memname">const uint8_t DIR_ATT_ARCHIVE = 0X20</td>
  850. </tr>
  851. </table>
  852. </div><div class="memdoc">
  853. <p>Old DOS archive bit for backup support </p>
  854. </div>
  855. </div>
  856. <a class="anchor" id="ad0c6ed5cf186a40f98cc3929b52cf8ee"></a>
  857. <div class="memitem">
  858. <div class="memproto">
  859. <table class="memname">
  860. <tr>
  861. <td class="memname">const uint8_t DIR_ATT_DEFINED_BITS = 0X3F</td>
  862. </tr>
  863. </table>
  864. </div><div class="memdoc">
  865. <p>defined attribute bits </p>
  866. </div>
  867. </div>
  868. <a class="anchor" id="a5fe039a9af7304fc97a0e903acd217f7"></a>
  869. <div class="memitem">
  870. <div class="memproto">
  871. <table class="memname">
  872. <tr>
  873. <td class="memname">const uint8_t DIR_ATT_DIRECTORY = 0X10</td>
  874. </tr>
  875. </table>
  876. </div><div class="memdoc">
  877. <p>Entry is for a directory </p>
  878. </div>
  879. </div>
  880. <a class="anchor" id="af006ada1b85a9761dd9538273c1ee97f"></a>
  881. <div class="memitem">
  882. <div class="memproto">
  883. <table class="memname">
  884. <tr>
  885. <td class="memname">const uint8_t DIR_ATT_FILE_TYPE_MASK = (<a class="el" href="_fat_structs_8h.html#a410501be78b30a75224dd4e81a4a1105">DIR_ATT_VOLUME_ID</a> | <a class="el" href="_fat_structs_8h.html#a5fe039a9af7304fc97a0e903acd217f7">DIR_ATT_DIRECTORY</a>)</td>
  886. </tr>
  887. </table>
  888. </div><div class="memdoc">
  889. <p>Mask for file/subdirectory tests </p>
  890. </div>
  891. </div>
  892. <a class="anchor" id="aed394afe98ff4b7876a5815319b6ef94"></a>
  893. <div class="memitem">
  894. <div class="memproto">
  895. <table class="memname">
  896. <tr>
  897. <td class="memname">const uint8_t DIR_ATT_HIDDEN = 0X02</td>
  898. </tr>
  899. </table>
  900. </div><div class="memdoc">
  901. <p><a class="el" href="class_file.html" title="Arduino SD.h style File API. ">File</a> should e hidden in directory listings </p>
  902. </div>
  903. </div>
  904. <a class="anchor" id="a0039e1903007eb7383a9fe4b80a3569e"></a>
  905. <div class="memitem">
  906. <div class="memproto">
  907. <table class="memname">
  908. <tr>
  909. <td class="memname">const uint8_t DIR_ATT_LONG_NAME = 0X0F</td>
  910. </tr>
  911. </table>
  912. </div><div class="memdoc">
  913. <p>Test value for long name entry. Test is (d-&gt;attributes &amp; DIR_ATT_LONG_NAME_MASK) == DIR_ATT_LONG_NAME. </p>
  914. </div>
  915. </div>
  916. <a class="anchor" id="a74ddbd24c315a682449a51a2a35adf39"></a>
  917. <div class="memitem">
  918. <div class="memproto">
  919. <table class="memname">
  920. <tr>
  921. <td class="memname">const uint8_t DIR_ATT_LONG_NAME_MASK = 0X3F</td>
  922. </tr>
  923. </table>
  924. </div><div class="memdoc">
  925. <p>Test mask for long name entry </p>
  926. </div>
  927. </div>
  928. <a class="anchor" id="ae5efa2fd21e8a563a3a45f8a52538cde"></a>
  929. <div class="memitem">
  930. <div class="memproto">
  931. <table class="memname">
  932. <tr>
  933. <td class="memname">const uint8_t DIR_ATT_READ_ONLY = 0X01</td>
  934. </tr>
  935. </table>
  936. </div><div class="memdoc">
  937. <p>file is read-only </p>
  938. </div>
  939. </div>
  940. <a class="anchor" id="a31c7e5c119c9ebc1237746c985cf385d"></a>
  941. <div class="memitem">
  942. <div class="memproto">
  943. <table class="memname">
  944. <tr>
  945. <td class="memname">const uint8_t DIR_ATT_SYSTEM = 0X04</td>
  946. </tr>
  947. </table>
  948. </div><div class="memdoc">
  949. <p>Entry is for a system file </p>
  950. </div>
  951. </div>
  952. <a class="anchor" id="a410501be78b30a75224dd4e81a4a1105"></a>
  953. <div class="memitem">
  954. <div class="memproto">
  955. <table class="memname">
  956. <tr>
  957. <td class="memname">const uint8_t DIR_ATT_VOLUME_ID = 0X08</td>
  958. </tr>
  959. </table>
  960. </div><div class="memdoc">
  961. <p>Directory entry contains the volume label </p>
  962. </div>
  963. </div>
  964. <a class="anchor" id="a1696d3db9949d6e22d1c2c595fd14669"></a>
  965. <div class="memitem">
  966. <div class="memproto">
  967. <table class="memname">
  968. <tr>
  969. <td class="memname">const uint8_t DIR_NAME_0XE5 = 0X05</td>
  970. </tr>
  971. </table>
  972. </div><div class="memdoc">
  973. <p>escape for name[0] = 0XE5 </p>
  974. </div>
  975. </div>
  976. <a class="anchor" id="a8c08d4823047505f3231e86c5033d08c"></a>
  977. <div class="memitem">
  978. <div class="memproto">
  979. <table class="memname">
  980. <tr>
  981. <td class="memname">const uint8_t DIR_NAME_DELETED = 0XE5</td>
  982. </tr>
  983. </table>
  984. </div><div class="memdoc">
  985. <p>name[0] value for entry that is free after being "deleted" </p>
  986. </div>
  987. </div>
  988. <a class="anchor" id="a0f1f0001102ae59b9e7c9e3b04cc06d8"></a>
  989. <div class="memitem">
  990. <div class="memproto">
  991. <table class="memname">
  992. <tr>
  993. <td class="memname">const uint8_t DIR_NAME_FREE = 0X00</td>
  994. </tr>
  995. </table>
  996. </div><div class="memdoc">
  997. <p>name[0] value for entry that is free and no allocated entries follow </p>
  998. </div>
  999. </div>
  1000. <a class="anchor" id="a39f9b8960dba007b537e9b71c25384fe"></a>
  1001. <div class="memitem">
  1002. <div class="memproto">
  1003. <table class="memname">
  1004. <tr>
  1005. <td class="memname">const uint8_t DIR_NT_LC_BASE = 0X08</td>
  1006. </tr>
  1007. </table>
  1008. </div><div class="memdoc">
  1009. <p>Filename base-name is all lower case </p>
  1010. </div>
  1011. </div>
  1012. <a class="anchor" id="a8766a8bbab6ad3da38c1b308545d7572"></a>
  1013. <div class="memitem">
  1014. <div class="memproto">
  1015. <table class="memname">
  1016. <tr>
  1017. <td class="memname">const uint8_t DIR_NT_LC_EXT = 0X10</td>
  1018. </tr>
  1019. </table>
  1020. </div><div class="memdoc">
  1021. <p>Filename extension is all lower case. </p>
  1022. </div>
  1023. </div>
  1024. <a class="anchor" id="aefadfae26e4cc8d57c1ff727a9d1cd20"></a>
  1025. <div class="memitem">
  1026. <div class="memproto">
  1027. <table class="memname">
  1028. <tr>
  1029. <td class="memname">const uint8_t EXTENDED_BOOT_SIG = 0X29</td>
  1030. </tr>
  1031. </table>
  1032. </div><div class="memdoc">
  1033. <p>Value for bootSignature field int FAT/FAT32 boot sector </p>
  1034. </div>
  1035. </div>
  1036. <a class="anchor" id="af314c45d1d37d09c9e44847326232466"></a>
  1037. <div class="memitem">
  1038. <div class="memproto">
  1039. <table class="memname">
  1040. <tr>
  1041. <td class="memname">const uint16_t FAT12EOC = 0XFFF</td>
  1042. </tr>
  1043. </table>
  1044. </div><div class="memdoc">
  1045. <p>FAT12 end of chain value used by Microsoft. </p>
  1046. </div>
  1047. </div>
  1048. <a class="anchor" id="a48951911b522ebf72bf5561c3402aa15"></a>
  1049. <div class="memitem">
  1050. <div class="memproto">
  1051. <table class="memname">
  1052. <tr>
  1053. <td class="memname">const uint16_t FAT12EOC_MIN = 0XFF8</td>
  1054. </tr>
  1055. </table>
  1056. </div><div class="memdoc">
  1057. <p>Minimum value for FAT12 EOC. Use to test for EOC. </p>
  1058. </div>
  1059. </div>
  1060. <a class="anchor" id="afcd95ebc621a46c82b9997c8b9208550"></a>
  1061. <div class="memitem">
  1062. <div class="memproto">
  1063. <table class="memname">
  1064. <tr>
  1065. <td class="memname">const uint16_t FAT16EOC = 0XFFFF</td>
  1066. </tr>
  1067. </table>
  1068. </div><div class="memdoc">
  1069. <p>FAT16 end of chain value used by Microsoft. </p>
  1070. </div>
  1071. </div>
  1072. <a class="anchor" id="a2f549b850b74666ba7d922bcb373896e"></a>
  1073. <div class="memitem">
  1074. <div class="memproto">
  1075. <table class="memname">
  1076. <tr>
  1077. <td class="memname">const uint16_t FAT16EOC_MIN = 0XFFF8</td>
  1078. </tr>
  1079. </table>
  1080. </div><div class="memdoc">
  1081. <p>Minimum value for FAT16 EOC. Use to test for EOC. </p>
  1082. </div>
  1083. </div>
  1084. <a class="anchor" id="a67a9dbf970f43fadd41a6a9fede60c47"></a>
  1085. <div class="memitem">
  1086. <div class="memproto">
  1087. <table class="memname">
  1088. <tr>
  1089. <td class="memname">const uint32_t FAT32EOC = 0X0FFFFFFF</td>
  1090. </tr>
  1091. </table>
  1092. </div><div class="memdoc">
  1093. <p>FAT32 end of chain value used by Microsoft. </p>
  1094. </div>
  1095. </div>
  1096. <a class="anchor" id="a8f97a312e990c3f4faf7e98c3256aae5"></a>
  1097. <div class="memitem">
  1098. <div class="memproto">
  1099. <table class="memname">
  1100. <tr>
  1101. <td class="memname">const uint32_t FAT32EOC_MIN = 0X0FFFFFF8</td>
  1102. </tr>
  1103. </table>
  1104. </div><div class="memdoc">
  1105. <p>Minimum value for FAT32 EOC. Use to test for EOC. </p>
  1106. </div>
  1107. </div>
  1108. <a class="anchor" id="a7491c79fff0bda3b026ffa098a28d6df"></a>
  1109. <div class="memitem">
  1110. <div class="memproto">
  1111. <table class="memname">
  1112. <tr>
  1113. <td class="memname">const uint32_t FAT32MASK = 0X0FFFFFFF</td>
  1114. </tr>
  1115. </table>
  1116. </div><div class="memdoc">
  1117. <p>Mask a for FAT32 entry. Entries are 28 bits. </p>
  1118. </div>
  1119. </div>
  1120. <a class="anchor" id="a42eeb0322bced1f7b527c707f8bd54a4"></a>
  1121. <div class="memitem">
  1122. <div class="memproto">
  1123. <table class="memname">
  1124. <tr>
  1125. <td class="memname">const uint16_t FAT_DEFAULT_DATE = ((2000 - 1980) &lt;&lt; 9) | (1 &lt;&lt; 5) | 1</td>
  1126. </tr>
  1127. </table>
  1128. </div><div class="memdoc">
  1129. <p>Default date for file timestamps is 1 Jan 2000 </p>
  1130. </div>
  1131. </div>
  1132. <a class="anchor" id="a23c2510407ec3be457e0e4807644deb2"></a>
  1133. <div class="memitem">
  1134. <div class="memproto">
  1135. <table class="memname">
  1136. <tr>
  1137. <td class="memname">const uint16_t FAT_DEFAULT_TIME = (1 &lt;&lt; 11)</td>
  1138. </tr>
  1139. </table>
  1140. </div><div class="memdoc">
  1141. <p>Default time for file timestamp is 1 am </p>
  1142. </div>
  1143. </div>
  1144. <a class="anchor" id="a7a7a74a7315ad523e3b0c9dbd44d9a32"></a>
  1145. <div class="memitem">
  1146. <div class="memproto">
  1147. <table class="memname">
  1148. <tr>
  1149. <td class="memname">const uint32_t FSINFO_LEAD_SIG = 0x41615252</td>
  1150. </tr>
  1151. </table>
  1152. </div><div class="memdoc">
  1153. <p>Lead signature for a FSINFO sector </p>
  1154. </div>
  1155. </div>
  1156. <a class="anchor" id="a9bf6b77df7bec6c49d81562c54371e81"></a>
  1157. <div class="memitem">
  1158. <div class="memproto">
  1159. <table class="memname">
  1160. <tr>
  1161. <td class="memname">const uint32_t FSINFO_STRUCT_SIG = 0x61417272</td>
  1162. </tr>
  1163. </table>
  1164. </div><div class="memdoc">
  1165. <p>Struct signature for a FSINFO sector </p>
  1166. </div>
  1167. </div>
  1168. <a class="anchor" id="af843af29c67dd30ca7c5684806bf02fc"></a>
  1169. <div class="memitem">
  1170. <div class="memproto">
  1171. <table class="memname">
  1172. <tr>
  1173. <td class="memname">const uint8_t LDIR_NAME1_DIM = 5</td>
  1174. </tr>
  1175. </table>
  1176. </div><div class="memdoc">
  1177. <p>Dimension of first name field in long directory entry </p>
  1178. </div>
  1179. </div>
  1180. <a class="anchor" id="a99cae591c59e261f54617617e173e7e0"></a>
  1181. <div class="memitem">
  1182. <div class="memproto">
  1183. <table class="memname">
  1184. <tr>
  1185. <td class="memname">const uint8_t LDIR_NAME2_DIM = 6</td>
  1186. </tr>
  1187. </table>
  1188. </div><div class="memdoc">
  1189. <p>Dimension of first name field in long directory entry </p>
  1190. </div>
  1191. </div>
  1192. <a class="anchor" id="a99fbd27fa9e5003a8d77ca7fc14d2090"></a>
  1193. <div class="memitem">
  1194. <div class="memproto">
  1195. <table class="memname">
  1196. <tr>
  1197. <td class="memname">const uint8_t LDIR_NAME3_DIM = 2</td>
  1198. </tr>
  1199. </table>
  1200. </div><div class="memdoc">
  1201. <p>Dimension of first name field in long directory entry </p>
  1202. </div>
  1203. </div>
  1204. <a class="anchor" id="a8cfb60b9eaf04dcdc6e4f5a466af5540"></a>
  1205. <div class="memitem">
  1206. <div class="memproto">
  1207. <table class="memname">
  1208. <tr>
  1209. <td class="memname">const uint8_t LDIR_ORD_LAST_LONG_ENTRY = 0X40</td>
  1210. </tr>
  1211. </table>
  1212. </div><div class="memdoc">
  1213. <p>Ord mast that indicates the entry is the last long dir entry in a set of long dir entries. All valid sets of long dir entries must begin with an entry having this mask. </p>
  1214. </div>
  1215. </div>
  1216. </div><!-- contents -->
  1217. <!-- start footer part -->
  1218. <hr class="footer"/><address class="footer"><small>
  1219. Generated on Mon Sep 5 2016 10:18:52 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  1220. <img class="footer" src="doxygen.png" alt="doxygen"/>
  1221. </a> 1.8.10
  1222. </small></address>
  1223. </body>
  1224. </html>