Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

460 lines
23KB

  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: fat_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="structfat__boot-members.html">List of all members</a> </div>
  85. <div class="headertitle">
  86. <div class="title">fat_boot Struct Reference</div> </div>
  87. </div><!--header-->
  88. <div class="contents">
  89. <p>Boot sector for a FAT12/FAT16 volume.
  90. <a href="structfat__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:acf9f5d9f61a6e680e11849f957ecf782"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#acf9f5d9f61a6e680e11849f957ecf782">bootCode</a> [448]</td></tr>
  96. <tr class="separator:acf9f5d9f61a6e680e11849f957ecf782"><td class="memSeparator" colspan="2">&#160;</td></tr>
  97. <tr class="memitem:a7951b888af4f357b84dd40af2ef7f29d"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#a7951b888af4f357b84dd40af2ef7f29d">bootSectorSig0</a></td></tr>
  98. <tr class="separator:a7951b888af4f357b84dd40af2ef7f29d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. <tr class="memitem:afe8f58668ff594bb2022ce7c06b7726c"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#afe8f58668ff594bb2022ce7c06b7726c">bootSectorSig1</a></td></tr>
  100. <tr class="separator:afe8f58668ff594bb2022ce7c06b7726c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  101. <tr class="memitem:a712dc388c530e91e4a692e7102d6bdc8"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#a712dc388c530e91e4a692e7102d6bdc8">bootSignature</a></td></tr>
  102. <tr class="separator:a712dc388c530e91e4a692e7102d6bdc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. <tr class="memitem:a60b2461f8ebf0ad295a95094e1bd7d65"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#a60b2461f8ebf0ad295a95094e1bd7d65">bytesPerSector</a></td></tr>
  104. <tr class="separator:a60b2461f8ebf0ad295a95094e1bd7d65"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:aebd280b93563b75b9612d3db844b0d16"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#aebd280b93563b75b9612d3db844b0d16">driveNumber</a></td></tr>
  106. <tr class="separator:aebd280b93563b75b9612d3db844b0d16"><td class="memSeparator" colspan="2">&#160;</td></tr>
  107. <tr class="memitem:a04d3b6a45acf28a80ff909dc1b33da2f"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#a04d3b6a45acf28a80ff909dc1b33da2f">fatCount</a></td></tr>
  108. <tr class="separator:a04d3b6a45acf28a80ff909dc1b33da2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:aee529e32908406866f3ec3c17c4632fa"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#aee529e32908406866f3ec3c17c4632fa">fileSystemType</a> [8]</td></tr>
  110. <tr class="separator:aee529e32908406866f3ec3c17c4632fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:ae31da876cd9f48de5268a129218df2c2"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#ae31da876cd9f48de5268a129218df2c2">headCount</a></td></tr>
  112. <tr class="separator:ae31da876cd9f48de5268a129218df2c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:a18f1b4c245fe7bd09f5a9430c005e23a"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#a18f1b4c245fe7bd09f5a9430c005e23a">hidddenSectors</a></td></tr>
  114. <tr class="separator:a18f1b4c245fe7bd09f5a9430c005e23a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:a83f9f2d1d0130f25f34c90dfc82e3751"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#a83f9f2d1d0130f25f34c90dfc82e3751">jump</a> [3]</td></tr>
  116. <tr class="separator:a83f9f2d1d0130f25f34c90dfc82e3751"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:a63eaf7185663369af2527309634d3c90"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#a63eaf7185663369af2527309634d3c90">mediaType</a></td></tr>
  118. <tr class="separator:a63eaf7185663369af2527309634d3c90"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:adc034212201e879fea1eb44db43e55a5"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#adc034212201e879fea1eb44db43e55a5">oemId</a> [8]</td></tr>
  120. <tr class="separator:adc034212201e879fea1eb44db43e55a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:affa7e6efb3ccea19ba7ea0ddadce7463"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#affa7e6efb3ccea19ba7ea0ddadce7463">reserved1</a></td></tr>
  122. <tr class="separator:affa7e6efb3ccea19ba7ea0ddadce7463"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:a13f272a8f780fb43a400f873a3fd7b73"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#a13f272a8f780fb43a400f873a3fd7b73">reservedSectorCount</a></td></tr>
  124. <tr class="separator:a13f272a8f780fb43a400f873a3fd7b73"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:a2124f89e12307df944f08e6657dbf4af"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#a2124f89e12307df944f08e6657dbf4af">rootDirEntryCount</a></td></tr>
  126. <tr class="separator:a2124f89e12307df944f08e6657dbf4af"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. <tr class="memitem:ab3063726125b16a2ccad719548d79abd"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#ab3063726125b16a2ccad719548d79abd">sectorsPerCluster</a></td></tr>
  128. <tr class="separator:ab3063726125b16a2ccad719548d79abd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:a0d5ab13399759acfa571e49b85600db1"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#a0d5ab13399759acfa571e49b85600db1">sectorsPerFat16</a></td></tr>
  130. <tr class="separator:a0d5ab13399759acfa571e49b85600db1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. <tr class="memitem:a6d5ceaf374e0607be8b8162bf657f282"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#a6d5ceaf374e0607be8b8162bf657f282">sectorsPerTrack</a></td></tr>
  132. <tr class="separator:a6d5ceaf374e0607be8b8162bf657f282"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. <tr class="memitem:ac8bd40dd9186882e423e10b0c83e89b7"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#ac8bd40dd9186882e423e10b0c83e89b7">totalSectors16</a></td></tr>
  134. <tr class="separator:ac8bd40dd9186882e423e10b0c83e89b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <tr class="memitem:addeb2dd8f78418edbf544303d44133e2"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#addeb2dd8f78418edbf544303d44133e2">totalSectors32</a></td></tr>
  136. <tr class="separator:addeb2dd8f78418edbf544303d44133e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. <tr class="memitem:a9ee733f1b1abc0210ec8f9676bba2218"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#a9ee733f1b1abc0210ec8f9676bba2218">volumeLabel</a> [11]</td></tr>
  138. <tr class="separator:a9ee733f1b1abc0210ec8f9676bba2218"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. <tr class="memitem:ac05e88a0d27f0340ba008834361d2b20"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structfat__boot.html#ac05e88a0d27f0340ba008834361d2b20">volumeSerialNumber</a></td></tr>
  140. <tr class="separator:ac05e88a0d27f0340ba008834361d2b20"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. </table>
  142. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  143. <div class="textblock"><p>Boot sector for a FAT12/FAT16 volume. </p>
  144. </div><h2 class="groupheader">Member Data Documentation</h2>
  145. <a class="anchor" id="acf9f5d9f61a6e680e11849f957ecf782"></a>
  146. <div class="memitem">
  147. <div class="memproto">
  148. <table class="memname">
  149. <tr>
  150. <td class="memname">uint8_t fat_boot::bootCode[448]</td>
  151. </tr>
  152. </table>
  153. </div><div class="memdoc">
  154. <p>X86 boot code </p>
  155. </div>
  156. </div>
  157. <a class="anchor" id="a7951b888af4f357b84dd40af2ef7f29d"></a>
  158. <div class="memitem">
  159. <div class="memproto">
  160. <table class="memname">
  161. <tr>
  162. <td class="memname">uint8_t fat_boot::bootSectorSig0</td>
  163. </tr>
  164. </table>
  165. </div><div class="memdoc">
  166. <p>must be 0X55 </p>
  167. </div>
  168. </div>
  169. <a class="anchor" id="afe8f58668ff594bb2022ce7c06b7726c"></a>
  170. <div class="memitem">
  171. <div class="memproto">
  172. <table class="memname">
  173. <tr>
  174. <td class="memname">uint8_t fat_boot::bootSectorSig1</td>
  175. </tr>
  176. </table>
  177. </div><div class="memdoc">
  178. <p>must be 0XAA </p>
  179. </div>
  180. </div>
  181. <a class="anchor" id="a712dc388c530e91e4a692e7102d6bdc8"></a>
  182. <div class="memitem">
  183. <div class="memproto">
  184. <table class="memname">
  185. <tr>
  186. <td class="memname">uint8_t fat_boot::bootSignature</td>
  187. </tr>
  188. </table>
  189. </div><div class="memdoc">
  190. <p>0X29 if next three fields are valid </p>
  191. </div>
  192. </div>
  193. <a class="anchor" id="a60b2461f8ebf0ad295a95094e1bd7d65"></a>
  194. <div class="memitem">
  195. <div class="memproto">
  196. <table class="memname">
  197. <tr>
  198. <td class="memname">uint16_t fat_boot::bytesPerSector</td>
  199. </tr>
  200. </table>
  201. </div><div class="memdoc">
  202. <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>
  203. </div>
  204. </div>
  205. <a class="anchor" id="aebd280b93563b75b9612d3db844b0d16"></a>
  206. <div class="memitem">
  207. <div class="memproto">
  208. <table class="memname">
  209. <tr>
  210. <td class="memname">uint8_t fat_boot::driveNumber</td>
  211. </tr>
  212. </table>
  213. </div><div class="memdoc">
  214. <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>
  215. </div>
  216. </div>
  217. <a class="anchor" id="a04d3b6a45acf28a80ff909dc1b33da2f"></a>
  218. <div class="memitem">
  219. <div class="memproto">
  220. <table class="memname">
  221. <tr>
  222. <td class="memname">uint8_t fat_boot::fatCount</td>
  223. </tr>
  224. </table>
  225. </div><div class="memdoc">
  226. <p>The number of copies of the FAT on the volume. The value of this field is always 2. </p>
  227. </div>
  228. </div>
  229. <a class="anchor" id="aee529e32908406866f3ec3c17c4632fa"></a>
  230. <div class="memitem">
  231. <div class="memproto">
  232. <table class="memname">
  233. <tr>
  234. <td class="memname">char fat_boot::fileSystemType[8]</td>
  235. </tr>
  236. </table>
  237. </div><div class="memdoc">
  238. <p>A field with a value of either FAT, FAT12 or FAT16, depending on the disk format. </p>
  239. </div>
  240. </div>
  241. <a class="anchor" id="ae31da876cd9f48de5268a129218df2c2"></a>
  242. <div class="memitem">
  243. <div class="memproto">
  244. <table class="memname">
  245. <tr>
  246. <td class="memname">uint16_t fat_boot::headCount</td>
  247. </tr>
  248. </table>
  249. </div><div class="memdoc">
  250. <p>Number of heads for interrupt 0x13. Not used otherwise. </p>
  251. </div>
  252. </div>
  253. <a class="anchor" id="a18f1b4c245fe7bd09f5a9430c005e23a"></a>
  254. <div class="memitem">
  255. <div class="memproto">
  256. <table class="memname">
  257. <tr>
  258. <td class="memname">uint32_t fat_boot::hidddenSectors</td>
  259. </tr>
  260. </table>
  261. </div><div class="memdoc">
  262. <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>
  263. </div>
  264. </div>
  265. <a class="anchor" id="a83f9f2d1d0130f25f34c90dfc82e3751"></a>
  266. <div class="memitem">
  267. <div class="memproto">
  268. <table class="memname">
  269. <tr>
  270. <td class="memname">uint8_t fat_boot::jump[3]</td>
  271. </tr>
  272. </table>
  273. </div><div class="memdoc">
  274. <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>
  275. </div>
  276. </div>
  277. <a class="anchor" id="a63eaf7185663369af2527309634d3c90"></a>
  278. <div class="memitem">
  279. <div class="memproto">
  280. <table class="memname">
  281. <tr>
  282. <td class="memname">uint8_t fat_boot::mediaType</td>
  283. </tr>
  284. </table>
  285. </div><div class="memdoc">
  286. <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>
  287. </div>
  288. </div>
  289. <a class="anchor" id="adc034212201e879fea1eb44db43e55a5"></a>
  290. <div class="memitem">
  291. <div class="memproto">
  292. <table class="memname">
  293. <tr>
  294. <td class="memname">char fat_boot::oemId[8]</td>
  295. </tr>
  296. </table>
  297. </div><div class="memdoc">
  298. <p>This is typically a string of characters that identifies the operating system that formatted the volume. </p>
  299. </div>
  300. </div>
  301. <a class="anchor" id="affa7e6efb3ccea19ba7ea0ddadce7463"></a>
  302. <div class="memitem">
  303. <div class="memproto">
  304. <table class="memname">
  305. <tr>
  306. <td class="memname">uint8_t fat_boot::reserved1</td>
  307. </tr>
  308. </table>
  309. </div><div class="memdoc">
  310. <p>used by Windows NT - should be zero for FAT </p>
  311. </div>
  312. </div>
  313. <a class="anchor" id="a13f272a8f780fb43a400f873a3fd7b73"></a>
  314. <div class="memitem">
  315. <div class="memproto">
  316. <table class="memname">
  317. <tr>
  318. <td class="memname">uint16_t fat_boot::reservedSectorCount</td>
  319. </tr>
  320. </table>
  321. </div><div class="memdoc">
  322. <p>The number of sectors preceding the start of the first FAT, including the boot sector. The value of this field is always 1. </p>
  323. </div>
  324. </div>
  325. <a class="anchor" id="a2124f89e12307df944f08e6657dbf4af"></a>
  326. <div class="memitem">
  327. <div class="memproto">
  328. <table class="memname">
  329. <tr>
  330. <td class="memname">uint16_t fat_boot::rootDirEntryCount</td>
  331. </tr>
  332. </table>
  333. </div><div class="memdoc">
  334. <p>For FAT12 and FAT16 volumes, this field contains the count of 32-byte directory entries in the root directory. For FAT32 volumes, this field must be set to 0. For FAT12 and FAT16 volumes, this value should always specify a count that when multiplied by 32 results in a multiple of bytesPerSector. FAT16 volumes should use the value 512. </p>
  335. </div>
  336. </div>
  337. <a class="anchor" id="ab3063726125b16a2ccad719548d79abd"></a>
  338. <div class="memitem">
  339. <div class="memproto">
  340. <table class="memname">
  341. <tr>
  342. <td class="memname">uint8_t fat_boot::sectorsPerCluster</td>
  343. </tr>
  344. </table>
  345. </div><div class="memdoc">
  346. <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>
  347. </div>
  348. </div>
  349. <a class="anchor" id="a0d5ab13399759acfa571e49b85600db1"></a>
  350. <div class="memitem">
  351. <div class="memproto">
  352. <table class="memname">
  353. <tr>
  354. <td class="memname">uint16_t fat_boot::sectorsPerFat16</td>
  355. </tr>
  356. </table>
  357. </div><div class="memdoc">
  358. <p>Count of sectors occupied by one FAT on FAT12/FAT16 volumes. On FAT32 volumes this field must be 0, and sectorsPerFat32 contains the FAT size count. </p>
  359. </div>
  360. </div>
  361. <a class="anchor" id="a6d5ceaf374e0607be8b8162bf657f282"></a>
  362. <div class="memitem">
  363. <div class="memproto">
  364. <table class="memname">
  365. <tr>
  366. <td class="memname">uint16_t fat_boot::sectorsPerTrack</td>
  367. </tr>
  368. </table>
  369. </div><div class="memdoc">
  370. <p>Sectors per track for interrupt 0x13. Not used otherwise. </p>
  371. </div>
  372. </div>
  373. <a class="anchor" id="ac8bd40dd9186882e423e10b0c83e89b7"></a>
  374. <div class="memitem">
  375. <div class="memproto">
  376. <table class="memname">
  377. <tr>
  378. <td class="memname">uint16_t fat_boot::totalSectors16</td>
  379. </tr>
  380. </table>
  381. </div><div class="memdoc">
  382. <p>This field is the old 16-bit total count of sectors on the volume. This count includes the count of all sectors in all four regions of the volume. This field can be 0; if it is 0, then totalSectors32 must be non-zero. For FAT32 volumes, this field must be 0. For FAT12 and FAT16 volumes, this field contains the sector count, and totalSectors32 is 0 if the total sector count fits (is less than 0x10000). </p>
  383. </div>
  384. </div>
  385. <a class="anchor" id="addeb2dd8f78418edbf544303d44133e2"></a>
  386. <div class="memitem">
  387. <div class="memproto">
  388. <table class="memname">
  389. <tr>
  390. <td class="memname">uint32_t fat_boot::totalSectors32</td>
  391. </tr>
  392. </table>
  393. </div><div class="memdoc">
  394. <p>This field is the new 32-bit total count of sectors on the volume. This count includes the count of all sectors in all four regions of the volume. This field can be 0; if it is 0, then totalSectors16 must be non-zero. </p>
  395. </div>
  396. </div>
  397. <a class="anchor" id="a9ee733f1b1abc0210ec8f9676bba2218"></a>
  398. <div class="memitem">
  399. <div class="memproto">
  400. <table class="memname">
  401. <tr>
  402. <td class="memname">char fat_boot::volumeLabel[11]</td>
  403. </tr>
  404. </table>
  405. </div><div class="memdoc">
  406. <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>
  407. </div>
  408. </div>
  409. <a class="anchor" id="ac05e88a0d27f0340ba008834361d2b20"></a>
  410. <div class="memitem">
  411. <div class="memproto">
  412. <table class="memname">
  413. <tr>
  414. <td class="memname">uint32_t fat_boot::volumeSerialNumber</td>
  415. </tr>
  416. </table>
  417. </div><div class="memdoc">
  418. <p>A random serial number created when formatting a disk, which helps to distinguish between disks. Usually generated by combining date and time. </p>
  419. </div>
  420. </div>
  421. <hr/>The documentation for this struct was generated from the following file:<ul>
  422. <li>Arduino/libraries/SdFat/src/FatLib/<a class="el" href="_fat_structs_8h.html">FatStructs.h</a></li>
  423. </ul>
  424. </div><!-- contents -->
  425. <!-- start footer part -->
  426. <hr class="footer"/><address class="footer"><small>
  427. Generated on Fri Aug 19 2016 08:28:00 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  428. <img class="footer" src="doxygen.png" alt="doxygen"/>
  429. </a> 1.8.10
  430. </small></address>
  431. </body>
  432. </html>