NandFlashModel.h
Default mainpageat91libmemoriesnandflashNandFlashModel.h
Description Overview
Classes Brief description
 NandFlashModel Describes a particular model of NandFlash device.
Methods  
 NandFlashModel_Find Looks for a NandFlashModel corresponding to the given ID inside a list of model.
 NandFlashModel_GetBlockSizeInBytes Returns the size in bytes of one single block of a device.
 NandFlashModel_GetBlockSizeInPages Returns the number of pages in one single block of a device.
 NandFlashModel_GetDataBusWidth Returns the number of bits used by the data bus of a NandFlash device.
 NandFlashModel_GetDeviceId Returns the device ID of a particular NandFlash model.
 NandFlashModel_GetDeviceSizeInBlocks Returns the number of blocks in the entire device.
 NandFlashModel_GetDeviceSizeInBytes Returns the size of the whole device in bytes (this does not include the size of the spare zones).
 NandFlashModel_GetDeviceSizeInPages Returns the number of pages in the entire device.
 NandFlashModel_GetPageDataSize Returns the size of the data area of a page in bytes.
 NandFlashModel_GetPageSpareSize Returns the size of the spare area of a page in bytes.
 NandFlashModel_GetScheme Returns the spare area placement scheme used by a particular nandflash model.
 NandFlashModel_HasSmallBlocks Returns 1 if the given NandFlash model uses the "small blocks/pages" command set; otherwise returns 0.
 NandFlashModel_SupportsCopyBack Returns 1 if the device supports the copy-back operation.
 NandFlashModel_TranslateAccess Translates address/size access of a NandFlashModel to block, page and offset values.
Defines  
 NandFlashModel_COPYBACK The Nand supports the copy-back function (internal page-to-page copy).
 NandFlashModel_DATABUS16 Indicates the Nand uses a 16-bit databus.
 NandFlashModel_DATABUS8 Indicates the Nand uses an 8-bit databus.