Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

structfat32__boot.html 28KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564
  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: fat32_boot Struct 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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
  42. <li><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="annotated.html"><span>Class&#160;List</span></a></li>
  64. <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
  65. <li><a href="functions.html"><span>Class&#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><!-- top -->
  81. <div class="header">
  82. <div class="summary">
  83. <a href="#pub-attribs">Public Attributes</a> &#124;
  84. <a href="structfat32__boot-members.html">List of all members</a> </div>
  85. <div class="headertitle">
  86. <div class="title">fat32_boot Struct Reference</div> </div>
  87. </div><!--header-->
  88. <div class="contents">
  89. <p>Boot sector for a FAT32 volume.
  90. <a href="structfat32__boot.html#details">More...</a></p>
  91. <p><code>#include &lt;FatStructs.h&gt;</code></p>
  92. <table class="memberdecls">
  93. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
  94. Public Attributes</h2></td></tr>
  95. <tr class="memitem:a7a74880066860140386edf3d9278b9f7"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#a7a74880066860140386edf3d9278b9f7">bootCode</a> [420]</td></tr>
  96. <tr class="separator:a7a74880066860140386edf3d9278b9f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  97. <tr class="memitem:a1cb46a5427b641a6017a082bc56df1be"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#a1cb46a5427b641a6017a082bc56df1be">bootSectorSig0</a></td></tr>
  98. <tr class="separator:a1cb46a5427b641a6017a082bc56df1be"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. <tr class="memitem:a53bc302a398f02a86d3b28f25a5ec8e2"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#a53bc302a398f02a86d3b28f25a5ec8e2">bootSectorSig1</a></td></tr>
  100. <tr class="separator:a53bc302a398f02a86d3b28f25a5ec8e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  101. <tr class="memitem:ab79a1205277ecab05526fb0bac6e42f6"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#ab79a1205277ecab05526fb0bac6e42f6">bootSignature</a></td></tr>
  102. <tr class="separator:ab79a1205277ecab05526fb0bac6e42f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. <tr class="memitem:a03c7086a8c988257a6678179a67a3fee"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#a03c7086a8c988257a6678179a67a3fee">bytesPerSector</a></td></tr>
  104. <tr class="separator:a03c7086a8c988257a6678179a67a3fee"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:aca415c1a6eb1c242d460a6d0ffa9ebec"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#aca415c1a6eb1c242d460a6d0ffa9ebec">driveNumber</a></td></tr>
  106. <tr class="separator:aca415c1a6eb1c242d460a6d0ffa9ebec"><td class="memSeparator" colspan="2">&#160;</td></tr>
  107. <tr class="memitem:ac93acdae62dab5cd1f7a35187992dbf2"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#ac93acdae62dab5cd1f7a35187992dbf2">fat32BackBootBlock</a></td></tr>
  108. <tr class="separator:ac93acdae62dab5cd1f7a35187992dbf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:aaa31a140202021bf33aed72765531b3f"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#aaa31a140202021bf33aed72765531b3f">fat32Flags</a></td></tr>
  110. <tr class="separator:aaa31a140202021bf33aed72765531b3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:a03ff6d1197c08688f20c7aad40206bc4"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#a03ff6d1197c08688f20c7aad40206bc4">fat32FSInfo</a></td></tr>
  112. <tr class="separator:a03ff6d1197c08688f20c7aad40206bc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:a3343ad07c664fb7564d68c5194ea7da9"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#a3343ad07c664fb7564d68c5194ea7da9">fat32Reserved</a> [12]</td></tr>
  114. <tr class="separator:a3343ad07c664fb7564d68c5194ea7da9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:aa216677f22a95dd86ed2e61604883a13"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#aa216677f22a95dd86ed2e61604883a13">fat32RootCluster</a></td></tr>
  116. <tr class="separator:aa216677f22a95dd86ed2e61604883a13"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:a29c37e1163772493efb524c5ca0e1aa8"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#a29c37e1163772493efb524c5ca0e1aa8">fat32Version</a></td></tr>
  118. <tr class="separator:a29c37e1163772493efb524c5ca0e1aa8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:a7882fa8744bd171bfa1512bd442574bc"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#a7882fa8744bd171bfa1512bd442574bc">fatCount</a></td></tr>
  120. <tr class="separator:a7882fa8744bd171bfa1512bd442574bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:a13ee6c63e17d634b6826bfdfa94cbd78"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#a13ee6c63e17d634b6826bfdfa94cbd78">fileSystemType</a> [8]</td></tr>
  122. <tr class="separator:a13ee6c63e17d634b6826bfdfa94cbd78"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:a1a5298db692526bc64243766d6b54181"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#a1a5298db692526bc64243766d6b54181">headCount</a></td></tr>
  124. <tr class="separator:a1a5298db692526bc64243766d6b54181"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:ab10224aa4bba42b262fcd3479e279e1f"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#ab10224aa4bba42b262fcd3479e279e1f">hidddenSectors</a></td></tr>
  126. <tr class="separator:ab10224aa4bba42b262fcd3479e279e1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. <tr class="memitem:a2d93fc193a64ecffbd71ead207fe4810"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#a2d93fc193a64ecffbd71ead207fe4810">jump</a> [3]</td></tr>
  128. <tr class="separator:a2d93fc193a64ecffbd71ead207fe4810"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:a3b1ab5d2dc872c0d80cd4f34622de417"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#a3b1ab5d2dc872c0d80cd4f34622de417">mediaType</a></td></tr>
  130. <tr class="separator:a3b1ab5d2dc872c0d80cd4f34622de417"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. <tr class="memitem:af623a473a960ea20904dce0edfb6bb9d"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#af623a473a960ea20904dce0edfb6bb9d">oemId</a> [8]</td></tr>
  132. <tr class="separator:af623a473a960ea20904dce0edfb6bb9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. <tr class="memitem:a7075c3c00aae071110fd1acb2e6fd599"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#a7075c3c00aae071110fd1acb2e6fd599">reserved1</a></td></tr>
  134. <tr class="separator:a7075c3c00aae071110fd1acb2e6fd599"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <tr class="memitem:a8e490f05ad3552dfbdf8f9332d287ba0"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#a8e490f05ad3552dfbdf8f9332d287ba0">reservedSectorCount</a></td></tr>
  136. <tr class="separator:a8e490f05ad3552dfbdf8f9332d287ba0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. <tr class="memitem:a94185496fb56c6e0e8078fc3803e9142"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#a94185496fb56c6e0e8078fc3803e9142">rootDirEntryCount</a></td></tr>
  138. <tr class="separator:a94185496fb56c6e0e8078fc3803e9142"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. <tr class="memitem:a63ded2780732f166f7b7d36bc6aed702"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#a63ded2780732f166f7b7d36bc6aed702">sectorsPerCluster</a></td></tr>
  140. <tr class="separator:a63ded2780732f166f7b7d36bc6aed702"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <tr class="memitem:aeaa78272cd42b162ea448e1642f75cab"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#aeaa78272cd42b162ea448e1642f75cab">sectorsPerFat16</a></td></tr>
  142. <tr class="separator:aeaa78272cd42b162ea448e1642f75cab"><td class="memSeparator" colspan="2">&#160;</td></tr>
  143. <tr class="memitem:aa00db084ff2f7e25febef321469adeb9"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#aa00db084ff2f7e25febef321469adeb9">sectorsPerFat32</a></td></tr>
  144. <tr class="separator:aa00db084ff2f7e25febef321469adeb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  145. <tr class="memitem:a9525b2e63f84a5cf62ea20199cedf5de"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#a9525b2e63f84a5cf62ea20199cedf5de">sectorsPerTrack</a></td></tr>
  146. <tr class="separator:a9525b2e63f84a5cf62ea20199cedf5de"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="memitem:acbcae2f15475a886f674f932da1deb3f"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#acbcae2f15475a886f674f932da1deb3f">totalSectors16</a></td></tr>
  148. <tr class="separator:acbcae2f15475a886f674f932da1deb3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  149. <tr class="memitem:ab79466016103c2762c6b057dd458d434"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#ab79466016103c2762c6b057dd458d434">totalSectors32</a></td></tr>
  150. <tr class="separator:ab79466016103c2762c6b057dd458d434"><td class="memSeparator" colspan="2">&#160;</td></tr>
  151. <tr class="memitem:a8e6349f46344145a7320637a58107b3b"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#a8e6349f46344145a7320637a58107b3b">volumeLabel</a> [11]</td></tr>
  152. <tr class="separator:a8e6349f46344145a7320637a58107b3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. <tr class="memitem:a20768678da224faefd8acf12cabdbfb8"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat32__boot.html#a20768678da224faefd8acf12cabdbfb8">volumeSerialNumber</a></td></tr>
  154. <tr class="separator:a20768678da224faefd8acf12cabdbfb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  155. </table>
  156. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  157. <div class="textblock"><p>Boot sector for a FAT32 volume. </p>
  158. </div><h2 class="groupheader">Member Data Documentation</h2>
  159. <a class="anchor" id="a7a74880066860140386edf3d9278b9f7"></a>
  160. <div class="memitem">
  161. <div class="memproto">
  162. <table class="memname">
  163. <tr>
  164. <td class="memname">uint8_t fat32_boot::bootCode[420]</td>
  165. </tr>
  166. </table>
  167. </div><div class="memdoc">
  168. <p>X86 boot code </p>
  169. </div>
  170. </div>
  171. <a class="anchor" id="a1cb46a5427b641a6017a082bc56df1be"></a>
  172. <div class="memitem">
  173. <div class="memproto">
  174. <table class="memname">
  175. <tr>
  176. <td class="memname">uint8_t fat32_boot::bootSectorSig0</td>
  177. </tr>
  178. </table>
  179. </div><div class="memdoc">
  180. <p>must be 0X55 </p>
  181. </div>
  182. </div>
  183. <a class="anchor" id="a53bc302a398f02a86d3b28f25a5ec8e2"></a>
  184. <div class="memitem">
  185. <div class="memproto">
  186. <table class="memname">
  187. <tr>
  188. <td class="memname">uint8_t fat32_boot::bootSectorSig1</td>
  189. </tr>
  190. </table>
  191. </div><div class="memdoc">
  192. <p>must be 0XAA </p>
  193. </div>
  194. </div>
  195. <a class="anchor" id="ab79a1205277ecab05526fb0bac6e42f6"></a>
  196. <div class="memitem">
  197. <div class="memproto">
  198. <table class="memname">
  199. <tr>
  200. <td class="memname">uint8_t fat32_boot::bootSignature</td>
  201. </tr>
  202. </table>
  203. </div><div class="memdoc">
  204. <p>0X29 if next three fields are valid </p>
  205. </div>
  206. </div>
  207. <a class="anchor" id="a03c7086a8c988257a6678179a67a3fee"></a>
  208. <div class="memitem">
  209. <div class="memproto">
  210. <table class="memname">
  211. <tr>
  212. <td class="memname">uint16_t fat32_boot::bytesPerSector</td>
  213. </tr>
  214. </table>
  215. </div><div class="memdoc">
  216. <p>The size of a hardware sector. Valid decimal values for this field are 512, 1024, 2048, and 4096. For most disks used in the United States, the value of this field is 512. </p>
  217. </div>
  218. </div>
  219. <a class="anchor" id="aca415c1a6eb1c242d460a6d0ffa9ebec"></a>
  220. <div class="memitem">
  221. <div class="memproto">
  222. <table class="memname">
  223. <tr>
  224. <td class="memname">uint8_t fat32_boot::driveNumber</td>
  225. </tr>
  226. </table>
  227. </div><div class="memdoc">
  228. <p>Related to the BIOS physical drive number. Floppy drives are identified as 0x00 and physical hard disks are identified as 0x80, regardless of the number of physical disk drives. Typically, this value is set prior to issuing an INT 13h BIOS call to specify the device to access. The value is only relevant if the device is a boot device. </p>
  229. </div>
  230. </div>
  231. <a class="anchor" id="ac93acdae62dab5cd1f7a35187992dbf2"></a>
  232. <div class="memitem">
  233. <div class="memproto">
  234. <table class="memname">
  235. <tr>
  236. <td class="memname">uint16_t fat32_boot::fat32BackBootBlock</td>
  237. </tr>
  238. </table>
  239. </div><div class="memdoc">
  240. <p>If non-zero, indicates the sector number in the reserved area of the volume of a copy of the boot record. Usually 6. No value other than 6 is recommended. </p>
  241. </div>
  242. </div>
  243. <a class="anchor" id="aaa31a140202021bf33aed72765531b3f"></a>
  244. <div class="memitem">
  245. <div class="memproto">
  246. <table class="memname">
  247. <tr>
  248. <td class="memname">uint16_t fat32_boot::fat32Flags</td>
  249. </tr>
  250. </table>
  251. </div><div class="memdoc">
  252. <p>This field is only defined for FAT32 media and does not exist on FAT12 and FAT16 media. Bits 0-3 &ndash; Zero-based number of active FAT. Only valid if mirroring is disabled. Bits 4-6 &ndash; Reserved. Bit 7 &ndash; 0 means the FAT is mirrored at runtime into all FATs. &ndash; 1 means only one FAT is active; it is the one referenced in bits 0-3. Bits 8-15 &ndash; Reserved. </p>
  253. </div>
  254. </div>
  255. <a class="anchor" id="a03ff6d1197c08688f20c7aad40206bc4"></a>
  256. <div class="memitem">
  257. <div class="memproto">
  258. <table class="memname">
  259. <tr>
  260. <td class="memname">uint16_t fat32_boot::fat32FSInfo</td>
  261. </tr>
  262. </table>
  263. </div><div class="memdoc">
  264. <p>Sector number of FSINFO structure in the reserved area of the FAT32 volume. Usually 1. </p>
  265. </div>
  266. </div>
  267. <a class="anchor" id="a3343ad07c664fb7564d68c5194ea7da9"></a>
  268. <div class="memitem">
  269. <div class="memproto">
  270. <table class="memname">
  271. <tr>
  272. <td class="memname">uint8_t fat32_boot::fat32Reserved[12]</td>
  273. </tr>
  274. </table>
  275. </div><div class="memdoc">
  276. <p>Reserved for future expansion. Code that formats FAT32 volumes should always set all of the bytes of this field to 0. </p>
  277. </div>
  278. </div>
  279. <a class="anchor" id="aa216677f22a95dd86ed2e61604883a13"></a>
  280. <div class="memitem">
  281. <div class="memproto">
  282. <table class="memname">
  283. <tr>
  284. <td class="memname">uint32_t fat32_boot::fat32RootCluster</td>
  285. </tr>
  286. </table>
  287. </div><div class="memdoc">
  288. <p>Cluster number of the first cluster of the root directory for FAT32. This usually 2 but not required to be 2. </p>
  289. </div>
  290. </div>
  291. <a class="anchor" id="a29c37e1163772493efb524c5ca0e1aa8"></a>
  292. <div class="memitem">
  293. <div class="memproto">
  294. <table class="memname">
  295. <tr>
  296. <td class="memname">uint16_t fat32_boot::fat32Version</td>
  297. </tr>
  298. </table>
  299. </div><div class="memdoc">
  300. <p>FAT32 version. High byte is major revision number. Low byte is minor revision number. Only 0.0 define. </p>
  301. </div>
  302. </div>
  303. <a class="anchor" id="a7882fa8744bd171bfa1512bd442574bc"></a>
  304. <div class="memitem">
  305. <div class="memproto">
  306. <table class="memname">
  307. <tr>
  308. <td class="memname">uint8_t fat32_boot::fatCount</td>
  309. </tr>
  310. </table>
  311. </div><div class="memdoc">
  312. <p>The number of copies of the FAT on the volume. The value of this field is always 2. </p>
  313. </div>
  314. </div>
  315. <a class="anchor" id="a13ee6c63e17d634b6826bfdfa94cbd78"></a>
  316. <div class="memitem">
  317. <div class="memproto">
  318. <table class="memname">
  319. <tr>
  320. <td class="memname">char fat32_boot::fileSystemType[8]</td>
  321. </tr>
  322. </table>
  323. </div><div class="memdoc">
  324. <p>A text field with a value of FAT32. </p>
  325. </div>
  326. </div>
  327. <a class="anchor" id="a1a5298db692526bc64243766d6b54181"></a>
  328. <div class="memitem">
  329. <div class="memproto">
  330. <table class="memname">
  331. <tr>
  332. <td class="memname">uint16_t fat32_boot::headCount</td>
  333. </tr>
  334. </table>
  335. </div><div class="memdoc">
  336. <p>Number of heads for interrupt 0x13. Not used otherwise. </p>
  337. </div>
  338. </div>
  339. <a class="anchor" id="ab10224aa4bba42b262fcd3479e279e1f"></a>
  340. <div class="memitem">
  341. <div class="memproto">
  342. <table class="memname">
  343. <tr>
  344. <td class="memname">uint32_t fat32_boot::hidddenSectors</td>
  345. </tr>
  346. </table>
  347. </div><div class="memdoc">
  348. <p>Count of hidden sectors preceding the partition that contains this FAT volume. This field is generally only relevant for media visible on interrupt 0x13. </p>
  349. </div>
  350. </div>
  351. <a class="anchor" id="a2d93fc193a64ecffbd71ead207fe4810"></a>
  352. <div class="memitem">
  353. <div class="memproto">
  354. <table class="memname">
  355. <tr>
  356. <td class="memname">uint8_t fat32_boot::jump[3]</td>
  357. </tr>
  358. </table>
  359. </div><div class="memdoc">
  360. <p>The first three bytes of the boot sector must be valid, executable x 86-based CPU instructions. This includes a jump instruction that skips the next non-executable bytes. </p>
  361. </div>
  362. </div>
  363. <a class="anchor" id="a3b1ab5d2dc872c0d80cd4f34622de417"></a>
  364. <div class="memitem">
  365. <div class="memproto">
  366. <table class="memname">
  367. <tr>
  368. <td class="memname">uint8_t fat32_boot::mediaType</td>
  369. </tr>
  370. </table>
  371. </div><div class="memdoc">
  372. <p>This dates back to the old MS-DOS 1.x media determination and is no longer usually used for anything. 0xF8 is the standard value for fixed (non-removable) media. For removable media, 0xF0 is frequently used. Legal values are 0xF0 or 0xF8-0xFF. </p>
  373. </div>
  374. </div>
  375. <a class="anchor" id="af623a473a960ea20904dce0edfb6bb9d"></a>
  376. <div class="memitem">
  377. <div class="memproto">
  378. <table class="memname">
  379. <tr>
  380. <td class="memname">char fat32_boot::oemId[8]</td>
  381. </tr>
  382. </table>
  383. </div><div class="memdoc">
  384. <p>This is typically a string of characters that identifies the operating system that formatted the volume. </p>
  385. </div>
  386. </div>
  387. <a class="anchor" id="a7075c3c00aae071110fd1acb2e6fd599"></a>
  388. <div class="memitem">
  389. <div class="memproto">
  390. <table class="memname">
  391. <tr>
  392. <td class="memname">uint8_t fat32_boot::reserved1</td>
  393. </tr>
  394. </table>
  395. </div><div class="memdoc">
  396. <p>used by Windows NT - should be zero for FAT </p>
  397. </div>
  398. </div>
  399. <a class="anchor" id="a8e490f05ad3552dfbdf8f9332d287ba0"></a>
  400. <div class="memitem">
  401. <div class="memproto">
  402. <table class="memname">
  403. <tr>
  404. <td class="memname">uint16_t fat32_boot::reservedSectorCount</td>
  405. </tr>
  406. </table>
  407. </div><div class="memdoc">
  408. <p>The number of sectors preceding the start of the first FAT, including the boot sector. Must not be zero </p>
  409. </div>
  410. </div>
  411. <a class="anchor" id="a94185496fb56c6e0e8078fc3803e9142"></a>
  412. <div class="memitem">
  413. <div class="memproto">
  414. <table class="memname">
  415. <tr>
  416. <td class="memname">uint16_t fat32_boot::rootDirEntryCount</td>
  417. </tr>
  418. </table>
  419. </div><div class="memdoc">
  420. <p>FAT12/FAT16 only. For FAT32 volumes, this field must be set to 0. </p>
  421. </div>
  422. </div>
  423. <a class="anchor" id="a63ded2780732f166f7b7d36bc6aed702"></a>
  424. <div class="memitem">
  425. <div class="memproto">
  426. <table class="memname">
  427. <tr>
  428. <td class="memname">uint8_t fat32_boot::sectorsPerCluster</td>
  429. </tr>
  430. </table>
  431. </div><div class="memdoc">
  432. <p>Number of sectors per allocation unit. This value must be a power of 2 that is greater than 0. The legal values are 1, 2, 4, 8, 16, 32, 64, and 128. 128 should be avoided. </p>
  433. </div>
  434. </div>
  435. <a class="anchor" id="aeaa78272cd42b162ea448e1642f75cab"></a>
  436. <div class="memitem">
  437. <div class="memproto">
  438. <table class="memname">
  439. <tr>
  440. <td class="memname">uint16_t fat32_boot::sectorsPerFat16</td>
  441. </tr>
  442. </table>
  443. </div><div class="memdoc">
  444. <p>On FAT32 volumes this field must be 0, and sectorsPerFat32 contains the FAT size count. </p>
  445. </div>
  446. </div>
  447. <a class="anchor" id="aa00db084ff2f7e25febef321469adeb9"></a>
  448. <div class="memitem">
  449. <div class="memproto">
  450. <table class="memname">
  451. <tr>
  452. <td class="memname">uint32_t fat32_boot::sectorsPerFat32</td>
  453. </tr>
  454. </table>
  455. </div><div class="memdoc">
  456. <p>Count of sectors occupied by one FAT on FAT32 volumes. </p>
  457. </div>
  458. </div>
  459. <a class="anchor" id="a9525b2e63f84a5cf62ea20199cedf5de"></a>
  460. <div class="memitem">
  461. <div class="memproto">
  462. <table class="memname">
  463. <tr>
  464. <td class="memname">uint16_t fat32_boot::sectorsPerTrack</td>
  465. </tr>
  466. </table>
  467. </div><div class="memdoc">
  468. <p>Sectors per track for interrupt 0x13. Not used otherwise. </p>
  469. </div>
  470. </div>
  471. <a class="anchor" id="acbcae2f15475a886f674f932da1deb3f"></a>
  472. <div class="memitem">
  473. <div class="memproto">
  474. <table class="memname">
  475. <tr>
  476. <td class="memname">uint16_t fat32_boot::totalSectors16</td>
  477. </tr>
  478. </table>
  479. </div><div class="memdoc">
  480. <p>For FAT32 volumes, this field must be 0. </p>
  481. </div>
  482. </div>
  483. <a class="anchor" id="ab79466016103c2762c6b057dd458d434"></a>
  484. <div class="memitem">
  485. <div class="memproto">
  486. <table class="memname">
  487. <tr>
  488. <td class="memname">uint32_t fat32_boot::totalSectors32</td>
  489. </tr>
  490. </table>
  491. </div><div class="memdoc">
  492. <p>Contains the total number of sectors in the FAT32 volume. </p>
  493. </div>
  494. </div>
  495. <a class="anchor" id="a8e6349f46344145a7320637a58107b3b"></a>
  496. <div class="memitem">
  497. <div class="memproto">
  498. <table class="memname">
  499. <tr>
  500. <td class="memname">char fat32_boot::volumeLabel[11]</td>
  501. </tr>
  502. </table>
  503. </div><div class="memdoc">
  504. <p>A field once used to store the volume label. The volume label is now stored as a special file in the root directory. </p>
  505. </div>
  506. </div>
  507. <a class="anchor" id="a20768678da224faefd8acf12cabdbfb8"></a>
  508. <div class="memitem">
  509. <div class="memproto">
  510. <table class="memname">
  511. <tr>
  512. <td class="memname">uint32_t fat32_boot::volumeSerialNumber</td>
  513. </tr>
  514. </table>
  515. </div><div class="memdoc">
  516. <p>A random serial number created when formatting a disk, which helps to distinguish between disks. Usually generated by combining date and time. </p>
  517. </div>
  518. </div>
  519. <hr/>The documentation for this struct was generated from the following file:<ul>
  520. <li>Arduino/libraries/SdFat/src/FatLib/<a class="el" href="_fat_structs_8h.html">FatStructs.h</a></li>
  521. </ul>
  522. </div><!-- contents -->
  523. <!-- start footer part -->
  524. <hr class="footer"/><address class="footer"><small>
  525. Generated on Mon Sep 5 2016 10:18:52 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  526. <img class="footer" src="doxygen.png" alt="doxygen"/>
  527. </a> 1.8.10
  528. </small></address>
  529. </body>
  530. </html>