main.c
Default mainpagebasic-serialflash-projectmain.c
Description Overview
Methods Brief description
 main Initializes the serial flash and performs several tests on it.
Defines  
 MAXPAGESIZE Maximum device page size in bytes.
 SPI_BASE Address of the SPI peripheral connected to the AT26.
 SPI_CS Chip select value used to select the AT26 chip.
 SPI_ID Peripheral identifier of the SPI connected to the AT26.
 SPI_PINS SPI peripheral pins to configure to access the serial flash.