The wait in mci_WaitForEvent will delay all card transactions.

Dependencies:   FATFileSystem

Fork of EALib by EmbeddedArtists AB

Revision:
4:b32cf4ef45c5
Parent:
0:0fdadbc3d852
diff -r 9d31a3c5013e -r b32cf4ef45c5 LcdController.cpp
--- a/LcdController.cpp	Wed Oct 09 07:51:52 2013 +0000
+++ b/LcdController.cpp	Fri Oct 18 12:48:58 2013 +0200
@@ -1,7 +1,15 @@
+
+/******************************************************************************
+ * Includes
+ *****************************************************************************/
 
 #include "mbed.h"
 #include "LcdController.h"
 
+/******************************************************************************
+ * Defines and typedefs
+ *****************************************************************************/
+
 #undef _SBF
 #define _SBF(p,v) (((uint32_t)(v)) << (p))
 
@@ -386,7 +394,8 @@
     LPC_IOCON->P1_28 |= 7; /* LCD_VD_22 @ P1.28 */
     LPC_IOCON->P1_29 |= 7; /* LCD_VD_23 @ P1.29 */
 
-    LPC_IOCON->P2_0 |= 7; /* LCD_PWR @ P2.0 */
+    // pwr always controlled by gpio
+//    LPC_IOCON->P2_0 |= 7; /* LCD_PWR @ P2.0 */
     LPC_IOCON->P2_1 |= 7; /* LCD_LE  @ P2.1 */
     LPC_IOCON->P2_2 |= 7; /* LCD_DCLK @ P2.2 */
     LPC_IOCON->P2_3 |= 7; /* LCD_FP @ P2.3 */
@@ -433,5 +442,3 @@
 }
 
 
-
-