summaryrefslogtreecommitdiff
path: root/ipc/ipcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipcc.h')
-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