Add FatFs module by ChaN.
[bertos.git] / bertos / fs / fatfs / doc / en / dinit.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\r
2 <html lang="en">\r
3 <head>\r
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\r
5 <meta http-equiv="Content-Style-Type" content="text/css">\r
6 <link rel="up" title="FatFs" href="../00index_e.html">\r
7 <link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">\r
8 <title>FatFs - disk_initialize</title>\r
9 </head>\r
10 \r
11 <body>\r
12 \r
13 <div class="para">\r
14 <h2>disk_initialize</h2>\r
15 <p>The disk_initialize function initializes the disk drive.</p>\r
16 <pre>\r
17 DSTATUS disk_initialize (\r
18   BYTE <em>Drive</em>           /* Physical drive number */\r
19 );\r
20 </pre>\r
21 </div>\r
22 \r
23 <div class="para">\r
24 <h4>Parameter</h4>\r
25 <dl class="par">\r
26 <dt>Drive</dt>\r
27 <dd>Specifies the physical drive number to initialize.</dd>\r
28 </dl>\r
29 </div>\r
30 \r
31 \r
32 <div class="para">\r
33 <h4>Return Values</h4>\r
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>\r
35 <p>This function is called from volume mount process in the FatFs module to manage the media change. Application module should not use this function during FatFs module is active.</p>\r
36 </div>\r
37 \r
38 <div class="para">\r
39 <h4>Description</h4>\r
40 <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>\r
41 </div>\r
42 \r
43 <p class="foot"><a href="../00index_e.html">Return</a></p>\r
44 </body>\r
45 </html>\r