SkipBlockNandFlash_ReadPage
Default mainpageat91libmemoriesnandflashSkipBlockNandFlash_ReadPage
Description Source Call Graph
SkipBlockNandFlash_ReadPage
Reads the data and/or the spare area of a page on a SkipBlock nandflash.
 
Syntax / parameters
unsigned char SkipBlockNandFlash_ReadPage (const struct SkipBlockNandFlash *skipBlock, unsigned short block, unsigned short page, void *data, void *spare)

Name Type Default Description
skipBlock const struct SkipBlockNandFlash *
  Pointer to a SkipBlockNandFlash instance.
block unsigned short
  Number of block to read page from.
page unsigned short
  Number of page to read inside the given block.
data void *
  Data area buffer, can be 0.
spare void *
  Spare area buffer, can be 0.
 
Return value unsigned char
   
Description
Reads the data and/or the spare area of a page on a SkipBlock nandflash.
If the data pointer is not 0, then the block MUST not be BAD Returns NandCommon_ERROR_BADBLOCK if the block is BAD; Otherwise, returns EccNandFlash_ReadPage().
 
Source
The documentation for this Member was generated from the following files:
  • SkipBlockNandFlash.c