IAP class library for LPC1768, LPC11U24, LPC1114, LPC812 and LPC824
Dependents: MakerBotServer SystemManagement IAP_testing Arch_Pro_TCPSocket ... more
Diff: IAP.cpp
- Revision:
- 5:7484398d50ea
- Parent:
- 1:ff906ad52cf9
- Child:
- 6:f794a51897b8
diff -r ff906ad52cf9 -r 7484398d50ea IAP.cpp
--- a/IAP.cpp Mon Nov 26 06:02:24 2012 +0000
+++ b/IAP.cpp Tue Oct 22 17:23:53 2013 +0000
@@ -63,6 +63,22 @@
};
+/** Reinvoke ISP
+ *
+ * @return error code
+ */
+
+int IAP::reinvoke_isp( void ) {
+ __disable_irq();
+
+ IAP_command[ 0 ] = IAPCommand_Reinvoke_ISP;
+
+ iap_entry( IAP_command, IAP_result );
+
+ return ( (int)IAP_result[ 0 ] );
+}
+
+
/** Read part identification number
*
* @return device ID
IAP (In-Application Programming)