SPI_25LC1024_write_array

Description

Write multiple bytes to a 25LC1024 serial EEPROM from an array

Definition

proc ubyte SPI_25LC1024_write_array(ubyte *ptr, uint addr, ubyte cnt)

Library

LIB/spi_25lc1024_lib.bas

Usage

On entry:
ptr is the address of an array to write from (to the EEPROM)

addr is the address into the EEPROM at which wrting is to start

cnt is the number of bytes to be copied from the array into the EEPROM

On exit:
Return 0 if the write failed, return non 0 if the write succeaded There is no return value