1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
5<meta http-equiv="Content-Style-Type" content="text/css" />
6<title>FS_InitFatDriver</title>
7<link rel="stylesheet" href="../../css/nitro.css" type="text/css" />
8</head>
9<body>
10
11<h1 align="left">FS_InitFatDriver <img src="../../image/TWL.gif" align="middle"></h1>
12<h2>Syntax</h2>
13
14<pre><code>
15#include &lt;nitro/fs.h&gt;
16
17void FS_InitFatDriver(void);
18</code></pre>
19
20<h2>Arguments</h2>
21<p>None.</p>
22
23<h2>Return Values</h2>
24<p>None.</p>
25
26<h2>Description</h2>
27<p>Initializes the <a href="../overview/about_Archive.html#FAT">FAT driver</a>.<br /> The FAT driver is required to access <a href="../overview/about_Archive.html#NAND">console NAND memory</a> and <a href="../overview/about_Archive.html#SDMC">SD Memory Cards</a>. By calling this function you can mount and use the various archives supported by the FAT driver .<br /> Subsequent calls to this function do nothing.</p>
28<p>
29In the case of NAND applications this function is implicitly called inside the NA library, so the application does not need to initialize the FAT driver.</p>
30
31<h2>Notes</h2>
32<ul>
33<li>Before calling this function the FS library must be initialized with the <code><a href="../file/FS_Init.html">FS_Init</a></code> function.</li>
34<li>This function cannot be called from the interrupt handler (IRQ mode). Also note that in some cases processing may not end if interrupts are disabled.</li>
35</ul>
36
37<h2>See Also</h2>
38<p><code><a href="../file/FS_Init.html">FS_Init</a></code></p>
39
40<h2>Revision History</h2>
41<p>
422009/01/30 Initial version.
43</p>
44<hr><p>CONFIDENTIAL</p></body>
45</html>
46