Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

566 lines
28KB

  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><a href="modules.html"><span>Modules</span></a></li>
  42. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  43. <li><a href="files.html"><span>Files</span></a></li>
  44. <li>
  45. <div id="MSearchBox" class="MSearchBoxInactive">
  46. <span class="left">
  47. <img id="MSearchSelect" src="search/mag_sel.png"
  48. onmouseover="return searchBox.OnSearchSelectShow()"
  49. onmouseout="return searchBox.OnSearchSelectHide()"
  50. alt=""/>
  51. <input type="text" id="MSearchField" value="Search" accesskey="S"
  52. onfocus="searchBox.OnSearchFieldFocus(true)"
  53. onblur="searchBox.OnSearchFieldFocus(false)"
  54. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  55. </span><span class="right">
  56. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  57. </span>
  58. </div>
  59. </li>
  60. </ul>
  61. </div>
  62. <div id="navrow2" class="tabs2">
  63. <ul class="tablist">
  64. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  65. <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
  66. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  67. </ul>
  68. </div>
  69. <!-- window showing the filter options -->
  70. <div id="MSearchSelectWindow"
  71. onmouseover="return searchBox.OnSearchSelectShow()"
  72. onmouseout="return searchBox.OnSearchSelectHide()"
  73. onkeydown="return searchBox.OnSearchSelectKey(event)">
  74. </div>
  75. <!-- iframe showing the search results (closed by default) -->
  76. <div id="MSearchResultsWindow">
  77. <iframe src="javascript:void(0)" frameborder="0"
  78. name="MSearchResults" id="MSearchResults">
  79. </iframe>
  80. </div>
  81. </div><!-- top -->
  82. <div class="header">
  83. <div class="summary">
  84. <a href="#pub-attribs">Public Attributes</a> &#124;
  85. <a href="structfat32__boot-members.html">List of all members</a> </div>
  86. <div class="headertitle">
  87. <div class="title">fat32_boot Struct Reference</div> </div>
  88. </div><!--header-->
  89. <div class="contents">
  90. <p>Boot sector for a FAT32 volume.
  91. <a href="structfat32__boot.html#details">More...</a></p>
  92. <p><code>#include &lt;FatStructs.h&gt;</code></p>
  93. <table class="memberdecls">
  94. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
  95. Public Attributes</h2></td></tr>
  96. <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>
  97. <tr class="separator:a7a74880066860140386edf3d9278b9f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  98. <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>
  99. <tr class="separator:a1cb46a5427b641a6017a082bc56df1be"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <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>
  101. <tr class="separator:a53bc302a398f02a86d3b28f25a5ec8e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <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>
  103. <tr class="separator:ab79a1205277ecab05526fb0bac6e42f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. <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>
  105. <tr class="separator:a03c7086a8c988257a6678179a67a3fee"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <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>
  107. <tr class="separator:aca415c1a6eb1c242d460a6d0ffa9ebec"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <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>
  109. <tr class="separator:ac93acdae62dab5cd1f7a35187992dbf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. <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>
  111. <tr class="separator:aaa31a140202021bf33aed72765531b3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <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>
  113. <tr class="separator:a03ff6d1197c08688f20c7aad40206bc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <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>
  115. <tr class="separator:a3343ad07c664fb7564d68c5194ea7da9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <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>
  117. <tr class="separator:aa216677f22a95dd86ed2e61604883a13"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <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>
  119. <tr class="separator:a29c37e1163772493efb524c5ca0e1aa8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <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>
  121. <tr class="separator:a7882fa8744bd171bfa1512bd442574bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <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>
  123. <tr class="separator:a13ee6c63e17d634b6826bfdfa94cbd78"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <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>
  125. <tr class="separator:a1a5298db692526bc64243766d6b54181"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <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>
  127. <tr class="separator:ab10224aa4bba42b262fcd3479e279e1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <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>
  129. <tr class="separator:a2d93fc193a64ecffbd71ead207fe4810"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <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>
  131. <tr class="separator:a3b1ab5d2dc872c0d80cd4f34622de417"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <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>
  133. <tr class="separator:af623a473a960ea20904dce0edfb6bb9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <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>
  135. <tr class="separator:a7075c3c00aae071110fd1acb2e6fd599"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <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>
  137. <tr class="separator:a8e490f05ad3552dfbdf8f9332d287ba0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <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>
  139. <tr class="separator:a94185496fb56c6e0e8078fc3803e9142"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <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>
  141. <tr class="separator:a63ded2780732f166f7b7d36bc6aed702"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. <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>
  143. <tr class="separator:aeaa78272cd42b162ea448e1642f75cab"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <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>
  145. <tr class="separator:aa00db084ff2f7e25febef321469adeb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <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>
  147. <tr class="separator:a9525b2e63f84a5cf62ea20199cedf5de"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <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>
  149. <tr class="separator:acbcae2f15475a886f674f932da1deb3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <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>
  151. <tr class="separator:ab79466016103c2762c6b057dd458d434"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. <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>
  153. <tr class="separator:a8e6349f46344145a7320637a58107b3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  154. <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>
  155. <tr class="separator:a20768678da224faefd8acf12cabdbfb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  156. </table>
  157. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  158. <div class="textblock"><p>Boot sector for a FAT32 volume. </p>
  159. </div><h2 class="groupheader">Member Data Documentation</h2>
  160. <a class="anchor" id="a7a74880066860140386edf3d9278b9f7"></a>
  161. <div class="memitem">
  162. <div class="memproto">
  163. <table class="memname">
  164. <tr>
  165. <td class="memname">uint8_t fat32_boot::bootCode[420]</td>
  166. </tr>
  167. </table>
  168. </div><div class="memdoc">
  169. <p>X86 boot code </p>
  170. </div>
  171. </div>
  172. <a class="anchor" id="a1cb46a5427b641a6017a082bc56df1be"></a>
  173. <div class="memitem">
  174. <div class="memproto">
  175. <table class="memname">
  176. <tr>
  177. <td class="memname">uint8_t fat32_boot::bootSectorSig0</td>
  178. </tr>
  179. </table>
  180. </div><div class="memdoc">
  181. <p>must be 0X55 </p>
  182. </div>
  183. </div>
  184. <a class="anchor" id="a53bc302a398f02a86d3b28f25a5ec8e2"></a>
  185. <div class="memitem">
  186. <div class="memproto">
  187. <table class="memname">
  188. <tr>
  189. <td class="memname">uint8_t fat32_boot::bootSectorSig1</td>
  190. </tr>
  191. </table>
  192. </div><div class="memdoc">
  193. <p>must be 0XAA </p>
  194. </div>
  195. </div>
  196. <a class="anchor" id="ab79a1205277ecab05526fb0bac6e42f6"></a>
  197. <div class="memitem">
  198. <div class="memproto">
  199. <table class="memname">
  200. <tr>
  201. <td class="memname">uint8_t fat32_boot::bootSignature</td>
  202. </tr>
  203. </table>
  204. </div><div class="memdoc">
  205. <p>0X29 if next three fields are valid </p>
  206. </div>
  207. </div>
  208. <a class="anchor" id="a03c7086a8c988257a6678179a67a3fee"></a>
  209. <div class="memitem">
  210. <div class="memproto">
  211. <table class="memname">
  212. <tr>
  213. <td class="memname">uint16_t fat32_boot::bytesPerSector</td>
  214. </tr>
  215. </table>
  216. </div><div class="memdoc">
  217. <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>
  218. </div>
  219. </div>
  220. <a class="anchor" id="aca415c1a6eb1c242d460a6d0ffa9ebec"></a>
  221. <div class="memitem">
  222. <div class="memproto">
  223. <table class="memname">
  224. <tr>
  225. <td class="memname">uint8_t fat32_boot::driveNumber</td>
  226. </tr>
  227. </table>
  228. </div><div class="memdoc">
  229. <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>
  230. </div>
  231. </div>
  232. <a class="anchor" id="ac93acdae62dab5cd1f7a35187992dbf2"></a>
  233. <div class="memitem">
  234. <div class="memproto">
  235. <table class="memname">
  236. <tr>
  237. <td class="memname">uint16_t fat32_boot::fat32BackBootBlock</td>
  238. </tr>
  239. </table>
  240. </div><div class="memdoc">
  241. <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>
  242. </div>
  243. </div>
  244. <a class="anchor" id="aaa31a140202021bf33aed72765531b3f"></a>
  245. <div class="memitem">
  246. <div class="memproto">
  247. <table class="memname">
  248. <tr>
  249. <td class="memname">uint16_t fat32_boot::fat32Flags</td>
  250. </tr>
  251. </table>
  252. </div><div class="memdoc">
  253. <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>
  254. </div>
  255. </div>
  256. <a class="anchor" id="a03ff6d1197c08688f20c7aad40206bc4"></a>
  257. <div class="memitem">
  258. <div class="memproto">
  259. <table class="memname">
  260. <tr>
  261. <td class="memname">uint16_t fat32_boot::fat32FSInfo</td>
  262. </tr>
  263. </table>
  264. </div><div class="memdoc">
  265. <p>Sector number of FSINFO structure in the reserved area of the FAT32 volume. Usually 1. </p>
  266. </div>
  267. </div>
  268. <a class="anchor" id="a3343ad07c664fb7564d68c5194ea7da9"></a>
  269. <div class="memitem">
  270. <div class="memproto">
  271. <table class="memname">
  272. <tr>
  273. <td class="memname">uint8_t fat32_boot::fat32Reserved[12]</td>
  274. </tr>
  275. </table>
  276. </div><div class="memdoc">
  277. <p>Reserved for future expansion. Code that formats FAT32 volumes should always set all of the bytes of this field to 0. </p>
  278. </div>
  279. </div>
  280. <a class="anchor" id="aa216677f22a95dd86ed2e61604883a13"></a>
  281. <div class="memitem">
  282. <div class="memproto">
  283. <table class="memname">
  284. <tr>
  285. <td class="memname">uint32_t fat32_boot::fat32RootCluster</td>
  286. </tr>
  287. </table>
  288. </div><div class="memdoc">
  289. <p>Cluster number of the first cluster of the root directory for FAT32. This usually 2 but not required to be 2. </p>
  290. </div>
  291. </div>
  292. <a class="anchor" id="a29c37e1163772493efb524c5ca0e1aa8"></a>
  293. <div class="memitem">
  294. <div class="memproto">
  295. <table class="memname">
  296. <tr>
  297. <td class="memname">uint16_t fat32_boot::fat32Version</td>
  298. </tr>
  299. </table>
  300. </div><div class="memdoc">
  301. <p>FAT32 version. High byte is major revision number. Low byte is minor revision number. Only 0.0 define. </p>
  302. </div>
  303. </div>
  304. <a class="anchor" id="a7882fa8744bd171bfa1512bd442574bc"></a>
  305. <div class="memitem">
  306. <div class="memproto">
  307. <table class="memname">
  308. <tr>
  309. <td class="memname">uint8_t fat32_boot::fatCount</td>
  310. </tr>
  311. </table>
  312. </div><div class="memdoc">
  313. <p>The number of copies of the FAT on the volume. The value of this field is always 2. </p>
  314. </div>
  315. </div>
  316. <a class="anchor" id="a13ee6c63e17d634b6826bfdfa94cbd78"></a>
  317. <div class="memitem">
  318. <div class="memproto">
  319. <table class="memname">
  320. <tr>
  321. <td class="memname">char fat32_boot::fileSystemType[8]</td>
  322. </tr>
  323. </table>
  324. </div><div class="memdoc">
  325. <p>A text field with a value of FAT32. </p>
  326. </div>
  327. </div>
  328. <a class="anchor" id="a1a5298db692526bc64243766d6b54181"></a>
  329. <div class="memitem">
  330. <div class="memproto">
  331. <table class="memname">
  332. <tr>
  333. <td class="memname">uint16_t fat32_boot::headCount</td>
  334. </tr>
  335. </table>
  336. </div><div class="memdoc">
  337. <p>Number of heads for interrupt 0x13. Not used otherwise. </p>
  338. </div>
  339. </div>
  340. <a class="anchor" id="ab10224aa4bba42b262fcd3479e279e1f"></a>
  341. <div class="memitem">
  342. <div class="memproto">
  343. <table class="memname">
  344. <tr>
  345. <td class="memname">uint32_t fat32_boot::hidddenSectors</td>
  346. </tr>
  347. </table>
  348. </div><div class="memdoc">
  349. <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>
  350. </div>
  351. </div>
  352. <a class="anchor" id="a2d93fc193a64ecffbd71ead207fe4810"></a>
  353. <div class="memitem">
  354. <div class="memproto">
  355. <table class="memname">
  356. <tr>
  357. <td class="memname">uint8_t fat32_boot::jump[3]</td>
  358. </tr>
  359. </table>
  360. </div><div class="memdoc">
  361. <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>
  362. </div>
  363. </div>
  364. <a class="anchor" id="a3b1ab5d2dc872c0d80cd4f34622de417"></a>
  365. <div class="memitem">
  366. <div class="memproto">
  367. <table class="memname">
  368. <tr>
  369. <td class="memname">uint8_t fat32_boot::mediaType</td>
  370. </tr>
  371. </table>
  372. </div><div class="memdoc">
  373. <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>
  374. </div>
  375. </div>
  376. <a class="anchor" id="af623a473a960ea20904dce0edfb6bb9d"></a>
  377. <div class="memitem">
  378. <div class="memproto">
  379. <table class="memname">
  380. <tr>
  381. <td class="memname">char fat32_boot::oemId[8]</td>
  382. </tr>
  383. </table>
  384. </div><div class="memdoc">
  385. <p>This is typically a string of characters that identifies the operating system that formatted the volume. </p>
  386. </div>
  387. </div>
  388. <a class="anchor" id="a7075c3c00aae071110fd1acb2e6fd599"></a>
  389. <div class="memitem">
  390. <div class="memproto">
  391. <table class="memname">
  392. <tr>
  393. <td class="memname">uint8_t fat32_boot::reserved1</td>
  394. </tr>
  395. </table>
  396. </div><div class="memdoc">
  397. <p>used by Windows NT - should be zero for FAT </p>
  398. </div>
  399. </div>
  400. <a class="anchor" id="a8e490f05ad3552dfbdf8f9332d287ba0"></a>
  401. <div class="memitem">
  402. <div class="memproto">
  403. <table class="memname">
  404. <tr>
  405. <td class="memname">uint16_t fat32_boot::reservedSectorCount</td>
  406. </tr>
  407. </table>
  408. </div><div class="memdoc">
  409. <p>The number of sectors preceding the start of the first FAT, including the boot sector. Must not be zero </p>
  410. </div>
  411. </div>
  412. <a class="anchor" id="a94185496fb56c6e0e8078fc3803e9142"></a>
  413. <div class="memitem">
  414. <div class="memproto">
  415. <table class="memname">
  416. <tr>
  417. <td class="memname">uint16_t fat32_boot::rootDirEntryCount</td>
  418. </tr>
  419. </table>
  420. </div><div class="memdoc">
  421. <p>FAT12/FAT16 only. For FAT32 volumes, this field must be set to 0. </p>
  422. </div>
  423. </div>
  424. <a class="anchor" id="a63ded2780732f166f7b7d36bc6aed702"></a>
  425. <div class="memitem">
  426. <div class="memproto">
  427. <table class="memname">
  428. <tr>
  429. <td class="memname">uint8_t fat32_boot::sectorsPerCluster</td>
  430. </tr>
  431. </table>
  432. </div><div class="memdoc">
  433. <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>
  434. </div>
  435. </div>
  436. <a class="anchor" id="aeaa78272cd42b162ea448e1642f75cab"></a>
  437. <div class="memitem">
  438. <div class="memproto">
  439. <table class="memname">
  440. <tr>
  441. <td class="memname">uint16_t fat32_boot::sectorsPerFat16</td>
  442. </tr>
  443. </table>
  444. </div><div class="memdoc">
  445. <p>On FAT32 volumes this field must be 0, and sectorsPerFat32 contains the FAT size count. </p>
  446. </div>
  447. </div>
  448. <a class="anchor" id="aa00db084ff2f7e25febef321469adeb9"></a>
  449. <div class="memitem">
  450. <div class="memproto">
  451. <table class="memname">
  452. <tr>
  453. <td class="memname">uint32_t fat32_boot::sectorsPerFat32</td>
  454. </tr>
  455. </table>
  456. </div><div class="memdoc">
  457. <p>Count of sectors occupied by one FAT on FAT32 volumes. </p>
  458. </div>
  459. </div>
  460. <a class="anchor" id="a9525b2e63f84a5cf62ea20199cedf5de"></a>
  461. <div class="memitem">
  462. <div class="memproto">
  463. <table class="memname">
  464. <tr>
  465. <td class="memname">uint16_t fat32_boot::sectorsPerTrack</td>
  466. </tr>
  467. </table>
  468. </div><div class="memdoc">
  469. <p>Sectors per track for interrupt 0x13. Not used otherwise. </p>
  470. </div>
  471. </div>
  472. <a class="anchor" id="acbcae2f15475a886f674f932da1deb3f"></a>
  473. <div class="memitem">
  474. <div class="memproto">
  475. <table class="memname">
  476. <tr>
  477. <td class="memname">uint16_t fat32_boot::totalSectors16</td>
  478. </tr>
  479. </table>
  480. </div><div class="memdoc">
  481. <p>For FAT32 volumes, this field must be 0. </p>
  482. </div>
  483. </div>
  484. <a class="anchor" id="ab79466016103c2762c6b057dd458d434"></a>
  485. <div class="memitem">
  486. <div class="memproto">
  487. <table class="memname">
  488. <tr>
  489. <td class="memname">uint32_t fat32_boot::totalSectors32</td>
  490. </tr>
  491. </table>
  492. </div><div class="memdoc">
  493. <p>Contains the total number of sectors in the FAT32 volume. </p>
  494. </div>
  495. </div>
  496. <a class="anchor" id="a8e6349f46344145a7320637a58107b3b"></a>
  497. <div class="memitem">
  498. <div class="memproto">
  499. <table class="memname">
  500. <tr>
  501. <td class="memname">char fat32_boot::volumeLabel[11]</td>
  502. </tr>
  503. </table>
  504. </div><div class="memdoc">
  505. <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>
  506. </div>
  507. </div>
  508. <a class="anchor" id="a20768678da224faefd8acf12cabdbfb8"></a>
  509. <div class="memitem">
  510. <div class="memproto">
  511. <table class="memname">
  512. <tr>
  513. <td class="memname">uint32_t fat32_boot::volumeSerialNumber</td>
  514. </tr>
  515. </table>
  516. </div><div class="memdoc">
  517. <p>A random serial number created when formatting a disk, which helps to distinguish between disks. Usually generated by combining date and time. </p>
  518. </div>
  519. </div>
  520. <hr/>The documentation for this struct was generated from the following file:<ul>
  521. <li>Arduino/libraries/SdFat/src/FatLib/<a class="el" href="_fat_structs_8h.html">FatStructs.h</a></li>
  522. </ul>
  523. </div><!-- contents -->
  524. <!-- start footer part -->
  525. <hr class="footer"/><address class="footer"><small>
  526. Generated on Fri Feb 12 2016 13:43:49 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  527. <img class="footer" src="doxygen.png" alt="doxygen"/>
  528. </a> 1.8.10
  529. </small></address>
  530. </body>
  531. </html>