From 8561671cb8c8c81cca6407d47437a7238b111ada Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 24 Jun 2017 16:35:31 +1000 Subject: Upgrade to from FATFS-0.10b to FATFS-0.13 --- 3rdparty/fatfs-0.13/documents/doc/sfileinfo.html | 69 ++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 3rdparty/fatfs-0.13/documents/doc/sfileinfo.html (limited to '3rdparty/fatfs-0.13/documents/doc/sfileinfo.html') diff --git a/3rdparty/fatfs-0.13/documents/doc/sfileinfo.html b/3rdparty/fatfs-0.13/documents/doc/sfileinfo.html new file mode 100644 index 00000000..311c0c31 --- /dev/null +++ b/3rdparty/fatfs-0.13/documents/doc/sfileinfo.html @@ -0,0 +1,69 @@ + + + + + + + + +FatFs - FILINFO + + + + +
+

FILINFO

+

The FILINFO structure holds information about the object returned by f_readdir, f_findfirst, f_findnext and f_stat function. Be careful in the size of structure when LFN is enabled.

+
+typedef struct {
+    FSIZE_t fsize;               /* File size */
+    WORD    fdate;               /* Last modified date */
+    WORD    ftime;               /* Last modified time */
+    BYTE    fattrib;             /* Attribute */
+#if FF_USE_LFN
+    TCHAR   altname[13];         /* Alternative object name */
+    TCHAR   fname[FF_MAX_LFN + 1]; /* Primary object name */
+#else
+    TCHAR   fname[13];           /* Object name */
+#endif
+} FILINFO;
+
+
+ +

Members

+
+
fsize
+
Indicates size of the file in unit of byte. FSIZE_t is an alias of integer type either DWORD(32-bit) or QWORD(64-bit) depends on the configuration option FF_FS_EXFAT. Do not care when the item is a directory.
+
fdate
+
Indicates the date when the file was modified or the directory was created.
+
+
bit15:9
+
Year origin from 1980 (0..127)
+
bit8:5
+
Month (1..12)
+
bit4:0
+
Day (1..31)
+
+
+
ftime
+
Indicates the time when the file was modified or the directory was created.
+
+
bit15:11
+
Hour (0..23)
+
bit10:5
+
Minute (0..59)
+
bit4:0
+
Second / 2 (0..29)
+
+
+
fattrib
+
Indicates the file/directory attribute in combination of AM_DIR, AM_RDO, AM_HID, AM_SYS and AM_ARC.
+
fname[]
+
The null-terminated object name is stored. A null string is stored when no item to read and it indicates this structure is invalid.
+
altname[]
+
Alternative object name is stored if available. This member is not available at non-LFN configuration.
+
+ +

Return

+ + -- cgit v1.2.3