Go to the source code of this file.
Data Structures | |
struct | NandFlashModel |
Describes a particular model of NandFlash device. More... | |
Defines | |
#define | NandFlashModel_DATABUS8 (0 << 0) |
#define | NandFlashModel_DATABUS16 (1 << 0) |
#define | NandFlashModel_COPYBACK (1 << 1) |
Functions | |
uint8_t | NandFlashModel_Find (const struct NandFlashModel *modelList, uint32_t size, uint32_t id, struct NandFlashModel *model) |
uint8_t | NandFlashModel_TranslateAccess (const struct NandFlashModel *model, uint32_t address, uint32_t size, uint16_t *block, uint16_t *page, uint16_t *offset) |
struct NandSpareScheme * | NandFlashModel_GetScheme (const struct NandFlashModel *model) |
uint8_t | NandFlashModel_GetDeviceId (const struct NandFlashModel *model) |
uint16_t | NandFlashModel_GetDeviceSizeInBlocks (const struct NandFlashModel *model) |
uint32_t | NandFlashModel_GetDeviceSizeInPages (const struct NandFlashModel *model) |
unsigned long long | NandFlashModel_GetDeviceSizeInBytes (const struct NandFlashModel *model) |
uint32_t | NandFlashModel_GetDeviceSizeInMBytes (const struct NandFlashModel *model) |
uint16_t | NandFlashModel_GetBlockSizeInPages (const struct NandFlashModel *model) |
uint32_t | NandFlashModel_GetBlockSizeInBytes (const struct NandFlashModel *model) |
uint16_t | NandFlashModel_GetPageDataSize (const struct NandFlashModel *model) |
uint8_t | NandFlashModel_GetPageSpareSize (const struct NandFlashModel *model) |
uint8_t | NandFlashModel_GetDataBusWidth (const struct NandFlashModel *model) |
uint8_t | NandFlashModel_HasSmallBlocks (const struct NandFlashModel *model) |
uint8_t | NandFlashModel_SupportsCopyBack (const struct NandFlashModel *model) |
Type and methods for manipulating NandFlash models.
Definition in file NandFlashModel.h.
#define NandFlashModel_COPYBACK (1 << 1) |
The Nand supports the copy-back function (internal page-to-page copy).
Definition at line 77 of file NandFlashModel.h.
#define NandFlashModel_DATABUS16 (1 << 0) |
Indicates the Nand uses a 16-bit databus.
Definition at line 74 of file NandFlashModel.h.
#define NandFlashModel_DATABUS8 (0 << 0) |
NandFlashModel_opts NandFlashModel options
Definition at line 71 of file NandFlashModel.h.