AT26D_EraseBlock
Default mainpageat91libmemoriesspi-flashAT26D_EraseBlock
Description Source Call Graph
AT26D_EraseBlock
Erases the specified 64KB block of the serial firmware dataflash.
 
Syntax / parameters
unsigned char AT26D_EraseBlock (At26 *pAt26, unsigned int address)

Name Type Default Description
pAt26 At26 *
  Pointer to an AT26 driver instance.
address unsigned int
  Address of the block to erase.
 
Return value unsigned char
   
Description
Erases the specified 64KB block of the serial firmware dataflash.
Returns 0 if successful; otherwise returns AT26_ERROR_PROTECTED if the device is protected or AT26_ERROR_BUSY if it is busy executing a command.
 
Source
The documentation for this Member was generated from the following files:
  • at26d.c