From 75e1e7a5e26491e942fb2b25f518d8e2e3112721 Mon Sep 17 00:00:00 2001 From: inmarket Date: Fri, 15 Aug 2014 02:22:02 +1000 Subject: Add GFILE support for PetitFS (a very tiny FAT implementation) --- 3rdparty/petitfs-0.03/doc/pf/sfileinfo.html | 62 +++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 3rdparty/petitfs-0.03/doc/pf/sfileinfo.html (limited to '3rdparty/petitfs-0.03/doc/pf/sfileinfo.html') diff --git a/3rdparty/petitfs-0.03/doc/pf/sfileinfo.html b/3rdparty/petitfs-0.03/doc/pf/sfileinfo.html new file mode 100644 index 00000000..cd0ed7f1 --- /dev/null +++ b/3rdparty/petitfs-0.03/doc/pf/sfileinfo.html @@ -0,0 +1,62 @@ + + + + + + + + +Petit FatFs - FILINFO + + + + +
+

FILINFO

+

The FILINFO structure holds a file information returned by pf_readdir function.

+
+typedef struct {
+    DWORD   fsize;        /* File size */
+    WORD    fdate;        /* Last modified date */
+    WORD    ftime;        /* Last modified time */
+    BYTE    fattrib;      /* Attribute */
+    char    fname[13];    /* File name */
+} FILINFO;
+
+
+ +

Members

+
+
fsize
+
Indicates size of the file in unit of byte. This is always zero when it is a directory.
+
fdate
+
Indicates the date that 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 that 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[]
+
Indicates the file/directory name in 8.3 format null-terminated string.
+
+ +

Return

+ + -- cgit v1.2.3