FreeRTOS
[armadillo_firmware.git] / FreeRTOS / Common / FileSystem / FatFs-0.7e / doc / en / dinit.html
blob5bf38705c6dd471c018624004d0ef6abfc1b32bc
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html lang="en">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5 <meta http-equiv="Content-Style-Type" content="text/css">
6 <link rel="up" title="FatFs" href="../00index_e.html">
7 <link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
8 <title>FatFs - disk_initialize</title>
9 </head>
11 <body>
13 <div class="para">
14 <h2>disk_initialize</h2>
15 <p>The disk_initialize function initializes the disk drive.</p>
16 <pre>
17 DSTATUS disk_initialize (
18 BYTE <em>Drive</em> /* Physical drive number */
20 </pre>
21 </div>
23 <div class="para">
24 <h4>Parameter</h4>
25 <dl class="par">
26 <dt>Drive</dt>
27 <dd>Specifies the physical drive number to initialize.</dd>
28 </dl>
29 </div>
32 <div class="para">
33 <h4>Return Values</h4>
34 <p>This function returns a disk status as the result. For details of the disk status, refer to the <a href="dstat.html">disk_status</a> function.</p>
35 </div>
37 <div class="para">
38 <h4>Description</h4>
39 <p>The disk_initialize function initializes a physical drive. When the function succeeded, <tt>STA_NOINIT</tt> flag in the return value is cleard.</p>
40 <p>This function is called from volume mount process in the FatFs module to manage the media change. <em>Application program must not call this function while FatFs module is active, or FAT structure on the volume can be collapted. To re-initialize the file system, use f_mount function.</em></p>
41 </div>
43 <p class="foot"><a href="../00index_e.html">Return</a></p>
44 </body>
45 </html>