From dd38d907244bc0e483c3d760f2ba464a394ec229 Mon Sep 17 00:00:00 2001 From: Dave Hylands Date: Tue, 11 Mar 2014 23:55:41 -0700 Subject: Initial checkin with STM HAL This compiles and links, but hasn't been tested on a board yet and even if it was run, it doesn't currently do anything. --- stmhal/fatfs/doc/ja/sdir.html | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 stmhal/fatfs/doc/ja/sdir.html (limited to 'stmhal/fatfs/doc/ja/sdir.html') diff --git a/stmhal/fatfs/doc/ja/sdir.html b/stmhal/fatfs/doc/ja/sdir.html new file mode 100644 index 000000000..e241b72ad --- /dev/null +++ b/stmhal/fatfs/doc/ja/sdir.html @@ -0,0 +1,40 @@ + + + + + + + + +FatFs - DIR + + + + +
+

DIR

+

DIR構造体は、f_opendir(), f_readdir()のワーク・エリアとして使用されます。アプリケーションは、この構造体のメンバを書き換えてはなりません。

+
+typedef struct {
+    FATFS*  fs;        /* 親ファイル・システム・オブジェクトへのポインタ */
+    WORD    id;        /* 親ファイル・システム・オブジェクトのマウントID */
+    WORD    index;     /* 次に検索開始するディレクトリ・インデックス番号 */
+    DWORD   sclust;    /* テーブル開始クラスタ (0:ルート) */
+    DWORD   clust;     /* 現在のクラスタ番号 */
+    DWORD   sect;      /* 現在のセクタ番号 */
+    BYTE*   dir;       /* 現在のSFNエントリへのポインタ */
+    BYTE*   fn;        /* SFNバッファへのポインタ (in/out) {file[8],ext[3],status[1]} */
+#if _FS_LOCK
+    UINT    lockid;    /* ロックID */
+#endif
+#if _USE_LFN
+    WCHAR*  lfn;       /* LFNバッファへのポインタ */
+    WORD    lfn_idx;   /* 最後にマッチしたLFNエントリの先頭インデックス (0xFFFF:無効) */
+#endif
+} DIR;
+
+
+ +

戻る

+ + -- cgit v1.2.3