X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/b4e3fab85fcd9f5b1502ec991c81302b910492d3:/fatfs/doc/en/fattime.html..0f3b947bda5f34662a611272b9f12199e0da9aca:/fatfs/documents/doc/fattime.html diff --git a/fatfs/doc/en/fattime.html b/fatfs/documents/doc/fattime.html similarity index 67% rename from fatfs/doc/en/fattime.html rename to fatfs/documents/doc/fattime.html index 42fb1c8..dfc4937 100644 --- a/fatfs/doc/en/fattime.html +++ b/fatfs/documents/doc/fattime.html @@ -1,7 +1,7 @@ - + @@ -13,7 +13,7 @@

get_fattime

-

The get_fattime function gets the current time.

+

The get_fattime function is called to get the current time.

 DWORD get_fattime (void);
 
@@ -22,20 +22,20 @@ DWORD get_fattime (void);

Return Value

-

Currnet local time is returned in bit-fields packed into a DWORD value. The bit field is as follows:

+

Currnet local time shall be returned as bit-fields packed into a DWORD value. The bit fields are as follows:

bit31:25
-
Year origin from the 1980 (0..127)
+
Year origin from the 1980 (0..127, e.g. 37 for 2017)
bit24:21
Month (1..12)
bit20:16
-
Day of the month(1..31)
+
Day of the month (1..31)
bit15:11
Hour (0..23)
bit10:5
Minute (0..59)
bit4:0
-
Second / 2 (0..29)
+
Second / 2 (0..29, e.g. 25 for 50)
@@ -48,7 +48,7 @@ DWORD get_fattime (void);

QuickInfo

-

This function is not needed when _FS_READONLY == 1 or _FS_NORTC == 1.

+

This function is not needed when FF_FS_READONLY == 1 or FF_FS_NORTC == 1.