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.
Diff: TARGET_LPC11U35_401/core_cm0plus.h
- Revision:
- 128:9bcdf88f62b0
- Parent:
- 110:165afa46840b
- Child:
- 131:faff56e089b2
--- a/TARGET_LPC11U35_401/core_cm0plus.h Fri Sep 30 16:49:46 2016 +0100 +++ b/TARGET_LPC11U35_401/core_cm0plus.h Thu Oct 27 16:45:56 2016 +0100 @@ -207,6 +207,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-M0+ */