IAP class library for LPC1768, LPC11U24, LPC1114, LPC1347, LPC1549, LPC812 and LPC824

Fork of IAP by Tedd OKANO

Revision:
1:ff906ad52cf9
Parent:
0:ada7fb504504
Child:
2:17f3464672c1
Child:
5:7484398d50ea
diff -r ada7fb504504 -r ff906ad52cf9 IAP.h
--- a/IAP.h	Mon Nov 26 04:00:38 2012 +0000
+++ b/IAP.h	Mon Nov 26 06:02:24 2012 +0000
@@ -20,6 +20,8 @@
  *        revision 1.1  12-Mar-2010   chaged: to make possible to reserve flash area for user
  *                                            it can be set by USER_FLASH_AREA_START and USER_FLASH_AREA_SIZE in IAP.h
  *        revision 2.0  26-Nov.2012   LPC11U24 code added
+ *        revision 2.1  26-Nov-2012   EEPROM access code imported from Suga koubou san's (http://mbed.org/users/okini3939/) library
+ *                                            http://mbed.org/users/okini3939/code/M0_EEPROM_test/
  */
 
 #ifndef        MBED_IAP
@@ -266,6 +268,11 @@
     char *reserved_flash_area_start( void );
     int   reserved_flash_area_size( void );
 
+#if defined(TARGET_LPC11U24)
+    int write_eeprom( char *source_addr, char *target_addr, int size );
+    int read_eeprom( char *source_addr, char *target_addr, int size );
+#endif
+
 private:
     IAP_call        iap_entry;
     unsigned int    IAP_command[ 5 ];