summaryrefslogtreecommitdiff
path: root/wpan/stm32_ipcc.h
blob: e264d8b41f4a1a83eafa8619d42c34196093e6b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include <stdint.h>
#include <mmio/mmio.h>


struct STM32_IPCC_reg_v1_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;
};

template <typename T>
class STM32_IPCC_t : public mmio_ptr<T> {
	public:
		using mmio_ptr<T>::ptr;
};