Winbond W25Q80BV SPI library

Dependents:   data_log

Revision:
2:e8dc659cf54e
Parent:
0:6f374c3ed666
--- a/W25Q80BV.h	Thu Jan 30 00:51:50 2014 +0000
+++ b/W25Q80BV.h	Thu Jan 30 01:29:52 2014 +0000
@@ -9,12 +9,12 @@
 #define SPI_MODE        0
 #define SPI_NBIT        8
 
-#define WE_INST         0x06
-#define WD_INST         0x04
-#define R_INST          0x03
-#define W_INST          0x02
-#define C_ERASE_INST    0x60
-#define D_ID            0x90
+#define WRITE_ENABLE    0x06
+#define WRITE_DISABLE   0x04
+#define READ_DATA       0x03
+#define WRITE_DATA      0x02
+#define CHIP_ERASE      0x60
+#define DEV_ID          0x90
 
 #define DUMMY_ADDR      0x00
 #define WAIT_TIME       1