RawNandFlash_EraseBlock
Default mainpageat91libmemoriesnandflashRawNandFlash_EraseBlock
Description Source Call Graph
RawNandFlash_EraseBlock
Erases the specified block of the device, retrying several time if it fails.
 
Syntax / parameters
unsigned char RawNandFlash_EraseBlock (const struct RawNandFlash *raw, unsigned short block)

Name Type Default Description
raw const struct RawNandFlash *
  Pointer to a RawNandFlash instance.
block unsigned short
  Number of the physical block to erase.
 
Return value unsigned char
   
Description
Erases the specified block of the device, retrying several time if it fails.
Returns 0 if successful; otherwise returns NandCommon_ERROR_BADBLOCK.
 
Source
The documentation for this Member was generated from the following files:
  • RawNandFlash.c