![]() |
|
| << Previous | Next >> | |
| | |
int nf_InitDriver( mbr_drvr * driver, void * device_list );
Description
- Initializes the NAND flash controller.
Parameters
- driver
- Empty
mbr_drvrstructure. It must be initialized with this function before it can be used with the FAT file system. More information on this structure can be found in the Dynamic C Module document titled, "FAT File System User's Manual," available on the Rabbit Semiconductor website.
- device_list
- If not null, this is a pointer to the head of a linked list of
nf_devicestructures for NAND flash devices that have each already been initialized by callingnf_initDevice().
- If
device_listis null, then this function attempts to initialize all NAND flash devices and provide a default linked list ofnf_devicestructures in order from device number 0 on up. If the initialization of a NAND flash device is unsuccessful, then itsnf_devicestructure is not entered into the linked list.
Return value
0: Success
<0: Negative value of a FAT file system error code
Library
- NFLASH_FAT.LIB (This function was introduced in Dynamic C 9.01)
| Dynamic C Functions | << Previous | Next >> | rabbit.com |