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>Syntax</h2> 16<dl><dd><pre class="construction"> 17#include <revolution/nand.h> 18 19s32 NANDInit( void ); 20</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> 32NAND_RESULT_OK<br> 33NAND_RESULT_ALLOC_FAILED<br> 34NAND_RESULT_BUSY<br> 35</code> 36</p> 37</p> 38 39<h2>Description</h2> 40<p> 41Initializes the NAND library. 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. 42</p> 43 44<h2>See Also</h2> 45<p class="reference"> 46<a href="./NANDCheck.html">NANDCheck</a>, 47<a href="./NANDCheckAsync.html">NANDCheckAsync</a>, 48<a href="./sequence.html">NAND Processing Sequence</a> 49</p> 50 51<h2>Revision History</h2> 52<p> 532006/08/30 Added a note that the <CODE>NANDInit</CODE> function is now automatically called by the system.<br>2006/08/30 Added links to <CODE>NANDCheck[Async]</CODE> and the NAND Processing Sequence.<br>2006/08/15 Added a description of behavior if the <CODE>NANDInit</CODE> function is not called.<br>2006/08/15 Revised error codes. <br>2006/06/16 Initial version.<BR> 54</p> 55 56<hr><p>CONFIDENTIAL</p></body> 57</html> 58