NoDMA
This is an "empty" DMA subclass that does nothing except assert if accidentally used. An instance of this object can be used if DMA support is not desired.
See: DMA_Interface
Inherits from: DMA_Interface
Public Functions
virtual void | flush() |
Block until all DMA transfers are complete. | |
virtual BlitOperations | getBlitCaps() |
No blit operations supported by this DMA implementation. | |
NoDMA() | |
virtual void | setupDataCopy(const BlitOp & blitOp) |
Asserts if used. | |
virtual void | setupDataFill(const BlitOp & blitOp) |
Asserts if used. | |
virtual void | signalDMAInterrupt() |
Does nothing. | |
Additional inherited members
Public Functions inherited from DMA_Interface
virtual void | addToQueue(const BlitOp & op) |
Inserts a BlitOp for processing. | |
bool | getAllowed() const |
Gets whether a DMA operation is allowed to begin. | |
virtual DMAType | getDMAType(void ) |
Function for obtaining the DMA type of the concrete DMA_Interface implementation. | |
virtual void | initialize() |
Perform initialization. | |
uint8_t | isDmaQueueEmpty() |
Query if the DMA queue is empty. | |
uint8_t | isDmaQueueFull() |
Query if the DMA queue is full. | |
bool | isDMARunning() |
Query if the DMA is running. | |
void | setAllowed(bool allowed) |
Sets whether or not a DMA operation is allowed to begin. | |
virtual void | start() |
Signals that DMA transfers can start. | |
virtual | ~DMA_Interface() |
Finalizes an instance of the DMA_Interface class. | |
Protected Functions inherited from DMA_Interface
virtual void | disableAlpha() |
Configures blit-op hardware for solid operation (no alpha-blending) | |
DMA_Interface(DMA_Queue & dmaQueue) | |
Constructs a DMA Interface object. | |
virtual void | enableAlpha(uint8_t alpha) |
Configures blit-op hardware for alpha-blending. | |
virtual void | enableCopyWithTransparentPixels(uint8_t alpha) |
Configures blit-op hardware for alpha-blending while simultaneously skipping transparent pixels. | |
virtual void | execute() |
Performs a queued blit-op. | |
virtual void | executeCompleted() |
To be called when blit-op has been performed. | |
virtual void | seedExecution() |
Called when elements are added to the DMA-queue. | |
virtual void | waitForFrameBufferSemaphore() |
Waits until framebuffer semaphore is available (i.e. | |
Protected Attributes inherited from DMA_Interface
bool | isAllowed |
true if DMA transfers are currently allowed. | |
bool | isRunning |
true if a DMA transfer is currently ongoing. | |
DMA_Queue & | queue |
Reference to the DMA queue. | |
Public Functions Documentation
flush
virtual void flush | ( | ) |
Block until all DMA transfers are complete.
Since this particular DMA does not do anything, return immediately.
Reimplements: touchgfx::DMA_Interface::flush
getBlitCaps
virtual BlitOperations getBlitCaps | ( | ) |
No blit operations supported by this DMA implementation.
Returns:
Zero (no blit ops supported).
Reimplements: touchgfx::DMA_Interface::getBlitCaps
NoDMA
NoDMA | ( | ) |
setupDataCopy
virtual void setupDataCopy | ( | const BlitOp & | blitOp | ) | |
Asserts if used.
Parameters:
blitOp | The blit operation to be performed by this DMA instance. |
Reimplements: touchgfx::DMA_Interface::setupDataCopy
setupDataFill
virtual void setupDataFill | ( | const BlitOp & | blitOp | ) | |
Asserts if used.
Parameters:
blitOp | The blit operation to be performed by this DMA instance. |
Reimplements: touchgfx::DMA_Interface::setupDataFill
signalDMAInterrupt
virtual void signalDMAInterrupt | ( | ) |
Does nothing.
Reimplements: touchgfx::DMA_Interface::signalDMAInterrupt