Newer
Older
UbixOS / doc / html / df / dee / fat__format_8h.html
<!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_format.h 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&amp;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
   &#160;<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&amp;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&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('df/dee/fat__format_8h.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_format.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="../../d2/dd2/fat__defs_8h_source.html">fat_defs.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d4/d42/fat__opts_8h_source.html">fat_opts.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d9/dca/fat__access_8h_source.html">fat_access.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for fat_format.h:</div>
<div class="dyncontent">
<div class="center"><img src="../../df/d36/fat__format_8h__incl.png" border="0" usemap="#fs_2fat_2fat__format_8h" alt=""/></div>
<map name="fs_2fat_2fat__format_8h" id="fs_2fat_2fat__format_8h">
<area shape="rect" title=" " alt="" coords="150,5,273,32"/>
<area shape="rect" href="../../d2/dd2/fat__defs_8h.html" title=" " alt="" coords="99,155,177,181"/>
<area shape="rect" href="../../d4/d42/fat__opts_8h.html" title=" " alt="" coords="205,229,284,256"/>
<area shape="rect" href="../../d9/dca/fat__access_8h.html" title=" " alt="" coords="163,80,259,107"/>
<area shape="rect" href="../../d8/dce/fat_8h.html" title=" " alt="" coords="5,229,71,256"/>
<area shape="rect" href="../../de/d31/fat__types_8h.html" title=" " alt="" coords="95,229,181,256"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="../../d2/d90/fat__format_8h__dep__incl.png" border="0" usemap="#fs_2fat_2fat__format_8hdep" alt=""/></div>
<map name="fs_2fat_2fat__format_8hdep" id="fs_2fat_2fat__format_8hdep">
<area shape="rect" title=" " alt="" coords="5,5,128,32"/>
<area shape="rect" href="../../df/d8a/fat__format_8c.html" title=" " alt="" coords="5,80,128,107"/>
</map>
</div>
</div>
<p><a href="../../df/dee/fat__format_8h_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:a8958cfd5dc4bfceb08f41e50e54da92d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dee/fat__format_8h.html#a8958cfd5dc4bfceb08f41e50e54da92d">fatfs_format</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="../../de/d31/fat__types_8h.html#a4b435a49c74bb91f284f075e63416cb6">uint32</a> volume_sectors, <a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> char *<a class="el" href="../../d1/de8/pci_8c.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>)</td></tr>
<tr class="separator:a8958cfd5dc4bfceb08f41e50e54da92d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e6b1990138851af406cd5fc667569d6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dee/fat__format_8h.html#a7e6b1990138851af406cd5fc667569d6">fatfs_format_fat16</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="../../de/d31/fat__types_8h.html#a4b435a49c74bb91f284f075e63416cb6">uint32</a> volume_sectors, <a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> char *<a class="el" href="../../d1/de8/pci_8c.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>)</td></tr>
<tr class="separator:a7e6b1990138851af406cd5fc667569d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44986a3210ea48d5274da16dd60d27c1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/dee/fat__format_8h.html#a44986a3210ea48d5274da16dd60d27c1">fatfs_format_fat32</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="../../de/d31/fat__types_8h.html#a4b435a49c74bb91f284f075e63416cb6">uint32</a> volume_sectors, <a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> char *<a class="el" href="../../d1/de8/pci_8c.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>)</td></tr>
<tr class="separator:a44986a3210ea48d5274da16dd60d27c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a8958cfd5dc4bfceb08f41e50e54da92d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8958cfd5dc4bfceb08f41e50e54da92d">&#9670;&nbsp;</a></span>fatfs_format()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int fatfs_format </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="../../dd/d1f/structfatfs.html">fatfs</a> *&#160;</td>
          <td class="paramname"><em>fs</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>&#160;</td>
          <td class="paramname"><em>volume_sectors</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> char *&#160;</td>
          <td class="paramname"><em>name</em>&#160;</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="../../df/d8a/fat__format_8c_source.html#l00524">524</a> of file <a class="el" href="../../df/d8a/fat__format_8c_source.html">fat_format.c</a>.</p>

<p class="reference">References <a class="el" href="../../df/d8a/fat__format_8c_source.html#l00426">fatfs_format_fat16()</a>, <a class="el" href="../../df/d8a/fat__format_8c_source.html#l00475">fatfs_format_fat32()</a>, and <a class="el" href="../../d1/de8/pci_8c_source.html#l00037">name</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../db/dcd/fat__filelib_8c_source.html#l01476">fl_format()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../df/dee/fat__format_8h_a8958cfd5dc4bfceb08f41e50e54da92d_cgraph.png" border="0" usemap="#df/dee/fat__format_8h_a8958cfd5dc4bfceb08f41e50e54da92d_cgraph" alt=""/></div>
<map name="df/dee/fat__format_8h_a8958cfd5dc4bfceb08f41e50e54da92d_cgraph" id="df/dee/fat__format_8h_a8958cfd5dc4bfceb08f41e50e54da92d_cgraph">
<area shape="rect" title=" " alt="" coords="5,31,95,57"/>
<area shape="rect" href="../../df/d8a/fat__format_8c.html#a7e6b1990138851af406cd5fc667569d6" title=" " alt="" coords="143,5,267,32"/>
<area shape="rect" href="../../df/d8a/fat__format_8c.html#a44986a3210ea48d5274da16dd60d27c1" title=" " alt="" coords="143,56,267,83"/>
<area shape="rect" href="../../db/db7/fat__table_8c.html#acee4d83639e6fa1a228aec05618140e6" title=" " alt="" coords="315,31,405,57"/>
<area shape="rect" href="../../da/d66/string_8h.html#ace4b911463887af5e748326323e99a23" title=" " alt="" coords="453,31,523,57"/>
</map>
</div>

