The wait in mci_WaitForEvent will delay all card transactions.

Dependencies:   FATFileSystem

Fork of EALib by EmbeddedArtists AB

Files at this revision

API Documentation at this revision

Comitter:
embeddedartists
Date:
Fri Oct 18 10:57:50 2013 +0000
Parent:
4:b32cf4ef45c5
Child:
6:405c6e5a4eaf
Commit message:
Corrected compiler warnings

Changed in this revision

AR1021.h Show annotated file Show diff for this revision Revisions of this file
TSC2046.h Show annotated file Show diff for this revision Revisions of this file
--- a/AR1021.h	Fri Oct 18 12:48:58 2013 +0200
+++ b/AR1021.h	Fri Oct 18 10:57:50 2013 +0000
@@ -28,11 +28,11 @@
     AR1021(PinName mosi, PinName miso, PinName sck, PinName cs, PinName siq);
 
 
-    bool init(uint16_t width, uint16_t height);
-    bool read(touchCoordinate_t &coord);
-    bool calibrateStart();
-    bool getNextCalibratePoint(uint16_t* x, uint16_t* y);
-    bool waitForCalibratePoint(bool* morePoints, uint32_t timeout);
+    virtual bool init(uint16_t width, uint16_t height);
+    virtual bool read(touchCoordinate_t &coord);
+    virtual bool calibrateStart();
+    virtual bool getNextCalibratePoint(uint16_t* x, uint16_t* y);
+    virtual bool waitForCalibratePoint(bool* morePoints, uint32_t timeout);
 
 private:
 
--- a/TSC2046.h	Fri Oct 18 12:48:58 2013 +0200
+++ b/TSC2046.h	Fri Oct 18 10:57:50 2013 +0000
@@ -23,12 +23,12 @@
      */
     TSC2046(PinName mosi, PinName miso, PinName sck, PinName cs);
 
-    bool init(uint16_t width, uint16_t height);
+    virtual bool init(uint16_t width, uint16_t height);
 
-    bool read(touchCoordinate_t &coord);
-    bool calibrateStart();
-    bool getNextCalibratePoint(uint16_t* x, uint16_t* y);
-    bool waitForCalibratePoint(bool* morePoints, uint32_t timeout);
+    virtual bool read(touchCoordinate_t &coord);
+    virtual bool calibrateStart();
+    virtual bool getNextCalibratePoint(uint16_t* x, uint16_t* y);
+    virtual bool waitForCalibratePoint(bool* morePoints, uint32_t timeout);
 
     /**
      * Calibrate the touch panel with already gathered calibration values.