AT26D_Write
Default mainpageat91libmemoriesspi-flashAT26D_Write
Description Source Call Graph
AT26D_Write
Writes data at the specified address on the serial firmware dataflash.
 
Syntax / parameters
unsigned char AT26D_Write (At26 *pAt26, unsigned char *pData, unsigned int size, unsigned int address)

Name Type Default Description
pAt26 At26 *
  Pointer to an AT26 driver instance.
pData unsigned char *
  Data buffer.
size unsigned int
  Number of bytes in buffer.
address unsigned int
  Write address.
 
Return value unsigned char
   
Description
Writes data at the specified address on the serial firmware dataflash.
The page(s) to program must have been erased prior to writing. This function handles page boundary crossing automatically. Returns 0 if successful; otherwise, returns AT26_ERROR_PROGRAM is there has been an error during the data programming.
 
Source
The documentation for this Member was generated from the following files:
  • at26d.c