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:
1 parent
625f3adcbb
commit
5fa1073a5a
98 files changed
+2819
-2235
No files matched your search
+13
-13
@@ -15,19 +15,19 @@
|
||||
<h2>DIR</h2>
|
||||
<p>The <tt>DIR</tt> structure is used for the work area to read a directory by f_oepndir, f_readdir function. There is no member that can be changed by application.</p>
|
||||
<pre>
|
||||
typedef struct {
|
||||
FATFS* fs; <span>/* Pointer to the owner file system object */</span>
|
||||
WORD id; <span>/* Owner file system mount ID */</span>
|
||||
WORD index; <span>/* Directory index number to be read/write next */</span>
|
||||
DWORD sclust; <span>/* Table start cluster (0:Root dir) */</span>
|
||||
DWORD clust; <span>/* Current cluster */</span>
|
||||
DWORD sect; <span>/* Current sector */</span>
|
||||
BYTE* dir; <span>/* Pointer to the current SFN entry in the win[] */</span>
|
||||
BYTE* fn; <span>/* Pointer to the SFN (in/out) {file[8],ext[3],status[1]} */</span>
|
||||
#if _USE_LFN
|
||||
WCHAR* lfn; <span>/* Pointer to the LFN working buffer */</span>
|
||||
WORD lfn_idx; <span>/* Last matched LFN index (0xFFFF:No LFN) */</span>
|
||||
#endif
|
||||
<span class="k">typedef</span> <span class="k">struct</span> {
|
||||
FATFS* fs; <span class="c">/* Pointer to the owner file system object */</span>
|
||||
WORD id; <span class="c">/* Owner file system mount ID */</span>
|
||||
WORD index; <span class="c">/* Directory index number to be read/write next */</span>
|
||||
DWORD sclust; <span class="c">/* Table start cluster (0:Root dir) */</span>
|
||||
DWORD clust; <span class="c">/* Current cluster */</span>
|
||||
DWORD sect; <span class="c">/* Current sector */</span>
|
||||
BYTE* dir; <span class="c">/* Pointer to the current SFN entry in the win[] */</span>
|
||||
BYTE* fn; <span class="c">/* Pointer to the SFN (in/out) {file[8],ext[3],status[1]} */</span>
|
||||
<span class="k">#if</span> _USE_LFN
|
||||
WCHAR* lfn; <span class="c">/* Pointer to the LFN working buffer */</span>
|
||||
WORD lfn_idx; <span class="c">/* Last matched LFN index (0xFFFF:No LFN) */</span>
|
||||
<span class="k">#endif</span>
|
||||
} DIR;
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user