summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2019-04-03 17:14:01 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2019-04-03 17:14:01 +0200
commit3c526f3d0b30e200462290651f7c6a5eb30710a2 (patch)
tree4fe3cb5fc237d5ce7cd761a1c8a5640d88f6d21a /ipc
parentd81982edb1c4abf9a38da742f81bb648ce6882c5 (diff)
Added STM32WB support.stm32wb
Diffstat (limited to 'ipc')
-rw-r--r--ipc/ipcc.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/ipc/ipcc.h b/ipc/ipcc.h
new file mode 100644
index 0000000..f49d465
--- /dev/null
+++ b/ipc/ipcc.h
@@ -0,0 +1,23 @@
+#ifndef IPCC_H
+#define IPCC_H
+
+#include <stdint.h>
+
+#if defined(STM32WB)
+
+struct IPCC_t {
+ volatile uint32_t C1CR;
+ volatile uint32_t C1MR;
+ volatile uint32_t C1SCR;
+ volatile uint32_t C1TOC2SR;
+ volatile uint32_t C2CR;
+ volatile uint32_t C2MR;
+ volatile uint32_t C2SCR;
+ volatile uint32_t C2TOC1SR;
+};
+
+static IPCC_t& IPCC = *(IPCC_t*)0x58000c00;
+
+#endif
+
+#endif