diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-08-23 17:08:59 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-08-23 17:12:21 +0200 |
commit | 3061ecca3d0fdfb87dabbf5f63c9e06c2a30f53a (patch) | |
tree | ab49cc16ed0b853452c5c2ed2d3042416d628986 /thirdparty/nRF5_SDK_15.0.0_a53641a/external/fatfs/doc/en/fattime.html | |
download | iot-sensors-master.tar.gz iot-sensors-master.tar.bz2 iot-sensors-master.tar.xz iot-sensors-master.zip |
Diffstat (limited to 'thirdparty/nRF5_SDK_15.0.0_a53641a/external/fatfs/doc/en/fattime.html')
-rw-r--r-- | thirdparty/nRF5_SDK_15.0.0_a53641a/external/fatfs/doc/en/fattime.html | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/thirdparty/nRF5_SDK_15.0.0_a53641a/external/fatfs/doc/en/fattime.html b/thirdparty/nRF5_SDK_15.0.0_a53641a/external/fatfs/doc/en/fattime.html new file mode 100644 index 0000000..da3dc29 --- /dev/null +++ b/thirdparty/nRF5_SDK_15.0.0_a53641a/external/fatfs/doc/en/fattime.html @@ -0,0 +1,57 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<html lang="en"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<meta http-equiv="Content-Style-Type" content="text/css"> +<link rel="up" title="FatFs" href="../00index_e.html"> +<link rel="alternate" hreflang="ja" title="Japanese" href="../ja/fattime.html"> +<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default"> +<title>FatFs - get_fattime</title> +</head> + +<body> + +<div class="para func"> +<h2>get_fattime</h2> +<p>The get_fattime function gets the current time.</p> +<pre> +DWORD get_fattime (void); +</pre> +</div> + + +<div class="para ret"> +<h4>Return Value</h4> +<p>Currnet local time is returned in bit-fields packed into a <tt>DWORD</tt> value. The bit field is as follows:</p> +<dl class="ret"> +<dt>bit31:25</dt> +<dd>Year origin from the 1980 (0..127)</dd> +<dt>bit24:21</dt> +<dd>Month (1..12)</dd> +<dt>bit20:16</dt> +<dd>Day of the month(1..31)</dd> +<dt>bit15:11</dt> +<dd>Hour (0..23)</dd> +<dt>bit10:5</dt> +<dd>Minute (0..59)</dd> +<dt>bit4:0</dt> +<dd>Second / 2 (0..29)</dd> +</dl> +</div> + + +<div class="para desc"> +<h4>Description</h4> +<p>The <tt>get_fattime</tt> function shall return any valid time even if the system does not support a real time clock. If a zero is returned, the file will not have a valid timestamp.</p> +</div> + + +<div class="para comp"> +<h4>QuickInfo</h4> +<p>This function is not needed when <tt>_FS_READONLY == 1</tt> or <tt>_FS_NORTC == 1</tt>.</p> +</div> + + +<p class="foot"><a href="../00index_e.html">Return</a></p> +</body> +</html> |