You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

503 lines
21KB

  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: FsCache Class 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><!-- top -->
  61. <div class="header">
  62. <div class="summary">
  63. <a href="#pub-methods">Public Member Functions</a> &#124;
  64. <a href="#pub-static-attribs">Static Public Attributes</a> &#124;
  65. <a href="class_fs_cache-members.html">List of all members</a> </div>
  66. <div class="headertitle">
  67. <div class="title">FsCache Class Reference</div> </div>
  68. </div><!--header-->
  69. <div class="contents">
  70. <p>Sector cache.
  71. <a href="class_fs_cache.html#details">More...</a></p>
  72. <p><code>#include &lt;ExFatPartition.h&gt;</code></p>
  73. <table class="memberdecls">
  74. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  75. Public Member Functions</h2></td></tr>
  76. <tr class="memitem:a1533fdfef219ae4f3d6fb9299f51a1ee"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fs_cache.html#a1533fdfef219ae4f3d6fb9299f51a1ee">cacheBuffer</a> ()</td></tr>
  77. <tr class="separator:a1533fdfef219ae4f3d6fb9299f51a1ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
  78. <tr class="memitem:a734ac2e9931f141c9ba9a3ef021a8691"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fs_cache.html#a734ac2e9931f141c9ba9a3ef021a8691">clear</a> ()</td></tr>
  79. <tr class="separator:a734ac2e9931f141c9ba9a3ef021a8691"><td class="memSeparator" colspan="2">&#160;</td></tr>
  80. <tr class="memitem:af50f564561a2db190280769d4641147b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fs_cache.html#af50f564561a2db190280769d4641147b">dirty</a> ()</td></tr>
  81. <tr class="separator:af50f564561a2db190280769d4641147b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  82. <tr class="memitem:a2483025514ecc0f69cabffcbeb052678"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fs_cache.html#a2483025514ecc0f69cabffcbeb052678">get</a> (uint32_t <a class="el" href="class_fs_cache.html#a5b90e145400de8687d9f34536b134130">sector</a>, uint8_t option)</td></tr>
  83. <tr class="separator:a2483025514ecc0f69cabffcbeb052678"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. <tr class="memitem:a2e56c9443880e3db0b68cc50217e8abe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fs_cache.html#a2e56c9443880e3db0b68cc50217e8abe">init</a> (<a class="el" href="class_sd_spi_card.html">BlockDevice</a> *blockDev)</td></tr>
  85. <tr class="separator:a2e56c9443880e3db0b68cc50217e8abe"><td class="memSeparator" colspan="2">&#160;</td></tr>
  86. <tr class="memitem:a963ea866ca2a9c4f63afd57cf287733d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fs_cache.html#a963ea866ca2a9c4f63afd57cf287733d">invalidate</a> ()</td></tr>
  87. <tr class="separator:a963ea866ca2a9c4f63afd57cf287733d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  88. <tr class="memitem:a22f4284aefd18f569d962d37f4a5db70"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fs_cache.html#a22f4284aefd18f569d962d37f4a5db70">isDirty</a> ()</td></tr>
  89. <tr class="separator:a22f4284aefd18f569d962d37f4a5db70"><td class="memSeparator" colspan="2">&#160;</td></tr>
  90. <tr class="memitem:a5b90e145400de8687d9f34536b134130"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fs_cache.html#a5b90e145400de8687d9f34536b134130">sector</a> ()</td></tr>
  91. <tr class="separator:a5b90e145400de8687d9f34536b134130"><td class="memSeparator" colspan="2">&#160;</td></tr>
  92. <tr class="memitem:a5a2c8fb432d7b7590ebb43200ca21893"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fs_cache.html#a5a2c8fb432d7b7590ebb43200ca21893">sync</a> ()</td></tr>
  93. <tr class="separator:a5a2c8fb432d7b7590ebb43200ca21893"><td class="memSeparator" colspan="2">&#160;</td></tr>
  94. </table><table class="memberdecls">
  95. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
  96. Static Public Attributes</h2></td></tr>
  97. <tr class="memitem:a1df1d63f86fcf36e1ae08a48a05ead8b"><td class="memItemLeft" align="right" valign="top">static const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fs_cache.html#a1df1d63f86fcf36e1ae08a48a05ead8b">CACHE_FOR_READ</a> = 0</td></tr>
  98. <tr class="separator:a1df1d63f86fcf36e1ae08a48a05ead8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. <tr class="memitem:ade321e6538ffc77c7f36ea200decaa6f"><td class="memItemLeft" align="right" valign="top">static const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fs_cache.html#ade321e6538ffc77c7f36ea200decaa6f">CACHE_FOR_WRITE</a> = <a class="el" href="class_fs_cache.html#a9d83a0401f452c0572c4c4f869b698ab">CACHE_STATUS_DIRTY</a></td></tr>
  100. <tr class="separator:ade321e6538ffc77c7f36ea200decaa6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  101. <tr class="memitem:ab694436995afb87d6e31693b47811243"><td class="memItemLeft" align="right" valign="top">static const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fs_cache.html#ab694436995afb87d6e31693b47811243">CACHE_OPTION_NO_READ</a> = 2</td></tr>
  102. <tr class="separator:ab694436995afb87d6e31693b47811243"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. <tr class="memitem:ae960459db6fda0de3d67768d3b59331d"><td class="memItemLeft" align="right" valign="top">static const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fs_cache.html#ae960459db6fda0de3d67768d3b59331d">CACHE_RESERVE_FOR_WRITE</a> = <a class="el" href="class_fs_cache.html#a9d83a0401f452c0572c4c4f869b698ab">CACHE_STATUS_DIRTY</a> | <a class="el" href="class_fs_cache.html#ab694436995afb87d6e31693b47811243">CACHE_OPTION_NO_READ</a></td></tr>
  104. <tr class="separator:ae960459db6fda0de3d67768d3b59331d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:a9d83a0401f452c0572c4c4f869b698ab"><td class="memItemLeft" align="right" valign="top">static const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fs_cache.html#a9d83a0401f452c0572c4c4f869b698ab">CACHE_STATUS_DIRTY</a> = 1</td></tr>
  106. <tr class="separator:a9d83a0401f452c0572c4c4f869b698ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
  107. <tr class="memitem:abb6b6426373bb591f027ac29eca4bacb"><td class="memItemLeft" align="right" valign="top">static const uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fs_cache.html#abb6b6426373bb591f027ac29eca4bacb">CACHE_STATUS_MASK</a> = <a class="el" href="class_fs_cache.html#a9d83a0401f452c0572c4c4f869b698ab">CACHE_STATUS_DIRTY</a></td></tr>
  108. <tr class="separator:abb6b6426373bb591f027ac29eca4bacb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. </table>
  110. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  111. <div class="textblock"><p>Sector cache. </p>
  112. </div><h2 class="groupheader">Member Function Documentation</h2>
  113. <a id="a1533fdfef219ae4f3d6fb9299f51a1ee"></a>
  114. <h2 class="memtitle"><span class="permalink"><a href="#a1533fdfef219ae4f3d6fb9299f51a1ee">&#9670;&nbsp;</a></span>cacheBuffer()</h2>
  115. <div class="memitem">
  116. <div class="memproto">
  117. <table class="mlabels">
  118. <tr>
  119. <td class="mlabels-left">
  120. <table class="memname">
  121. <tr>
  122. <td class="memname">uint8_t* FsCache::cacheBuffer </td>
  123. <td>(</td>
  124. <td class="paramname"></td><td>)</td>
  125. <td></td>
  126. </tr>
  127. </table>
  128. </td>
  129. <td class="mlabels-right">
  130. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  131. </tr>
  132. </table>
  133. </div><div class="memdoc">
  134. <dl class="section return"><dt>Returns</dt><dd>Cache sector address. </dd></dl>
  135. </div>
  136. </div>
  137. <a id="a734ac2e9931f141c9ba9a3ef021a8691"></a>
  138. <h2 class="memtitle"><span class="permalink"><a href="#a734ac2e9931f141c9ba9a3ef021a8691">&#9670;&nbsp;</a></span>clear()</h2>
  139. <div class="memitem">
  140. <div class="memproto">
  141. <table class="mlabels">
  142. <tr>
  143. <td class="mlabels-left">
  144. <table class="memname">
  145. <tr>
  146. <td class="memname">uint8_t* FsCache::clear </td>
  147. <td>(</td>
  148. <td class="paramname"></td><td>)</td>
  149. <td></td>
  150. </tr>
  151. </table>
  152. </td>
  153. <td class="mlabels-right">
  154. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  155. </tr>
  156. </table>
  157. </div><div class="memdoc">
  158. <dl class="section return"><dt>Returns</dt><dd>Clear the cache and returns a pointer to the cache. </dd></dl>
  159. </div>
  160. </div>
  161. <a id="af50f564561a2db190280769d4641147b"></a>
  162. <h2 class="memtitle"><span class="permalink"><a href="#af50f564561a2db190280769d4641147b">&#9670;&nbsp;</a></span>dirty()</h2>
  163. <div class="memitem">
  164. <div class="memproto">
  165. <table class="mlabels">
  166. <tr>
  167. <td class="mlabels-left">
  168. <table class="memname">
  169. <tr>
  170. <td class="memname">void FsCache::dirty </td>
  171. <td>(</td>
  172. <td class="paramname"></td><td>)</td>
  173. <td></td>
  174. </tr>
  175. </table>
  176. </td>
  177. <td class="mlabels-right">
  178. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  179. </tr>
  180. </table>
  181. </div><div class="memdoc">
  182. <p>Set current sector dirty. </p>
  183. </div>
  184. </div>
  185. <a id="a2483025514ecc0f69cabffcbeb052678"></a>
  186. <h2 class="memtitle"><span class="permalink"><a href="#a2483025514ecc0f69cabffcbeb052678">&#9670;&nbsp;</a></span>get()</h2>
  187. <div class="memitem">
  188. <div class="memproto">
  189. <table class="memname">
  190. <tr>
  191. <td class="memname">uint8_t * FsCache::get </td>
  192. <td>(</td>
  193. <td class="paramtype">uint32_t&#160;</td>
  194. <td class="paramname"><em>sector</em>, </td>
  195. </tr>
  196. <tr>
  197. <td class="paramkey"></td>
  198. <td></td>
  199. <td class="paramtype">uint8_t&#160;</td>
  200. <td class="paramname"><em>option</em>&#160;</td>
  201. </tr>
  202. <tr>
  203. <td></td>
  204. <td>)</td>
  205. <td></td><td></td>
  206. </tr>
  207. </table>
  208. </div><div class="memdoc">
  209. <p>Fill cache with sector data. </p><dl class="params"><dt>Parameters</dt><dd>
  210. <table class="params">
  211. <tr><td class="paramdir">[in]</td><td class="paramname">sector</td><td>Sector to read. </td></tr>
  212. <tr><td class="paramdir">[in]</td><td class="paramname">option</td><td>mode for cached sector. </td></tr>
  213. </table>
  214. </dd>
  215. </dl>
  216. <dl class="section return"><dt>Returns</dt><dd>Address of cached sector. </dd></dl>
  217. </div>
  218. </div>
  219. <a id="a2e56c9443880e3db0b68cc50217e8abe"></a>
  220. <h2 class="memtitle"><span class="permalink"><a href="#a2e56c9443880e3db0b68cc50217e8abe">&#9670;&nbsp;</a></span>init()</h2>
  221. <div class="memitem">
  222. <div class="memproto">
  223. <table class="mlabels">
  224. <tr>
  225. <td class="mlabels-left">
  226. <table class="memname">
  227. <tr>
  228. <td class="memname">void FsCache::init </td>
  229. <td>(</td>
  230. <td class="paramtype"><a class="el" href="class_sd_spi_card.html">BlockDevice</a> *&#160;</td>
  231. <td class="paramname"><em>blockDev</em></td><td>)</td>
  232. <td></td>
  233. </tr>
  234. </table>
  235. </td>
  236. <td class="mlabels-right">
  237. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  238. </tr>
  239. </table>
  240. </div><div class="memdoc">
  241. <p>Initialize the cache. </p><dl class="params"><dt>Parameters</dt><dd>
  242. <table class="params">
  243. <tr><td class="paramdir">[in]</td><td class="paramname">blockDev</td><td>Block device for this partition. </td></tr>
  244. </table>
  245. </dd>
  246. </dl>
  247. </div>
  248. </div>
  249. <a id="a963ea866ca2a9c4f63afd57cf287733d"></a>
  250. <h2 class="memtitle"><span class="permalink"><a href="#a963ea866ca2a9c4f63afd57cf287733d">&#9670;&nbsp;</a></span>invalidate()</h2>
  251. <div class="memitem">
  252. <div class="memproto">
  253. <table class="memname">
  254. <tr>
  255. <td class="memname">void FsCache::invalidate </td>
  256. <td>(</td>
  257. <td class="paramname"></td><td>)</td>
  258. <td></td>
  259. </tr>
  260. </table>
  261. </div><div class="memdoc">
  262. <p>Invalidate current cache sector. </p>
  263. </div>
  264. </div>
  265. <a id="a22f4284aefd18f569d962d37f4a5db70"></a>
  266. <h2 class="memtitle"><span class="permalink"><a href="#a22f4284aefd18f569d962d37f4a5db70">&#9670;&nbsp;</a></span>isDirty()</h2>
  267. <div class="memitem">
  268. <div class="memproto">
  269. <table class="mlabels">
  270. <tr>
  271. <td class="mlabels-left">
  272. <table class="memname">
  273. <tr>
  274. <td class="memname">bool FsCache::isDirty </td>
  275. <td>(</td>
  276. <td class="paramname"></td><td>)</td>
  277. <td></td>
  278. </tr>
  279. </table>
  280. </td>
  281. <td class="mlabels-right">
  282. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  283. </tr>
  284. </table>
  285. </div><div class="memdoc">
  286. <dl class="section return"><dt>Returns</dt><dd>dirty status </dd></dl>
  287. </div>
  288. </div>
  289. <a id="a5b90e145400de8687d9f34536b134130"></a>
  290. <h2 class="memtitle"><span class="permalink"><a href="#a5b90e145400de8687d9f34536b134130">&#9670;&nbsp;</a></span>sector()</h2>
  291. <div class="memitem">
  292. <div class="memproto">
  293. <table class="mlabels">
  294. <tr>
  295. <td class="mlabels-left">
  296. <table class="memname">
  297. <tr>
  298. <td class="memname">uint32_t FsCache::sector </td>
  299. <td>(</td>
  300. <td class="paramname"></td><td>)</td>
  301. <td></td>
  302. </tr>
  303. </table>
  304. </td>
  305. <td class="mlabels-right">
  306. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  307. </tr>
  308. </table>
  309. </div><div class="memdoc">
  310. <dl class="section return"><dt>Returns</dt><dd>Logical sector number for cached sector. </dd></dl>
  311. </div>
  312. </div>
  313. <a id="a5a2c8fb432d7b7590ebb43200ca21893"></a>
  314. <h2 class="memtitle"><span class="permalink"><a href="#a5a2c8fb432d7b7590ebb43200ca21893">&#9670;&nbsp;</a></span>sync()</h2>
  315. <div class="memitem">
  316. <div class="memproto">
  317. <table class="memname">
  318. <tr>
  319. <td class="memname">bool FsCache::sync </td>
  320. <td>(</td>
  321. <td class="paramname"></td><td>)</td>
  322. <td></td>
  323. </tr>
  324. </table>
  325. </div><div class="memdoc">
  326. <p>Write current sector if dirty. </p><dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  327. </div>
  328. </div>
  329. <h2 class="groupheader">Member Data Documentation</h2>
  330. <a id="a1df1d63f86fcf36e1ae08a48a05ead8b"></a>
  331. <h2 class="memtitle"><span class="permalink"><a href="#a1df1d63f86fcf36e1ae08a48a05ead8b">&#9670;&nbsp;</a></span>CACHE_FOR_READ</h2>
  332. <div class="memitem">
  333. <div class="memproto">
  334. <table class="mlabels">
  335. <tr>
  336. <td class="mlabels-left">
  337. <table class="memname">
  338. <tr>
  339. <td class="memname">const uint8_t FsCache::CACHE_FOR_READ = 0</td>
  340. </tr>
  341. </table>
  342. </td>
  343. <td class="mlabels-right">
  344. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  345. </tr>
  346. </table>
  347. </div><div class="memdoc">
  348. <p>Cache sector for read. </p>
  349. </div>
  350. </div>
  351. <a id="ade321e6538ffc77c7f36ea200decaa6f"></a>
  352. <h2 class="memtitle"><span class="permalink"><a href="#ade321e6538ffc77c7f36ea200decaa6f">&#9670;&nbsp;</a></span>CACHE_FOR_WRITE</h2>
  353. <div class="memitem">
  354. <div class="memproto">
  355. <table class="mlabels">
  356. <tr>
  357. <td class="mlabels-left">
  358. <table class="memname">
  359. <tr>
  360. <td class="memname">const uint8_t FsCache::CACHE_FOR_WRITE = <a class="el" href="class_fs_cache.html#a9d83a0401f452c0572c4c4f869b698ab">CACHE_STATUS_DIRTY</a></td>
  361. </tr>
  362. </table>
  363. </td>
  364. <td class="mlabels-right">
  365. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  366. </tr>
  367. </table>
  368. </div><div class="memdoc">
  369. <p>Cache sector for write. </p>
  370. </div>
  371. </div>
  372. <a id="ab694436995afb87d6e31693b47811243"></a>
  373. <h2 class="memtitle"><span class="permalink"><a href="#ab694436995afb87d6e31693b47811243">&#9670;&nbsp;</a></span>CACHE_OPTION_NO_READ</h2>
  374. <div class="memitem">
  375. <div class="memproto">
  376. <table class="mlabels">
  377. <tr>
  378. <td class="mlabels-left">
  379. <table class="memname">
  380. <tr>
  381. <td class="memname">const uint8_t FsCache::CACHE_OPTION_NO_READ = 2</td>
  382. </tr>
  383. </table>
  384. </td>
  385. <td class="mlabels-right">
  386. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  387. </tr>
  388. </table>
  389. </div><div class="memdoc">
  390. <p>Sync existing sector but do not read new sector. </p>
  391. </div>
  392. </div>
  393. <a id="ae960459db6fda0de3d67768d3b59331d"></a>
  394. <h2 class="memtitle"><span class="permalink"><a href="#ae960459db6fda0de3d67768d3b59331d">&#9670;&nbsp;</a></span>CACHE_RESERVE_FOR_WRITE</h2>
  395. <div class="memitem">
  396. <div class="memproto">
  397. <table class="mlabels">
  398. <tr>
  399. <td class="mlabels-left">
  400. <table class="memname">
  401. <tr>
  402. <td class="memname">const uint8_t FsCache::CACHE_RESERVE_FOR_WRITE = <a class="el" href="class_fs_cache.html#a9d83a0401f452c0572c4c4f869b698ab">CACHE_STATUS_DIRTY</a> | <a class="el" href="class_fs_cache.html#ab694436995afb87d6e31693b47811243">CACHE_OPTION_NO_READ</a></td>
  403. </tr>
  404. </table>
  405. </td>
  406. <td class="mlabels-right">
  407. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  408. </tr>
  409. </table>
  410. </div><div class="memdoc">
  411. <p>Reserve cache sector for write - do not read from sector device. </p>
  412. </div>
  413. </div>
  414. <a id="a9d83a0401f452c0572c4c4f869b698ab"></a>
  415. <h2 class="memtitle"><span class="permalink"><a href="#a9d83a0401f452c0572c4c4f869b698ab">&#9670;&nbsp;</a></span>CACHE_STATUS_DIRTY</h2>
  416. <div class="memitem">
  417. <div class="memproto">
  418. <table class="mlabels">
  419. <tr>
  420. <td class="mlabels-left">
  421. <table class="memname">
  422. <tr>
  423. <td class="memname">const uint8_t FsCache::CACHE_STATUS_DIRTY = 1</td>
  424. </tr>
  425. </table>
  426. </td>
  427. <td class="mlabels-right">
  428. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  429. </tr>
  430. </table>
  431. </div><div class="memdoc">
  432. <p>Cached sector is dirty </p>
  433. </div>
  434. </div>
  435. <a id="abb6b6426373bb591f027ac29eca4bacb"></a>
  436. <h2 class="memtitle"><span class="permalink"><a href="#abb6b6426373bb591f027ac29eca4bacb">&#9670;&nbsp;</a></span>CACHE_STATUS_MASK</h2>
  437. <div class="memitem">
  438. <div class="memproto">
  439. <table class="mlabels">
  440. <tr>
  441. <td class="mlabels-left">
  442. <table class="memname">
  443. <tr>
  444. <td class="memname">const uint8_t FsCache::CACHE_STATUS_MASK = <a class="el" href="class_fs_cache.html#a9d83a0401f452c0572c4c4f869b698ab">CACHE_STATUS_DIRTY</a></td>
  445. </tr>
  446. </table>
  447. </td>
  448. <td class="mlabels-right">
  449. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  450. </tr>
  451. </table>
  452. </div><div class="memdoc">
  453. <p>Cache sector status bits </p>
  454. </div>
  455. </div>
  456. <hr/>The documentation for this class was generated from the following files:<ul>
  457. <li>ArduinoSdFat/libraries/SdFat/src/ExFatLib/<a class="el" href="_ex_fat_partition_8h.html">ExFatPartition.h</a></li>
  458. <li>ArduinoSdFat/libraries/SdFat/src/ExFatLib/ExFatPartition.cpp</li>
  459. </ul>
  460. </div><!-- contents -->
  461. <!-- start footer part -->
  462. <hr class="footer"/><address class="footer"><small>
  463. Generated on Fri Dec 6 2019 09:45:12 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  464. <img class="footer" src="doxygen.png" alt="doxygen"/>
  465. </a> 1.8.16
  466. </small></address>
  467. </body>
  468. </html>