DIR

DIR構造体は、f_opendir(), f_readdir()のワーク・エリアとして使用されます。

FatFs

typedef struct _DIR {
    WORD    id;          /* Owner file system mount ID (inverted) */
    WORD    index;       /* Current index */
    FATFS*  fs;          /* Pointer to the owner file system object */
    DWORD   sclust;      /* Start cluster */
    DWORD   clust;       /* Current cluster */
    DWORD   sect;        /* Current sector */
} DIR;

Tiny-FatFs

typedef struct _DIR {
    WORD    id;          /* Owner file system mount ID (inverted) */
    WORD    index;       /* Current index */
    FATFS*  fs;          /* Pointer to the owner file system object */
    CLUST   sclust;      /* Start cluster */
    CLUST   clust;       /* Current cluster */
    DWORD   sect;        /* Current sector */
} DIR;

戻る