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 <revolution/nand.h> 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. This function needs to be called before calling any other function in the NAND API. 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 42<h2>Revision History</h2> 43<p> 4406/16/2006 Initial version. <BR>7/xx/2006 Revised error codes. <br>08/15/2006 Added a description of behavior if NANDInit() is not called.<br> 45</p> 46 47 48<hr> 49<P>CONFIDENTIAL</p> 50</BODY> 51</HTML> 52