t

Dependencies:   DM_FATFileSystem DM_HttpServer DM_USBHost EthernetInterface USBDevice mbed-rpc mbed-rtos

Fork of DMSupport by Embedded Artists

Revision:
37:07659b5d90ce
Parent:
36:92193dc72995
--- a/DMBoard.h	Fri Mar 20 14:44:06 2015 +0000
+++ b/DMBoard.h	Mon Mar 23 13:45:16 2015 +0000
@@ -148,6 +148,32 @@
      */
     Registry* registry() { return &Registry::instance(); }
 #endif
+    
+#if defined(DM_BOARD_USE_MCI_FS)
+    /** Returns the MCI File System instance.
+     *  
+     *  Can be used to call e.g. cardInserted().
+     *
+     *  @returns
+     *       The file system instance
+     */
+    MCIFileSystem* getMciFS() { return &_mcifs; }
+#else
+    void* getMciFS() { return NULL; }
+#endif
+#if defined(DM_BOARD_USE_QSPI_FS)
+    /** Returns the QSPI File System instance.
+     *  
+     *  Can be used to call e.g. isformatted() and format().
+     *
+     *  @returns
+     *       The file system instance
+     */
+    QSPIFileSystem* getQspiFS() { return &_qspifs; }
+#else
+    void* getQspiFS() { return NULL; }
+#endif
+    
 
 private: