Purpose
This file contains all the specific code for the basic-dataflash-project. It tests the dataflash present on the evaluation kit by erasing and writing each one of its pages
Contents
The code can be roughly broken down as follows:
- AT45 Dataflash write data function.
- AT45 Dataflash read data function.
- AT45 Dataflash erase function.
- Other AT45 functions (such as AT45_GetStatus())
- The main() function, which implements the program behavior.
- Initializes an AT45 instance and configures SPI chip select pin.
- Config SPI Interrupt Service Routine.
- Identifier the AT45 device connected to the evaluation kit.
- Test the dataflash by erasing and writing each one of its pages.
See also
- "spi-flash": Dataflash interface driver. Please refer to the list of functions in the Overview tab of this unit for more detailed information.