Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: nxp4088_enable_traceout.cpp
- Revision:
- 1:9e084926dbd0
- Parent:
- 0:61b6c86d16e3
- Child:
- 2:d70a1b50eac9
--- a/nxp4088_enable_traceout.cpp Thu Feb 12 04:16:22 2015 +0000
+++ b/nxp4088_enable_traceout.cpp Thu Feb 12 04:28:10 2015 +0000
@@ -1,26 +1,26 @@
-#include "mbed.h"
+#include <stdint.h>
void enable_traceout() {
- __IO uint32_t* PXX_IOCON;
+ volatile uint32_t* PXX_IOCON;
// TRACECLK: IOCON_P2_6
- PXX_IOCON = (__IO uint32_t*) 0x4002C118;
+ PXX_IOCON = (uint32_t*) 0x4002C118;
*PXX_IOCON = 5;
// TRACEDATA[0]: IOCON_P2_5
- PXX_IOCON = (__IO uint32_t*) 0x4002C114;
+ PXX_IOCON = (uint32_t*) 0x4002C114;
*PXX_IOCON = 5;
// TRACEDATA[1]: IOCON_P2_4
- PXX_IOCON = (__IO uint32_t*) 0x4002C110;
+ PXX_IOCON = (uint32_t*) 0x4002C110;
*PXX_IOCON = 5;
// TRACEDATA[2]: IOCON_P2_3
- PXX_IOCON = (__IO uint32_t*) 0x4002C10C;
+ PXX_IOCON = (uint32_t*) 0x4002C10C;
*PXX_IOCON = 5;
// TRACEDATA[3]: IOCON_P2_2
- PXX_IOCON = (__IO uint32_t*) 0x4002C108;
+ PXX_IOCON = (uint32_t*) 0x4002C108;
*PXX_IOCON = 5;
}