The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Revision:
44:24d45a770a51
Parent:
40:976df7c37ad5
--- a/LPC2368/core_arm7.h	Fri Oct 26 17:40:46 2012 +0100
+++ b/LPC2368/core_arm7.h	Wed Nov 21 10:49:56 2012 +0000
@@ -178,6 +178,10 @@
 #define __STREXH(value, ptr)              __strex(value, ptr)
 #define __STREXW(value, ptr)              __strex(value, ptr)
 
+#define __disable_irq()         unsigned tmp_IntEnable = LPC_VIC->IntEnable; \
+                                LPC_VIC->IntEnClr = 0xffffffff
+
+#define __enable_irq()          LPC_VIC->IntEnable = tmp_IntEnable
 
 #elif (defined (__ICCARM__)) /*------------------ ICC Compiler -------------------*/