summaryrefslogtreecommitdiff
path: root/ipc/ipcc.h
blob: f49d46534b7a5723a82226a4cd34de7c753ea4c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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