at45d.h
Default mainpageat91libmemoriesspi-flashat45d.h
Description Overview  
Description
Purpose
The AT45 Dataflash driver is based on the corresponding AT45 driver. A AT45 instance has to be initialized using the Dataflash levle function AT45_Configure(). AT45 Dataflash can be automatically detected using the AT45_FindDevice() function. Then AT45 dataflash operations such as read, write and erase DF can be launched using AT45_SendCommand function with corresponding AT45 command set.

Usage
  1. Reads data from the At45 at the specified address using AT45D_Read().
  2. Writes data on the At45 at the specified address using AT45D_Write().
  3. Erases a page of data at the given address using AT45D_Erase().
  4. Poll until the At45 has completed of corresponding operations using AT45D_WaitReady().
  5. Retrieves and returns the At45 current using AT45D_GetStatus().