</div>
</div>
<a id="a7e6b1990138851af406cd5fc667569d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e6b1990138851af406cd5fc667569d6">&#9670;&nbsp;</a></span>fatfs_format_fat16()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int fatfs_format_fat16 </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="../../dd/d1f/structfatfs.html">fatfs</a> *&#160;</td>
          <td class="paramname"><em>fs</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>&#160;</td>
          <td class="paramname"><em>volume_sectors</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> char *&#160;</td>
          <td class="paramname"><em>name</em>&#160;</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="../../df/d8a/fat__format_8c_source.html#l00426">426</a> of file <a class="el" href="../../df/d8a/fat__format_8c_source.html">fat_format.c</a>.</p>

<p class="reference">References <a class="el" href="../../d2/dd2/fat__defs_8h_source.html#l00109">FAT32_INVALID_CLUSTER</a>, <a class="el" href="../../d9/dca/fat__access_8h_source.html#l00011">FAT_INIT_MEDIA_ACCESS_ERROR</a>, <a class="el" href="../../d9/dca/fat__access_8h_source.html#l00053">FAT_TYPE_16</a>, and <a class="el" href="../../db/db7/fat__table_8c_source.html#l00060">fatfs_fat_init()</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../df/d8a/fat__format_8c_source.html#l00524">fatfs_format()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../df/dee/fat__format_8h_a7e6b1990138851af406cd5fc667569d6_cgraph.png" border="0" usemap="#df/dee/fat__format_8h_a7e6b1990138851af406cd5fc667569d6_cgraph" alt=""/></div>
<map name="df/dee/fat__format_8h_a7e6b1990138851af406cd5fc667569d6_cgraph" id="df/dee/fat__format_8h_a7e6b1990138851af406cd5fc667569d6_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,129,32"/>
<area shape="rect" href="../../db/db7/fat__table_8c.html#acee4d83639e6fa1a228aec05618140e6" title=" " alt="" coords="177,5,268,32"/>
<area shape="rect" href="../../da/d66/string_8h.html#ace4b911463887af5e748326323e99a23" title=" " alt="" coords="316,5,385,32"/>
</map>
</div>

</div>
</div>
<a id="a44986a3210ea48d5274da16dd60d27c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44986a3210ea48d5274da16dd60d27c1">&#9670;&nbsp;</a></span>fatfs_format_fat32()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int fatfs_format_fat32 </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="../../dd/d1f/structfatfs.html">fatfs</a> *&#160;</td>
          <td class="paramname"><em>fs</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>&#160;</td>
          <td class="paramname"><em>volume_sectors</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> char *&#160;</td>
          <td class="paramname"><em>name</em>&#160;</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="../../df/d8a/fat__format_8c_source.html#l00475">475</a> of file <a class="el" href="../../df/d8a/fat__format_8c_source.html">fat_format.c</a>.</p>

<p class="reference">References <a class="el" href="../../d2/dd2/fat__defs_8h_source.html#l00109">FAT32_INVALID_CLUSTER</a>, <a class="el" href="../../d9/dca/fat__access_8h_source.html#l00011">FAT_INIT_MEDIA_ACCESS_ERROR</a>, <a class="el" href="../../d9/dca/fat__access_8h_source.html#l00054">FAT_TYPE_32</a>, and <a class="el" href="../../db/db7/fat__table_8c_source.html#l00060">fatfs_fat_init()</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../df/d8a/fat__format_8c_source.html#l00524">fatfs_format()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../df/dee/fat__format_8h_a44986a3210ea48d5274da16dd60d27c1_cgraph.png" border="0" usemap="#df/dee/fat__format_8h_a44986a3210ea48d5274da16dd60d27c1_cgraph" alt=""/></div>
<map name="df/dee/fat__format_8h_a44986a3210ea48d5274da16dd60d27c1_cgraph" id="df/dee/fat__format_8h_a44986a3210ea48d5274da16dd60d27c1_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,129,32"/>
<area shape="rect" href="../../db/db7/fat__table_8c.html#acee4d83639e6fa1a228aec05618140e6" title=" " alt="" coords="177,5,268,32"/>
<area shape="rect" href="../../da/d66/string_8h.html#ace4b911463887af5e748326323e99a23" title=" " alt="" coords="316,5,385,32"/>
</map>
</div>

</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="../../df/dee/fat__format_8h.html">fat_format.h</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>