NANDInit

C Specification


#include <revolution/nand.h>

s32 NANDInit( void );

Arguments

None.

Return Values

Returns one of the following codes:

NAND_RESULT_OK
NAND_RESULT_ALLOC_FAILED
NAND_RESULT_BUSY

Description

Initializes the NAND library. Starting with RevolutionSDK 2.1, patch 1, the NANDInit() function is now called automatically by the system.Almost all NAND functions return NAND_RESULT_FATAL_ERROR if any other NAND function is called before initialization is complete.

See Also

NANDCheck, NANDCheckAsync, NAND Processing Sequence

Revision History

2006/08/30 Added the information that NANDInit is now automatically called from the system.
2006/08/30 Added references to NANDCheck[Async] and NAND Processing Sequence.
2006/08/15 Added a description of behavior if NANDInit() is not called.
2006/08/15 Revised error codes.
2006/06/16 Initial version.


CONFIDENTIAL