Imt.Base C++ API V4.1.1.0
Loading...
Searching...
No Matches
STM32F769Mock.h
Go to the documentation of this file.
1// (c) IMT - Information Management Technology AG, CH-9470 Buchs, www.imt.ch.
2
3#ifndef STM32F769MOCK_H
4#define STM32F769MOCK_H
5
7
8#include "MockADC.h"
9#include "MockCAN.h"
10#include "MockDMA.h"
11#include "MockEXTI.h"
12#include "MockFLASH.h"
13#include "MockGPIO.h"
14#include "MockNVIC.h"
15#include "MockPWR.h"
16#include "MockRCC.h"
17#include "MockSPI.h"
18#include "MockSYSCFG.h"
19#include "MockSYSTICK.h"
20#include "MockTIM.h"
21#include "MockUSART.h"
22
23namespace imt {
24namespace base {
25namespace hal {
26namespace stm32f769 {
27namespace mock {
28
33public:
34
39
43 static void clear();
44
49
51
56
61
66
71
76
81
86
91
96
101
106
111
112private:
113
117 virtual ~STM32F769Mock();
118
123
127 STM32F769Mock& operator=(STM32F769Mock const&);
128
129 static STM32F769Mock* s_pSingle;
131
132 MockADC m_mockADC;
133 MockCAN m_mockCAN;
134 MockEXTI m_mockEXTI;
135 MockFLASH m_mockFLASH;
136 MockGPIO m_mockGPIO;
137 MockNVIC m_mockNVIC;
138 MockPWR m_mockPWR;
139 MockRCC m_mockRCC;
140 MockSYSTICK m_mockSYSTICK;
141 MockUSART m_mockUSART;
142 MockSYSCFG m_mockSYSCFG;
143 MockDMA m_mockDMA;
144 MockSPI m_mockSPI;
145 MockTIM m_mockTIM;
146};
147
148} // namespace mock
149} // namespace stm32f769
150} // namespace hal
151} // namespace base
152} // namespace imt
153
154#endif // STM32F769MOCK_H
Mock implementation for the ADC module.
Definition MockADC.h:19
USART mock implementation.
Definition MockCAN.h:19
DMA mock implementation.
Definition MockDMA.h:19
Mock implementation for the EXTI module.
Definition MockEXTI.h:17
Mock implementation for the FLASH module.
Definition MockFLASH.h:20
Mock implementation for a GPIO module.
Definition MockGPIO.h:18
Mock implementation for the NVIC module.
Definition MockNVIC.h:19
Mock implementation for PWR.
Definition MockPWR.h:17
Mock implementation for the RCC module.
Definition MockRCC.h:18
Mock implementation for the SPI module.
Definition MockSPI.h:18
Mock implementation for SYSCFG controller.
Definition MockSYSCFG.h:17
Mock implementation for SYSTICK module.
Definition MockSYSTICK.h:17
Mock implementation for the ADC module.
Definition MockTIM.h:18
Mocking object which stores all relevant information for STM32F769 HAL.
static STM32F769Mock & getSingle()
Returns the one and only instance.
MockRCC & getMockRCC()
Returns the reference to the RCC mock.
static void clear()
Clear the single.
MockDMA & getMockDMA()
Returns the reference to the DMA mock.
MockPWR & getMockPWR()
Returns the reference to the PWR mock.
MockEXTI & getMockEXTI()
Returns the reference to the EXTI mock.
MockFLASH & getMockFLASH()
Returns the reference to the FLASH mock.
MockADC & getMockADC()
Returns the reference to the ADC mock.
MockGPIO & getMockGPIO()
Returns the reference to the GPIO mock for the given module number.
MockSYSTICK & getMockSYSTICK()
Returns the reference to the SYSTICK mock.
MockSPI & getMockSPI()
Returns the reference to the SPI mock.
MockSYSCFG & getMockSYSCFG()
Returns the reference to the SYSCFG mock.
MockUSART & getMockUSART()
Returns the reference to the USART mock.
MockTIM & getMockTIM()
Returns the reference to the SPI mock.
MockNVIC & getMockNVIC()
Returns the reference to the NVIC mock.
This is a application specific file which is used to configure Imt.Base.Core.Math.