NandFlashModel_Find
Default mainpageat91libmemoriesnandflashNandFlashModel_Find
Description Source Call Graph
NandFlashModel_Find
Looks for a NandFlashModel corresponding to the given ID inside a list of model.
 
Syntax / parameters
unsigned char NandFlashModel_Find (const struct NandFlashModel *modelList, unsigned int size, unsigned int id, struct NandFlashModel *model)

Name Type Default Description
modelList const struct NandFlashModel *
  List of NandFlashModel instances.
size unsigned int
  Number of models in list.
id unsigned int
   
model struct NandFlashModel *
  NandFlashModel instance to update with the model parameters.
 
Return value unsigned char
   
Description
Looks for a NandFlashModel corresponding to the given ID inside a list of model.
If found, the model variable is filled with the correct values. This function returns 0 if a matching model has been found; otherwise it returns NandCommon_ERROR_UNKNOWNMODEL.

Fetch from the extended ID4 ID4 D5 D4 BlockSize || D1 D0 PageSize 0 0 64K || 0 0 1K 0 1 128K || 0 1 2K 1 0 256K || 1 0 4K 1 1 512K || 1 1 8k
 
Source
The documentation for this Member was generated from the following files:
  • NandFlashModel.c