Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

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