Imt.Base C++ API V4.1.1.0
Loading...
Searching...
No Matches
STM32H730Mock.h
Go to the documentation of this file.
1// (c) IMT - Information Management Technology AG, CH-9470 Buchs, www.imt.ch.
2
3#ifndef STM32H730MOCK_H
4#define STM32H730MOCK_H
5
7
8#include "Mock/MockADC.h"
9#include "Mock/MockCRCheck.h"
10#include "Mock/MockDMA.h"
11#include "Mock/MockDMAMUX.h"
12#include "Mock/MockFLASH.h"
13#include "Mock/MockGPIO.h"
14#include "Mock/MockI2C.h"
15#include "Mock/MockMPU.h"
16#include "Mock/MockNVIC.h"
17#include "Mock/MockOSPI.h"
18#include "Mock/MockOSPIM.h"
19#include "Mock/MockPWR.h"
20#include "Mock/MockRCC.h"
21#include "Mock/MockRTC.h"
22#include "Mock/MockSYSCFG.h"
23#include "Mock/MockSYSTICK.h"
24#include "Mock/MockTIM.h"
25#include "Mock/MockUSART.h"
26#include "MockCoreCortexM7.h"
27
28namespace imt {
29namespace base {
30namespace hal {
31namespace stm32h730 {
32namespace mock {
33
38public:
39
44
48 static void clear();
49
54
59
64
69
74
79
84
89
94
99
104
109
114
119
124
129
134
139
144
145private:
146
150 virtual ~STM32H730Mock() {};
151
156
160 STM32H730Mock& operator=(STM32H730Mock const&);
161
162 static STM32H730Mock* s_pSingle;
164
165 MockFLASH m_mockFLASH;
166 MockGPIO m_mockGPIO;
167 MockNVIC m_mockNVIC;
168 MockPWR m_mockPWR;
169 MockRCC m_mockRCC;
170 MockSYSTICK m_mockSYSTICK;
171 MockUSART m_mockUSART;
172 MockSYSCFG m_mockSYSCFG;
173 MockTIM m_mockTIM;
174 MockI2C m_mockI2C;
175 MockMPU m_mockMPU;
176 MockADC m_mockADC;
177 MockDMA m_mockDMA;
178 MockDMAMUX m_mockDMAMUX;
179 MockCRCheck m_mockCRC;
180 MockRTC m_mockRTC;
181 MockOSPIM m_mockOSPIM;
182 MockOSPI m_mockOSPI;
183 MockCoreCortexM7 m_mockCoreCortexM7;
184};
185
186} // namespace mock
187} // namespace stm32h730
188} // namespace hal
189} // namespace base
190} // namespace imt
191
192#endif // #ifndef STM32H730MOCK_H
Mock implementation for the ADC module.
Definition MockADC.h:19
Mock implementation for the CRC module.
Definition MockCRCheck.h:19
Mock implementation for the CoreCortexM7 module.
Mock implementation for the DMA module.
Definition MockDMA.h:19
Mock implementation for the DMAMUX module.
Definition MockDMAMUX.h:19
Mock implementation for the FLASH module.
Definition MockFLASH.h:20
Mock implementation for a GPIO module.
Definition MockGPIO.h:18
Mock implementation for a I2C module.
Definition MockI2C.h:18
Mock implementation for the MPU module.
Definition MockMPU.h:19
Mock implementation for the NVIC module.
Definition MockNVIC.h:19
Mock implementation for the OSPI module.
Definition MockOSPI.h:18
Mock implementation for the OSPIM module.
Definition MockOSPIM.h:18
Mock implementation for PWR.
Definition MockPWR.h:18
Mock implementation for the RCC module.
Definition MockRCC.h:19
Mock implementation for the RTC module.
Definition MockRTC.h:18
Mock implementation for SYSCFG controller.
Definition MockSYSCFG.h:18
Mock implementation for SYSTICK module.
Definition MockSYSTICK.h:18
Mock implementation for the TIM module.
Definition MockTIM.h:19
Mock implementation for the USART module.
Definition MockUSART.h:20
Mocking object which stores all relevant information for STM32H730 HAL.
MockRCC & getMockRCC()
Returns the reference to the RCC mock.
MockCoreCortexM7 & getMockCoreCortexM7()
Returns the reference to the CoreCortexM7 mock.
MockFLASH & getMockFLASH()
Returns the reference to the FLASH mock.
MockSYSCFG & getMockSYSCFG()
Returns the reference to the SYSCFG mock.
MockI2C & getMockI2C()
Returns the reference to the I2C mock.
MockADC & getMockADC()
Returns the reference to the ADC mock.
static STM32H730Mock & getSingle()
Returns the one and only instance.
MockTIM & getMockTIM()
Returns the reference to the TIM mock.
MockUSART & getMockUSART()
Returns the reference to the USART mock.
MockPWR & getMockPWR()
Returns the reference to the PWR mock.
MockGPIO & getMockGPIO()
Returns the reference to the GPIO mock for the given module number.
MockRTC & getMockRTC()
Returns the reference to the RTC mock.
MockCRCheck & getMockCRC()
Returns the reference to the CRC mock.
MockNVIC & getMockNVIC()
Returns the reference to the NVIC mock.
MockMPU & getMockMPU()
Returns the reference to the MPU mock.
MockSYSTICK & getMockSYSTICK()
Returns the reference to the SYSTICK mock.
MockDMAMUX & getMockDMAMUX()
Returns the reference to the DMAMUX mock.
MockOSPIM & getMockOSPIM()
Returns the reference to the OSPIM mock.
MockDMA & getMockDMA()
Returns the reference to the DMA mock.
MockOSPI & getMockOSPI()
Returns the reference to the OSPI mock.
static void clear()
Clear the single.
This is a application specific file which is used to configure Imt.Base.Core.Math.