Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

_fat_structs_8h.html 64KB

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