]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - fatfs/documents/doc/dinit.html
Import fatfs R0.13b
[z180-stamp.git] / fatfs / documents / doc / dinit.html
diff --git a/fatfs/documents/doc/dinit.html b/fatfs/documents/doc/dinit.html
new file mode 100644 (file)
index 0000000..a7718bc
--- /dev/null
@@ -0,0 +1,46 @@
+<!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=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/dinit.html">\r
+<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">\r
+<title>FatFs - disk_initialize</title>\r
+</head>\r
+\r
+<body>\r
+\r
+<div class="para func">\r
+<h2>disk_initialize</h2>\r
+<p>The disk_initialize function is called to initializes the storage device.</p>\r
+<pre>\r
+DSTATUS disk_initialize (\r
+  BYTE <span class="arg">pdrv</span>           <span class="c">/* [IN] Physical drive number */</span>\r
+);\r
+</pre>\r
+</div>\r
+\r
+<div class="para arg">\r
+<h4>Parameter</h4>\r
+<dl class="par">\r
+<dt>pdrv</dt>\r
+<dd>Physical drive number to identify the target device. Always zero at single drive system.</dd>\r
+</dl>\r
+</div>\r
+\r
+\r
+<div class="para ret">\r
+<h4>Return Values</h4>\r
+<p>This function returns the current drive status flags as the result. For details of the drive status, refer to the <a href="dstat.html">disk_status</a> function.</p>\r
+</div>\r
+\r
+<div class="para desc">\r
+<h4>Description</h4>\r
+<p>This function initializes the storage device and put it ready to generic read/write. When the function succeeded, <tt>STA_NOINIT</tt> flag in the return value is cleared.</p>\r
+<p><em>Remarks: This function needs to be under control of FatFs module. Application program MUST NOT call this function, or FAT structure on the volume can be broken. To re-initialize the filesystem, use <tt>f_mount</tt> function instead.</em></p>\r
+</div>\r
+\r
+<p class="foot"><a href="../00index_e.html">Return</a></p>\r
+</body>\r
+</html>\r