<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>UbixOS: fs/fat/fat_cache.c File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">UbixOS
 <span id="projectnumber">2.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('../../',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('da/d57/fat__cache_8c.html','../../');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">fat_cache.c File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include <<a class="el" href="../../da/d66/string_8h_source.html">string.h</a>></code><br />
<code>#include "<a class="el" href="../../de/de6/fat__cache_8h_source.html">fat_cache.h</a>"</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for fat_cache.c:</div>
<div class="dyncontent">
<div class="center"><img src="../../dc/d72/fat__cache_8c__incl.png" border="0" usemap="#fs_2fat_2fat__cache_8c" alt=""/></div>
<map name="fs_2fat_2fat__cache_8c" id="fs_2fat_2fat__cache_8c">
<area shape="rect" title=" " alt="" coords="322,5,443,32"/>
<area shape="rect" href="../../da/d66/string_8h.html" title=" " alt="" coords="255,80,320,107"/>
<area shape="rect" href="../../de/de6/fat__cache_8h.html" title=" " alt="" coords="432,80,522,107"/>
<area shape="rect" href="../../d0/d27/include_2sys_2types_8h.html" title=" " alt="" coords="169,229,260,256"/>
<area shape="rect" href="../../d6/d90/strings_8h.html" title=" " alt="" coords="252,155,324,181"/>
<area shape="rect" href="../../d0/d6f/__types_8h.html" title=" " alt="" coords="166,453,263,480"/>
<area shape="rect" href="../../d9/dab/select_8h.html" title=" " alt="" coords="168,304,261,331"/>
<area shape="rect" href="../../d6/d92/cdefs_8h.html" title=" " alt="" coords="42,379,131,405"/>
<area shape="rect" href="../../d6/d30/__timespec_8h.html" title=" " alt="" coords="155,379,274,405"/>
<area shape="rect" href="../../df/dc5/__timeval_8h.html" title=" " alt="" coords="298,379,403,405"/>
<area shape="rect" href="../../d6/da4/__sigset_8h.html" title=" " alt="" coords="427,379,527,405"/>
<area shape="rect" href="../../d6/df3/fat__filelib_8h.html" title=" " alt="" coords="528,155,610,181"/>
<area shape="rect" href="../../d4/d42/fat__opts_8h.html" title=" " alt="" coords="551,379,630,405"/>
<area shape="rect" href="../../d9/dca/fat__access_8h.html" title=" " alt="" coords="564,229,660,256"/>
<area shape="rect" href="../../d2/dba/fat__list_8h.html" title=" " alt="" coords="684,229,755,256"/>
<area shape="rect" href="../../d2/dd2/fat__defs_8h.html" title=" " alt="" coords="642,304,720,331"/>
<area shape="rect" href="../../d8/dce/fat_8h.html" title=" " alt="" coords="654,379,719,405"/>
<area shape="rect" href="../../de/d31/fat__types_8h.html" title=" " alt="" coords="743,379,830,405"/>
</map>
</div>
</div>
<p><a href="../../da/d57/fat__cache_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:afe54582a1aa9848bd2cb4724e1baf6bc"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d57/fat__cache_8c.html#afe54582a1aa9848bd2cb4724e1baf6bc">fatfs_cache_get_next_cluster</a> (struct <a class="el" href="../../dd/d1f/structfatfs.html">fatfs</a> *<a class="el" href="../../de/d1a/structfs.html">fs</a>, <a class="el" href="../../d6/df3/fat__filelib_8h.html#ab1659dbb766794c2537f83372fc2705b">FL_FILE</a> *<a class="el" href="../../d7/d3a/structfile.html">file</a>, <a class="el" href="../../de/d31/fat__types_8h.html#a4b435a49c74bb91f284f075e63416cb6">uint32</a> clusterIdx, <a class="el" href="../../de/d31/fat__types_8h.html#a4b435a49c74bb91f284f075e63416cb6">uint32</a> *pNextCluster)</td></tr>
<tr class="separator:afe54582a1aa9848bd2cb4724e1baf6bc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a205d74e989d0e076b031ea2990370c4d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d57/fat__cache_8c.html#a205d74e989d0e076b031ea2990370c4d">fatfs_cache_init</a> (struct <a class="el" href="../../dd/d1f/structfatfs.html">fatfs</a> *<a class="el" href="../../de/d1a/structfs.html">fs</a>, <a class="el" href="../../d6/df3/fat__filelib_8h.html#ab1659dbb766794c2537f83372fc2705b">FL_FILE</a> *<a class="el" href="../../d7/d3a/structfile.html">file</a>)</td></tr>
<tr class="separator:a205d74e989d0e076b031ea2990370c4d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac21308cd551be1d3bafd1dc9e3690e5a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d57/fat__cache_8c.html#ac21308cd551be1d3bafd1dc9e3690e5a">fatfs_cache_set_next_cluster</a> (struct <a class="el" href="../../dd/d1f/structfatfs.html">fatfs</a> *<a class="el" href="../../de/d1a/structfs.html">fs</a>, <a class="el" href="../../d6/df3/fat__filelib_8h.html#ab1659dbb766794c2537f83372fc2705b">FL_FILE</a> *<a class="el" href="../../d7/d3a/structfile.html">file</a>, <a class="el" href="../../de/d31/fat__types_8h.html#a4b435a49c74bb91f284f075e63416cb6">uint32</a> clusterIdx, <a class="el" href="../../de/d31/fat__types_8h.html#a4b435a49c74bb91f284f075e63416cb6">uint32</a> nextCluster)</td></tr>
<tr class="separator:ac21308cd551be1d3bafd1dc9e3690e5a"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="afe54582a1aa9848bd2cb4724e1baf6bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe54582a1aa9848bd2cb4724e1baf6bc">◆ </a></span>fatfs_cache_get_next_cluster()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int fatfs_cache_get_next_cluster </td>
<td>(</td>
<td class="paramtype">struct <a class="el" href="../../dd/d1f/structfatfs.html">fatfs</a> * </td>
<td class="paramname"><em>fs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="../../d6/df3/fat__filelib_8h.html#ab1659dbb766794c2537f83372fc2705b">FL_FILE</a> * </td>
<td class="paramname"><em>file</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="../../de/d31/fat__types_8h.html#a4b435a49c74bb91f284f075e63416cb6">uint32</a> </td>
<td class="paramname"><em>clusterIdx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="../../de/d31/fat__types_8h.html#a4b435a49c74bb91f284f075e63416cb6">uint32</a> * </td>
<td class="paramname"><em>pNextCluster</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="../../da/d57/fat__cache_8c_source.html#l00059">59</a> of file <a class="el" href="../../da/d57/fat__cache_8c_source.html">fat_cache.c</a>.</p>
</div>
</div>
<a id="a205d74e989d0e076b031ea2990370c4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a205d74e989d0e076b031ea2990370c4d">◆ </a></span>fatfs_cache_init()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int fatfs_cache_init </td>
<td>(</td>
<td class="paramtype">struct <a class="el" href="../../dd/d1f/structfatfs.html">fatfs</a> * </td>
<td class="paramname"><em>fs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="../../d6/df3/fat__filelib_8h.html#ab1659dbb766794c2537f83372fc2705b">FL_FILE</a> * </td>
<td class="paramname"><em>file</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="../../da/d57/fat__cache_8c_source.html#l00042">42</a> of file <a class="el" href="../../da/d57/fat__cache_8c_source.html">fat_cache.c</a>.</p>
</div>
</div>
<a id="ac21308cd551be1d3bafd1dc9e3690e5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac21308cd551be1d3bafd1dc9e3690e5a">◆ </a></span>fatfs_cache_set_next_cluster()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int fatfs_cache_set_next_cluster </td>
<td>(</td>
<td class="paramtype">struct <a class="el" href="../../dd/d1f/structfatfs.html">fatfs</a> * </td>
<td class="paramname"><em>fs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="../../d6/df3/fat__filelib_8h.html#ab1659dbb766794c2537f83372fc2705b">FL_FILE</a> * </td>
<td class="paramname"><em>file</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="../../de/d31/fat__types_8h.html#a4b435a49c74bb91f284f075e63416cb6">uint32</a> </td>
<td class="paramname"><em>clusterIdx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="../../de/d31/fat__types_8h.html#a4b435a49c74bb91f284f075e63416cb6">uint32</a> </td>
<td class="paramname"><em>nextCluster</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="../../da/d57/fat__cache_8c_source.html#l00076">76</a> of file <a class="el" href="../../da/d57/fat__cache_8c_source.html">fat_cache.c</a>.</p>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_97b3d2b63ac216821c2d7a22ee0ab2b0.html">fs</a></li><li class="navelem"><a class="el" href="../../dir_1df5146ffaa3c1b28ef7040087228944.html">fat</a></li><li class="navelem"><a class="el" href="../../da/d57/fat__cache_8c.html">fat_cache.c</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.16 </li>
</ul>
</div>
</body>
</html>