Microchip SPI 25AA1024 Memory function library written in C