aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/cm3
diff options
context:
space:
mode:
authorStephen Caudle2011-10-27 23:34:52 -0400
committerStephen Caudle2011-10-27 23:34:52 -0400
commit36cff03af1b4ad08c72ccc21bbd3903113ef423a (patch)
tree2f414e71873f8de20001b7d78e5aa41fa72026bf /include/libopencm3/cm3
parent8ceeb99902786041184800248eca4d7f3741d9bf (diff)
Add RCC and FLASH support for 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