OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [Common/] [FileSystem/] [FatFs-0.7e/] [doc/] [en/] [dinit.html] - Blame information for rev 606

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 606 jeremybenn
<!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
 
11
<body>
12
 
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 */
19
);
20
</pre>
21
</div>
22
 
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>
30
 
31
 
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>
36
 
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>
42
 
43
<p class="foot"><a href="../00index_e.html">Return</a></p>
44
</body>
45
</html>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.