SPI serial EEPROM (25LC1024) functions are provided in the libraries

LIB/spi_25lc1024_lib.bas


 
25LC1024 driver description  
SPI_25LC1024_init Initialises the 25LC1024 drivers and SPI hardware
SPI_25LC1024_read Read a single byte from a 25LC1024 serial EEPROM
SPI_25LC1024_write Write a single byte to a 25LC1024 serial EEPROM
SPI_25LC1024_read_array Read multiple bytes from a 25LC1024 serial EEPROM into an array
SPI_25LC1024_write_array Write multiple bytes to a 25LC1024 serial EEPROM from an array
SPI_25LC1024_disable_data_write  
SPI_25LC1024_enable_data_write  
SPI_25LC1024_enter_power_down_mode  
SPI_25LC1024_erage_page  
SPI_25LC1024_erase_chip  
SPI_25LC1024_erase_sector  
SPI_25LC1024_exit_power_down_mode  
SPI_25LC1024_read_electronic_signature  
SPI_25LC1024_read_status  
SPI_25LC1024_wait_while_busy  
SPI_25LC1024_write_addr  
SPI_25LC1024_write_status