From 3c526f3d0b30e200462290651f7c6a5eb30710a2 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Wed, 3 Apr 2019 17:14:01 +0200 Subject: Added STM32WB support. --- ipc/ipcc.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 ipc/ipcc.h (limited to 'ipc') 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 + +#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 -- cgit v1.2.3