Imt.Base C++ API V4.1.1.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OSPIMRegisters.h
Go to the documentation of this file.
1// (c) IMT - Information Management Technology AG, CH-9470 Buchs, www.imt.ch.
2
3#ifndef STM32H730_OSPIMREGISTERS_H
4#define STM32H730_OSPIMREGISTERS_H
5
8
9namespace imt {
10namespace base {
11namespace hal {
12namespace stm32h730 {
13namespace registers {
14
25 struct OCTOSPIM_CR {
26 uint32_t volatile MUXEN : 1;
28 uint32_t volatile REQ2ACK_TIME : 8;
29 uint32_t volatile : 8;
30 };
31
36 uint32_t volatile CLKEN : 1;
37 uint32_t volatile CLKSRC : 1;
39 uint32_t volatile DQSEN : 1;
40 uint32_t volatile DQSSRC : 1;
41 uint32_t volatile : 2;
42 uint32_t volatile NCSEN : 1;
43 uint32_t volatile NCSSRC : 1;
44 uint32_t volatile : 6;
45 uint32_t volatile IOLEN : 1;
46 uint32_t volatile IOLSRC : 2;
47 uint32_t volatile : 5;
48 uint32_t volatile IOHEN : 1;
49 uint32_t volatile IOHSRC : 2;
50 uint32_t volatile : 5;
51 };
52
57 return *reinterpret_cast<OSPIMRegisters*>(SystemMemoryMap::OCTOSPI_IO_BASE);
58 }
59
60 // Registers
61 volatile OCTOSPIM_CR CR; // Offset 0x00
62 OCTOSPIM_PnCR volatile P1CR; // Offset 0x04
63 OCTOSPIM_PnCR volatile P2CR; // Offset 0x08
64
65private:
66
71
75 OSPIMRegisters(OSPIMRegisters const& other);
76
80 OSPIMRegisters& operator=(OSPIMRegisters const& other);
81};
82
83} // namespace registers
84} // namespace stm32h730
85} // namespace hal
86} // namespace base
87} // namespace imt
88
89#endif // STM32H730_OSPIMREGISTERS_H
This is a application specific file which is used to configure Imt.Base.Core.Math.
unsigned __int32 uint32_t
Definition stdint.h:64
OCTOSPIM control register (OCTOSPIM_CR), chapter 26.4.1.
OCTOSPIM port n configuration register (OCTOSPIM_PnCR) (n=1 to 2), chapter 26.4.2.
(Octo-SPI I/O Manager) module register structure
static OSPIMRegisters & getInstance()
Gets the instance of the registers in memory.