aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/cm3
diff options
context:
space:
mode:
authorUwe Hermann2011-10-29 22:19:12 +0200
committerUwe Hermann2011-10-29 22:19:12 +0200
commit788f3870c430b6e4ce7ae55bfa263cd66c1c7b37 (patch)
treeb8d95301a35b074bc78211c3329c47d7ddfb719a /include/libopencm3/cm3
parent17d80aa5a4a3f32d28d94bcaedc45eca45ed5441 (diff)
parentfd2524beb0b0ace785c1aceb05b971d2aa902fde (diff)
Merge remote-tracking branch 'fnoble/stm32f2'
Diffstat (limited to 'include/libopencm3/cm3')
-rw-r--r--include/libopencm3/cm3/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libopencm3/cm3/common.h b/include/libopencm3/cm3/common.h
index bbd04cb..08f553f 100644
--- a/include/libopencm3/cm3/common.h
+++ b/include/libopencm3/cm3/common.h
@@ -30,10 +30,12 @@ typedef int32_t s32;
typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;
+typedef uint64_t u64;
/* Generic memory-mapped I/O accessor functions */
#define MMIO8(addr) (*(volatile u8 *)(addr))
#define MMIO16(addr) (*(volatile u16 *)(addr))
#define MMIO32(addr) (*(volatile u32 *)(addr))
+#define MMIO64(addr) (*(volatile u64 *)(addr))
#endif