]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - fatfs/documents/doc/fattime.html
Merge branch 'chan-fatfs' into fatfs-integration
[z180-stamp.git] / fatfs / documents / doc / fattime.html
similarity index 67%
rename from fatfs/doc/en/fattime.html
rename to fatfs/documents/doc/fattime.html
index 42fb1c8466f006ed9047750519a8295ca7f9c668..dfc4937fc637f35c6b5a1d323874fe06af648712 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\r
 <html lang="en">\r
 <head>\r
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\r
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r
 <meta http-equiv="Content-Style-Type" content="text/css">\r
 <link rel="up" title="FatFs" href="../00index_e.html">\r
 <link rel="alternate" hreflang="ja" title="Japanese" href="../ja/fattime.html">\r
@@ -13,7 +13,7 @@
 \r
 <div class="para func">\r
 <h2>get_fattime</h2>\r
-<p>The get_fattime function gets the current time.</p>\r
+<p>The get_fattime function is called to get the current time.</p>\r
 <pre>\r
 DWORD get_fattime (void);\r
 </pre>\r
@@ -22,20 +22,20 @@ DWORD get_fattime (void);
 \r
 <div class="para ret">\r
 <h4>Return Value</h4>\r
-<p>Currnet local time is returned in bit-fields packed into a <tt>DWORD</tt> value. The bit field is as follows:</p>\r
+<p>Currnet local time shall be returned as bit-fields packed into a <tt>DWORD</tt> value. The bit fields are as follows:</p>\r
 <dl class="ret">\r
 <dt>bit31:25</dt>\r
-<dd>Year origin from the 1980 (0..127)</dd>\r
+<dd>Year origin from the 1980 (0..127, e.g. 37 for 2017)</dd>\r
 <dt>bit24:21</dt>\r
 <dd>Month (1..12)</dd>\r
 <dt>bit20:16</dt>\r
-<dd>Day of the month(1..31)</dd>\r
+<dd>Day of the month (1..31)</dd>\r
 <dt>bit15:11</dt>\r
 <dd>Hour (0..23)</dd>\r
 <dt>bit10:5</dt>\r
 <dd>Minute (0..59)</dd>\r
 <dt>bit4:0</dt>\r
-<dd>Second / 2 (0..29)</dd>\r
+<dd>Second / 2 (0..29, e.g. 25 for 50)</dd>\r
 </dl>\r
 </div>\r
 \r
@@ -48,7 +48,7 @@ DWORD get_fattime (void);
 \r
 <div class="para comp">\r
 <h4>QuickInfo</h4>\r
-<p>This function is not needed when <tt>_FS_READONLY == 1</tt> or <tt>_FS_NORTC == 1</tt>.</p>\r
+<p>This function is not needed when <tt>FF_FS_READONLY == 1</tt> or <tt>FF_FS_NORTC == 1</tt>.</p>\r
 </div>\r
 \r
 \r