fatfs v0.08 May 15, 2010:
- Added a memory configuration option. (_USE_LFN) - Added file lock feature. (_FS_SHARE) - Added fast seek feature. (_USE_FASTSEEK) - Changed some types on the API, XCHAR->TCHAR. - Changed fname member in the FILINFO structure on Unicode cfg. - String functions support UTF-8 encoding files on Unicode cfg.
This commit is contained in:
1 parent
e6cd91ca0b
commit
46155916b1
92 files changed
+2469
-1589
No files matched your search
+12
-11
@@ -4,6 +4,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<link rel="up" title="FatFs" href="../00index_j.html">
|
||||
<link rel="alternate" hreflang="en" title="English" href="../en/sdir.html">
|
||||
<link rel="stylesheet" href="../css_j.css" type="text/css" media="screen" title="ELM Default">
|
||||
<title>FatFs - DIR</title>
|
||||
</head>
|
||||
@@ -14,18 +15,18 @@
|
||||
<h2>DIR</h2>
|
||||
<p><tt>DIR</tt>構造体は、f_opendir(), f_readdir()のワーク・エリアとして使用されます。アプリケーションから変更可能なメンバはありません。</p>
|
||||
<pre>
|
||||
typedef struct _DIR_ {
|
||||
FATFS* fs; /* Pointer to the owner file system object */
|
||||
WORD id; /* Owner file system mount ID */
|
||||
WORD index; /* Current index number */
|
||||
DWORD sclust; /* Table start cluster (0:Static table) */
|
||||
DWORD clust; /* Current cluster */
|
||||
DWORD sect; /* Current sector */
|
||||
BYTE* dir; /* Pointer to the current SFN entry in the win[] */
|
||||
BYTE* fn; /* Pointer to the SFN (in/out) {file[8],ext[3],status[1]} */
|
||||
typedef struct {
|
||||
FATFS* fs; <span>/* 親ファイル・システム・オブジェクトへのポインタ */</span>
|
||||
WORD id; <span>/* 親ファイル・システム・オブジェクトのマウントID */</span>
|
||||
WORD index; <span>/* 次に読み出すディレクトリ・インデックス番号 */</span>
|
||||
DWORD sclust; <span>/* ディレクトリ開始クラスタ (0:ルート) */</span>
|
||||
DWORD clust; <span>/* 現在のクラスタ番号 */</span>
|
||||
DWORD sect; <span>/* 現在のセクタ番号 */</span>
|
||||
BYTE* dir; <span>/* 現在のSFNエントリへのポインタ */</span>
|
||||
BYTE* fn; <span>/* SFNバッファへのポインタ (in/out) {file[8],ext[3],status[1]} */</span>
|
||||
#if _USE_LFN
|
||||
WCHAR* lfn; /* Pointer to the LFN working buffer */
|
||||
WORD lfn_idx; /* Last matched LFN index (0xFFFF:No LFN) */
|
||||
WCHAR* lfn; <span>/* LFNバッファへのポインタ */</span>
|
||||
WORD lfn_idx; <span>/* 最後にマッチしたLFNエントリのインデックス (0xFFFF:無効) */</span>
|
||||
#endif
|
||||
} DIR;
|
||||
</pre>
|
||||
|
||||
Reference in new issue
Block a user