]> git.sur5r.net Git - freertos/blob - Demo/Common/FileSystem/FatFs-0.7e/doc/en/sdir.html
Start to re-arrange files to include FreeRTOS+ in main download.
[freertos] / Demo / Common / FileSystem / FatFs-0.7e / doc / en / sdir.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\r
2 <html lang="en">\r
3 <head>\r
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\r
5 <meta http-equiv="Content-Style-Type" content="text/css">\r
6 <link rel="up" title="FatFs" href="../00index_e.html">\r
7 <link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">\r
8 <title>FatFs - DIR</title>\r
9 </head>\r
10 \r
11 <body>\r
12 \r
13 <div class="para">\r
14 <h2>DIR</h2>\r
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>\r
16 <pre>\r
17 typedef struct _DIR_ {\r
18     FATFS*  fs;         /* Pointer to the owner file system object */\r
19     WORD    id;         /* Owner file system mount ID */\r
20     WORD    index;      /* Current read/write index number */\r
21     DWORD   sclust;     /* Table start cluster (0:Static table) */\r
22     DWORD   clust;      /* Current cluster */\r
23     DWORD   sect;       /* Current sector */\r
24     BYTE*   dir;        /* Pointer to the current SFN entry in the win[] */\r
25     BYTE*   fn;         /* Pointer to the SFN (in/out) {file[8],ext[3],status[1]} */\r
26 #if _USE_LFN\r
27     WCHAR*  lfn;        /* Pointer to the LFN working buffer */\r
28     WORD    lfn_idx;    /* Last matched LFN index (0xFFFF:No LFN) */\r
29 #endif\r
30 } DIR;\r
31 </pre>\r
32 </div>\r
33 \r
34 <p class="foot"><a href="../00index_e.html">Return</a></p>\r
35 </body>\r
36 </html>\r