t

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

Fork of DMSupport by Embedded Artists

Revision:
20:9df19da50290
Parent:
17:4ea2509445ac
Child:
34:fc366bab393f
diff -r 2efb6f5f69a4 -r 9df19da50290 Memory/InternalEEPROM.h
--- a/Memory/InternalEEPROM.h	Fri Jan 09 11:42:06 2015 +0100
+++ b/Memory/InternalEEPROM.h	Mon Jan 12 10:33:53 2015 +0100
@@ -44,9 +44,8 @@
     
     void powerDown();
     
-    int read(uint32_t pageAddr, uint32_t pageOffset, uint8_t* data, uint32_t size);
-    int write(uint32_t pageAddr, uint32_t pageOffset, const uint8_t* data, uint32_t size);
-    void erasePage(uint32_t pageAddr);
+    int read(uint32_t addr, uint8_t* data, uint32_t size);
+    int write(uint32_t addr, const uint8_t* data, uint32_t size);
   
     /** Returns the size (in bytes) of the internal EEPROM
      *
@@ -60,14 +59,14 @@
      *  @returns
      *       The page size in bytes
      */
-    uint32_t pageSize() { return EEPROM_PAGE_SIZE; }
+    //uint32_t pageSize() { return EEPROM_PAGE_SIZE; }
   
     /** Returns the number of pages in the internal EEPROM
      *
      *  @returns
      *       The number of pages
      */
-    uint32_t numPages() { return EEPROM_NUM_PAGES; }
+    //uint32_t numPages() { return EEPROM_NUM_PAGES; }
   
 private: