fatfs v0.08b Jan 15,2011:

- Fast seek feature is also applied to f_read() and f_write().
- f_lseek() reports required table size on creating CLMP.
- Extended format syntax of f_printf function.
- Ignores duplicated directory separators in given path names.
This commit is contained in:
savelij13 committed 2025-09-11 09:45:45 +03:00
1 parent 625f3adcbb
commit 5fa1073a5a
98 files changed
+2819 -2235

No files matched your search

+13 -15
View File
@@ -11,18 +11,18 @@
<body>
<div class="para">
<div class="para func">
<h2>f_mount</h2>
<p>The f_mount fucntion registers/unregisters a work area to the FatFs module.</p>
<pre>
FRESULT f_mount (
BYTE <em>Drive</em>, <span>/* Logical drive number */</span>
FATFS* <em>FileSystemObject</em> <span>/* Pointer to the work area */</span>
BYTE <em>Drive</em>, <span class="c">/* Logical drive number */</span>
FATFS* <em>FileSystemObject</em> <span class="c">/* Pointer to the work area */</span>
);
</pre>
</div>
<div class="para">
<div class="para arg">
<h4>Parameters</h4>
<dl class="par">
<dt>Drive</dt>
@@ -32,31 +32,29 @@ FRESULT f_mount (
</dl>
</div>
<div class="para">
<div class="para ret">
<h4>Return Values</h4>
<dl class="ret">
<dt>FR_OK (0)</dt>
<dd>The function succeeded.</dd>
<dt>FR_INVALID_DRIVE</dt>
<dd>The drive number is invalid.</dd>
</dl>
<p>
<a href="rc.html#ok">FR_OK</a>,
<a href="rc.html#id">FR_INVALID_DRIVE</a>
</p>
</div>
<div class="para">
<div class="para desc">
<h4>Description</h4>
<p>The f_mount function registers/unregisters a work area to the FatFs module. The work area must be given to the each volume with this function prior to use any other file function. To unregister a work area, specify a NULL to the <em>FileSystemObject</em>, and then the work area can be discarded.</p>
<p>This function always succeeds regardless of the drive status. No media access is occured in this function and it only initializes the given work area and registers its address to the internal table. The volume mount process is performed on first file access after f_mount function or media change.</p>
<p>This function always succeeds regardless of the drive status. No media access is occured in this function. It only initializes the given work area and registers its address to the internal table. The volume mount process is performed on first file access after f_mount function or media change.</p>
</div>
<div class="para">
<div class="para comp">
<h4>QuickInfo</h4>
<p>Always available.</p>
</div>
<div class="para">
<div class="para ref">
<h4>See Also</h4>
<p><tt><a href="sfatfs.html">FATFS</a></tt></p>
</div>