1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
\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
14 <h2>disk_initialize</h2>
\r
15 <p>The disk_initialize function initializes the disk drive.</p>
\r
17 DSTATUS disk_initialize (
\r
18 BYTE <em>Drive</em> /* Physical drive number */
\r
27 <dd>Specifies the physical drive number to initialize.</dd>
\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
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
43 <p class="foot"><a href="../00index_e.html">Return</a></p>
\r