[ FORK ] SPI flash memory control library forked from jyam/W25X40BV

Dependents:   11u35_usbLocalFilesystem

Fork of W25X40BV by Johnny Yam

Revision:
2:2b0daec9f8c0
Parent:
1:cd41b8e3fdad
Child:
3:6e3c0b23dc6e
--- a/W25X40BV.h	Mon Mar 19 14:55:24 2012 +0000
+++ b/W25X40BV.h	Mon Mar 19 15:05:56 2012 +0000
@@ -32,7 +32,7 @@
     
     int readByte(int addr);                             // takes a 24-bit (3 bytes) address and returns the data (1 byte) at that location
     int readByte(int a2, int a1, int a0);               // takes the address in 3 separate bytes A[23,16], A[15,8], A[7,0]
-    void read(int addr, char* buf, int count);          // takes a 24-but address, reads count bytes, and stores results in buf
+    void read(int addr, char* buf, int count);          // takes a 24-bit address, reads count bytes, and stores results in buf
     
     void writeByte(int addr, int data);                 // takes a 24-bit (3 bytes) address and a byte of data to write at that location
     void writeByte(int a2, int a1, int a0, int data);   // takes the address in 3 separate bytes A[23,16], A[15,8], A[7,0]