Arnaud VALLEY / Mbed 2 deprecated Pinscape_Controller_V2_arnoz

Dependencies:   mbed FastIO FastPWM USBDevice

Revision:
76:7f5912b6340e
Parent:
2:c174f9ee414a
Child:
79:682ae3171a08
--- a/FreescaleIAP/FreescaleIAP.h	Sun Jan 29 19:04:47 2017 +0000
+++ b/FreescaleIAP/FreescaleIAP.h	Fri Feb 03 20:50:02 2017 +0000
@@ -58,22 +58,10 @@
 class FreescaleIAP
 {
 public:
-    FreescaleIAP();
-    ~FreescaleIAP();
+    FreescaleIAP() { }
+    ~FreescaleIAP() { }
  
-    /** Erase a flash sector
-     *
-     * The size erased depends on the used device
-     *
-     * @param address address in the sector which needs to be erased
-     * @param return Success if no errors were encountered, otherwise one of the error states
-     */
-    IAPCode erase_sector(int address);
-     
-    /** Program flash
-     *
-     * Before programming the used area needs to be erased. The erase state is checked
-     * before programming, and will return an error if not erased.
+    /** Program flash.  This erases the area to be written, then writes the data.
      *
      * @param address starting address where the data needs to be programmed (must be longword alligned: two LSBs must be zero)
      * @param data pointer to array with the data to program