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. This function needs to be called before calling any other function in the NAND API. Almost all NAND functions return NAND_RESULT_FATAL_ERROR if any other NAND function is called before initialization is complete.

See Also

Revision History

06/16/2006 Initial version.
7/xx/2006 Revised error codes.
08/15/2006 Added a description of behavior if NANDInit() is not called.


CONFIDENTIAL