mbed library sources. Supersedes mbed-src.

Dependents:   BREAK_SENSOR_LED

Fork of mbed-dev by mbed official

Revision:
150:02e0a0aed4ec
Parent:
149:156823d33999
Child:
152:9a67f0b066fc
diff -r 156823d33999 -r 02e0a0aed4ec cmsis/core_cm4.h
--- a/cmsis/core_cm4.h	Fri Oct 28 11:17:30 2016 +0100
+++ b/cmsis/core_cm4.h	Tue Nov 08 17:45:16 2016 +0000
@@ -248,6 +248,14 @@
 #define     __O     volatile             /*!< Defines 'write only' permissions                */
 #define     __IO    volatile             /*!< Defines 'read / write' permissions              */
 
+#ifdef __cplusplus
+  #define   __IM    volatile             /*!< Defines 'read only' permissions                 */
+#else
+  #define   __IM    volatile const       /*!< Defines 'read only' permissions                 */
+#endif
+#define     __OM    volatile             /*!< Defines 'write only' permissions                */
+#define     __IOM   volatile             /*!< Defines 'read / write' permissions              */
+
 /*@} end of group Cortex_M4 */