Back to project
URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Details |
Compare with Previous |
View Log
Line No.
Rev
Author
Line
1
606
jeremybenn
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
<html lang="en">
3
<head>
4
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
<meta http-equiv="Content-Style-Type" content="text/css">
6
<link rel="up" title="FatFs" href="../00index_e.html">
7
<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
8
<title>FatFs - DIR</title>
9
</head>
10
11
<body>
12
13
<div class="para">
14
<h2>DIR</h2>
15
<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>
16
<pre>
17
typedef struct _DIR_ {
18
FATFS* fs; /* Pointer to the owner file system object */
19
WORD id; /* Owner file system mount ID */
20
WORD index; /* Current read/write index number */
21
DWORD sclust; /* Table start cluster (0:Static table) */
22
DWORD clust; /* Current cluster */
23
DWORD sect; /* Current sector */
24
BYTE* dir; /* Pointer to the current SFN entry in the win[] */
25
BYTE* fn; /* Pointer to the SFN (in/out) {file[8],ext[3],status[1]} */
26
#if _USE_LFN
27
WCHAR* lfn; /* Pointer to the LFN working buffer */
28
WORD lfn_idx; /* Last matched LFN index (0xFFFF:No LFN) */
29
#endif
30
} DIR;
31
</pre>
32
</div>
33
34
<p class="foot"><a href="../00index_e.html">Return</a></p>
35
</body>
36
</html>
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.