1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
8<title>NANDInit</title>
9</head>
10
11<body>
12
13<h1>NANDInit</h1>
14
15<h2>C Specification</h2>
16<dl><dd><pre><code>
17#include &lt;revolution/nand.h&gt;
18
19s32 NANDInit( void );
20</code></pre></dd></dl>
21
22<h2>Arguments</h2>
23<p>
24None.
25</p>
26
27<h2>Return Values</h2>
28<p>
29Returns one of the following codes:
30<p>
31<code>NAND_RESULT_OK<br> NAND_RESULT_ALLOC_FAILED<br> NAND_RESULT_BUSY<br></code>
32</p>
33</p>
34
35<h2>Description</h2>
36<p>
37Initializes the NAND library. <font color="ff0000">Starting with RevolutionSDK 2.1, patch 1, the <CODE>NANDInit()</CODE> function is now called automatically by the system.</font>Almost all NAND functions return <code>NAND_RESULT_FATAL_ERROR</code> if any other NAND function is called before initialization is complete.
38</p>
39
40<h2>See Also</h2>
41<p>
42<code><a href="./NANDCheck.html">NANDCheck</a></code>, <code><a href="./NANDCheckAsync.html">NANDCheckAsync</a></code>, <a href="./sequence.html">NAND Processing Sequence</a>
43</p>
44
45
46<h2>Revision History</h2>
47<p>
482006/08/30 Added the information that NANDInit is now automatically called from the system.<br>2006/08/30 Added references to NANDCheck[Async] and NAND Processing Sequence.<br>2006/08/15 Added a description of behavior if NANDInit() is not called.<br>2006/08/15 Revised error codes. <br>2006/06/16 Initial version. <BR>
49</p>
50
51
52<hr>
53<P>CONFIDENTIAL</p>
54</BODY>
55</HTML>
56