SPI Flash AT45DBXXXD

Fork of at45db161d by Suga koubou

Files at this revision

API Documentation at this revision

Comitter:
LeoHsueh
Date:
Fri Apr 17 11:49:27 2015 +0000
Parent:
8:1ec3997fe258
Commit message:
Fix inactive.

Changed in this revision

at45db161d.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 1ec3997fe258 -r 8b1cf34d290e at45db161d.cpp
--- a/at45db161d.cpp	Fri Mar 06 19:54:06 2015 +0800
+++ b/at45db161d.cpp	Fri Apr 17 11:49:27 2015 +0000
@@ -42,6 +42,7 @@
     _info.extendedInfoLength = _spi->write(0xff);
     _info.pageSize = 264;
     _info.pageLength = 4095;
+    DF_CS_inactive;
 }
 
 /** 
@@ -139,6 +140,7 @@
         }
         len -= wlen;
     }
+    DF_CS_inactive;
 }
 
 void ATD45DB161D::writeBuffer(uint16_t page, void *ptr, uint16_t len) {
@@ -153,6 +155,7 @@
         BufferToPage(2, page++, 1);
         len -= wlen;
     }
+    DF_CS_inactive;
 }
 
 /**