n-Blocks-HALL / RM25C512C-L_driver

Files at this revision

API Documentation at this revision

Comitter:
ianaherne
Date:
Tue Sep 25 15:09:52 2018 +0000
Parent:
8:d71c8068ace2
Commit message:
removed blocking delays in library

Changed in this revision

rm25c512cl.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/rm25c512cl.cpp	Tue Sep 18 12:54:50 2018 +0000
+++ b/rm25c512cl.cpp	Tue Sep 25 15:09:52 2018 +0000
@@ -504,8 +504,8 @@
 * @details  Resumes from low power state.
 * @param    NA
 * @return   NA
-* @warning  A delay of 75us is implemented here to allow device to resume properly.
-*           before any reads and writes can be performed.
+* @warning  A delay of 75us is required after calling this function before any 
+*           reads or writes, P21 datasheet.
 * 
 */
 
@@ -525,9 +525,7 @@
     _cs = HIGH;
     
     _spi.unlock();
-    
-    wait_us(75); // required after power down resume before reads or writes P21 datasheet
-    
+       
     
 }