Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

_fat_partition_8h.html 11KB

5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
5 anos atrás
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.16"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>SdFat: ArduinoSdFat/libraries/SdFat/src/FatLib/FatPartition.h File Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectalign" style="padding-left: 0.5em;">
  24. <div id="projectname">SdFat
  25. </div>
  26. </td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. </div>
  31. <!-- end header part -->
  32. <!-- Generated by Doxygen 1.8.16 -->
  33. <script type="text/javascript">
  34. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  35. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  36. /* @license-end */
  37. </script>
  38. <script type="text/javascript" src="menudata.js"></script>
  39. <script type="text/javascript" src="menu.js"></script>
  40. <script type="text/javascript">
  41. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  42. $(function() {
  43. initMenu('',true,false,'search.php','Search');
  44. $(document).ready(function() { init_search(); });
  45. });
  46. /* @license-end */</script>
  47. <div id="main-nav"></div>
  48. <!-- window showing the filter options -->
  49. <div id="MSearchSelectWindow"
  50. onmouseover="return searchBox.OnSearchSelectShow()"
  51. onmouseout="return searchBox.OnSearchSelectHide()"
  52. onkeydown="return searchBox.OnSearchSelectKey(event)">
  53. </div>
  54. <!-- iframe showing the search results (closed by default) -->
  55. <div id="MSearchResultsWindow">
  56. <iframe src="javascript:void(0)" frameborder="0"
  57. name="MSearchResults" id="MSearchResults">
  58. </iframe>
  59. </div>
  60. <div id="nav-path" class="navpath">
  61. <ul>
  62. <li class="navelem"><a class="el" href="dir_bd3b508a448b79faa7486a2af0c5c4a2.html">ArduinoSdFat</a></li><li class="navelem"><a class="el" href="dir_d7cdc5eb6907b67ec8d6facf0ac28083.html">libraries</a></li><li class="navelem"><a class="el" href="dir_30f4e013e11264f0426cd7e4f10b230b.html">SdFat</a></li><li class="navelem"><a class="el" href="dir_ffa9b8a1695a52c2b9469cb7873a40f4.html">src</a></li><li class="navelem"><a class="el" href="dir_2188e1a9250c033eb94b64153d1f9778.html">FatLib</a></li> </ul>
  63. </div>
  64. </div><!-- top -->
  65. <div class="header">
  66. <div class="summary">
  67. <a href="#nested-classes">Classes</a> &#124;
  68. <a href="#var-members">Variables</a> </div>
  69. <div class="headertitle">
  70. <div class="title">FatPartition.h File Reference</div> </div>
  71. </div><!--header-->
  72. <div class="contents">
  73. <p><a class="el" href="class_fat_partition.html" title="Access FAT16 and FAT32 partitions on raw file devices.">FatPartition</a> class.
  74. <a href="#details">More...</a></p>
  75. <div class="textblock"><code>#include &lt;stddef.h&gt;</code><br />
  76. <code>#include &quot;<a class="el" href="_fat_lib_config_8h.html">FatLibConfig.h</a>&quot;</code><br />
  77. <code>#include &quot;<a class="el" href="_sys_call_8h.html">../common/SysCall.h</a>&quot;</code><br />
  78. <code>#include &quot;../common/BlockDevice.h&quot;</code><br />
  79. <code>#include &quot;../common/FsStructs.h&quot;</code><br />
  80. </div><div class="textblock"><div class="dynheader">
  81. Include dependency graph for FatPartition.h:</div>
  82. <div class="dyncontent">
  83. <div class="center"><img src="_fat_partition_8h__incl.png" border="0" usemap="#_arduino_sd_fat_2libraries_2_sd_fat_2src_2_fat_lib_2_fat_partition_8h" alt=""/></div>
  84. <map name="_arduino_sd_fat_2libraries_2_sd_fat_2src_2_fat_lib_2_fat_partition_8h" id="_arduino_sd_fat_2libraries_2_sd_fat_2src_2_fat_lib_2_fat_partition_8h">
  85. <area shape="rect" title="FatPartition class." alt="" coords="102,5,307,47"/>
  86. <area shape="rect" title=" " alt="" coords="5,169,73,196"/>
  87. <area shape="rect" href="_fat_lib_config_8h.html" title="configuration definitions" alt="" coords="227,95,332,121"/>
  88. <area shape="rect" href="_sys_call_8h.html" title="SysCall class." alt="" coords="58,95,202,121"/>
  89. <area shape="rect" title=" " alt="" coords="356,95,512,121"/>
  90. <area shape="rect" href="_sd_fat_config_8h.html" title="configuration definitions" alt="" coords="170,169,274,196"/>
  91. <area shape="rect" title=" " alt="" coords="97,244,163,271"/>
  92. <area shape="rect" title=" " alt="" coords="187,244,265,271"/>
  93. </map>
  94. </div>
  95. </div><div class="textblock"><div class="dynheader">
  96. This graph shows which files directly or indirectly include this file:</div>
  97. <div class="dyncontent">
  98. <div class="center"><img src="_fat_partition_8h__dep__incl.png" border="0" usemap="#_arduino_sd_fat_2libraries_2_sd_fat_2src_2_fat_lib_2_fat_partition_8hdep" alt=""/></div>
  99. <map name="_arduino_sd_fat_2libraries_2_sd_fat_2src_2_fat_lib_2_fat_partition_8hdep" id="_arduino_sd_fat_2libraries_2_sd_fat_2src_2_fat_lib_2_fat_partition_8hdep">
  100. <area shape="rect" title="FatPartition class." alt="" coords="5,5,211,47"/>
  101. <area shape="rect" href="_fat_volume_8h.html" title="FatVolume class." alt="" coords="7,184,209,225"/>
  102. <area shape="rect" href="_fat_file_8h.html" title="FatFile class." alt="" coords="83,95,261,136"/>
  103. </map>
  104. </div>
  105. </div><table class="memberdecls">
  106. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
  107. Classes</h2></td></tr>
  108. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">union &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unioncache__t.html">cache_t</a></td></tr>
  109. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cache for an raw data sector. <a href="unioncache__t.html#details">More...</a><br /></td></tr>
  110. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_cache.html">FatCache</a></td></tr>
  112. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sector cache. <a href="class_fat_cache.html#details">More...</a><br /></td></tr>
  113. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_partition.html">FatPartition</a></td></tr>
  115. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Access FAT16 and FAT32 partitions on raw file devices. <a href="class_fat_partition.html#details">More...</a><br /></td></tr>
  116. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. </table><table class="memberdecls">
  118. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
  119. Variables</h2></td></tr>
  120. <tr class="memitem:a2914ab2ce1d4cff984ad93b922e99d50"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_partition_8h.html#a2914ab2ce1d4cff984ad93b922e99d50">FAT_TYPE_FAT12</a> = 12</td></tr>
  121. <tr class="separator:a2914ab2ce1d4cff984ad93b922e99d50"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:a586e7b4151f14bd56b78a836855c0f55"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_partition_8h.html#a586e7b4151f14bd56b78a836855c0f55">FAT_TYPE_FAT16</a> = 16</td></tr>
  123. <tr class="separator:a586e7b4151f14bd56b78a836855c0f55"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:a63da6e74b3bce481580263cebb591d5e"><td class="memItemLeft" align="right" valign="top">const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fat_partition_8h.html#a63da6e74b3bce481580263cebb591d5e">FAT_TYPE_FAT32</a> = 32</td></tr>
  125. <tr class="separator:a63da6e74b3bce481580263cebb591d5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. </table>
  127. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  128. <div class="textblock"><p><a class="el" href="class_fat_partition.html" title="Access FAT16 and FAT32 partitions on raw file devices.">FatPartition</a> class. </p>
  129. <p>Copyright (c) 2011-2019 Bill Greiman This file is part of the SdFat library for SD memory cards.</p>
  130. <p>MIT License</p>
  131. <p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
  132. <p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
  133. <p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. </p>
  134. </div><h2 class="groupheader">Variable Documentation</h2>
  135. <a id="a2914ab2ce1d4cff984ad93b922e99d50"></a>
  136. <h2 class="memtitle"><span class="permalink"><a href="#a2914ab2ce1d4cff984ad93b922e99d50">&#9670;&nbsp;</a></span>FAT_TYPE_FAT12</h2>
  137. <div class="memitem">
  138. <div class="memproto">
  139. <table class="memname">
  140. <tr>
  141. <td class="memname">const uint8_t FAT_TYPE_FAT12 = 12</td>
  142. </tr>
  143. </table>
  144. </div><div class="memdoc">
  145. <p>Type for FAT12 partition </p>
  146. </div>
  147. </div>
  148. <a id="a586e7b4151f14bd56b78a836855c0f55"></a>
  149. <h2 class="memtitle"><span class="permalink"><a href="#a586e7b4151f14bd56b78a836855c0f55">&#9670;&nbsp;</a></span>FAT_TYPE_FAT16</h2>
  150. <div class="memitem">
  151. <div class="memproto">
  152. <table class="memname">
  153. <tr>
  154. <td class="memname">const uint8_t FAT_TYPE_FAT16 = 16</td>
  155. </tr>
  156. </table>
  157. </div><div class="memdoc">
  158. <p>Type for FAT12 partition </p>
  159. </div>
  160. </div>
  161. <a id="a63da6e74b3bce481580263cebb591d5e"></a>
  162. <h2 class="memtitle"><span class="permalink"><a href="#a63da6e74b3bce481580263cebb591d5e">&#9670;&nbsp;</a></span>FAT_TYPE_FAT32</h2>
  163. <div class="memitem">
  164. <div class="memproto">
  165. <table class="memname">
  166. <tr>
  167. <td class="memname">const uint8_t FAT_TYPE_FAT32 = 32</td>
  168. </tr>
  169. </table>
  170. </div><div class="memdoc">
  171. <p>Type for FAT12 partition </p>
  172. </div>
  173. </div>
  174. </div><!-- contents -->
  175. <!-- start footer part -->
  176. <hr class="footer"/><address class="footer"><small>
  177. Generated on Fri Dec 6 2019 09:45:12 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  178. <img class="footer" src="doxygen.png" alt="doxygen"/>
  179. </a> 1.8.16
  180. </small></address>
  181. </body>
  182. </html>