Select one of the symbols to view example projects that use it.
 
Outline
#define STM32F4DMA_HPP
#include <touchgfx/hal/DMA.hpp>
STM32F4DMA
Files
loading...
CodeScopeSTM32 Libraries and SamplesTouchGFXGui/target/STM32F4DMA.hpp
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/** ****************************************************************************** * This file is part of the TouchGFX 4.10.0 distribution. * * @attention * * Copyright (c) 2018 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** *//* ... */ #ifndef STM32F4DMA_HPP #define STM32F4DMA_HPP #include <touchgfx/hal/DMA.hpp> #ifndef NO_USING_NAMESPACE_TOUCHGFX using namespace touchgfx; #endif /** * @class STM32F4DMA STM32F4DMA.hpp * * @brief This class specializes DMA_Interface for the ST F4xx processors. * * @sa touchgfx::DMA_Interface *//* ... */ class STM32F4DMA : public touchgfx::DMA_Interface { /** * @typedef touchgfx::DMA_Interface Base * * @brief Defines an alias representing the base. * Defines an alias representing the base. *//* ... */ typedef touchgfx::DMA_Interface Base; public: /** * @fn STM32F4DMA::STM32F4DMA(); * * @brief Default constructor. * * Default constructor. *//* ... */ STM32F4DMA(); /** * @fn STM32F4DMA::~STM32F4DMA(); * * @brief Destructor. * * Destructor. *//* ... */ virtual ~STM32F4DMA(); /** * @fn touchgfx::BlitOperations STM32F4DMA::getBlitCaps(); * * @brief Gets the blit capabilities. * * Gets the blit capabilities. * * This DMA supports a range of blit caps: BLIT_OP_COPY, BLIT_OP_COPY_ARGB8888, * BLIT_OP_COPY_ARGB8888_WITH_ALPHA, BLIT_OP_COPY_A4, BLIT_OP_COPY_A8. * * @note For demonstration purposes, the blitcaps can be overridden at runtime to return zero * by setting the overrideBlitCaps boolean to true. * * @return Currently supported blitcaps. *//* ... */ virtual touchgfx::BlitOperations getBlitCaps(); /** * @fn void STM32F4DMA::initialize(); * * @brief Perform hardware specific initialization. * * Perform hardware specific initialization. *//* ... */ virtual void initialize(); /** * @fn void STM32F4DMA::signalDMAInterrupt() * * @brief Raises a DMA interrupt signal. * * Raises a DMA interrupt signal. *//* ... */ virtual void signalDMAInterrupt() { executeCompleted(); }{ ... } public:protected: /** * @fn virtual void STM32F4DMA::setupDataCopy(const touchgfx::BlitOp& blitOp); * * @brief Configures the DMA for copying data to the frame buffer. * * Configures the DMA for copying data to the frame buffer. * * @param blitOp Details on the copy to perform. *//* ... */ virtual void setupDataCopy(const touchgfx::BlitOp& blitOp); /** * @fn virtual void STM32F4DMA::setupDataFill(const touchgfx::BlitOp& blitOp); * * @brief Configures the DMA for "filling" the frame-buffer with a single color. * * Configures the DMA for "filling" the frame-buffer with a single color. * * @param blitOp Details on the "fill" to perform. *//* ... */ virtual void setupDataFill(const touchgfx::BlitOp& blitOp); protected: private: touchgfx::LockFreeDMA_Queue dma_queue; touchgfx::BlitOp queue_storage[96];private: ...}; /* ... */ #endif // STM32F4DMA_HPP