dinit.html 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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>
  10. <body>
  11. <div class="para">
  12. <h2>disk_initialize</h2>
  13. <p>The disk_initialize function initializes the disk drive.</p>
  14. <pre>
  15. DSTATUS disk_initialize (
  16. BYTE <em>Drive</em> /* Physical drive number */
  17. );
  18. </pre>
  19. </div>
  20. <div class="para">
  21. <h4>Parameter</h4>
  22. <dl class="par">
  23. <dt>Drive</dt>
  24. <dd>Specifies the physical drive number to initialize.</dd>
  25. </dl>
  26. </div>
  27. <div class="para">
  28. <h4>Return Values</h4>
  29. <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>
  30. </div>
  31. <div class="para">
  32. <h4>Description</h4>
  33. <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>
  34. </div>
  35. <p class="foot"><a href="../00index_e.html">Return</a></p>
  36. </body>
  37. </html>