RawNandFlash_CopyBlock
Default mainpageat91libmemoriesnandflashRawNandFlash_CopyBlock
Description Source Call Graph
RawNandFlash_CopyBlock
Copies the data of one whole block of a NandFlash device to another block.
 
Syntax / parameters
unsigned char RawNandFlash_CopyBlock (const struct RawNandFlash *raw, unsigned short sourceBlock, unsigned short destBlock)

Name Type Default Description
raw const struct RawNandFlash *
  Pointer to a RawNandFlash instance.
sourceBlock unsigned short
  Source block number.
destBlock unsigned short
  Destination block number.
 
Return value unsigned char
   
Description
Copies the data of one whole block of a NandFlash device to another block.
Returns 0 if successful; otherwise returns NandCommon_ERROR_BADBLOCK.
 
Source
The documentation for this Member was generated from the following files:
  • RawNandFlash.c