@class DMA_Interface DMA.hpp touchgfx/hal/DMA.hpp DMA_Interface provides basic functionality and structure for processing "blit" operations using DMA. DMA_Interface provides basic functionality and structure for processing "blit" operations using DMA.
getBlitCaps()
@fn virtual BlitOperations DMA_Interface::getBlitCaps() = 0; Gets the blit capabilities of this DMA. Gets the blit capabilities of this DMA.
Read more...
addToQueue()
@fn virtual void DMA_Interface::addToQueue(const BlitOp& op); Inserts a BlitOp for processing. Inserts a BlitOp for processing. This also potentially starts the DMA controller, if not already running.
Read more...
flush()
@fn virtual void DMA_Interface::flush() This function blocks until all DMA transfers in the queue have been completed. This function blocks until all DMA transfers in the queue have been completed.
Read more...
initialize()
@fn virtual void DMA_Interface::initialize() Perform initialization. Perform initialization. Does nothing in this base class.
Read more...
isDMARunning()
@fn bool DMA_Interface::isDMARunning() Query if the DMA is running. Query if the DMA is running.
Read more...
setAllowed()
@fn void DMA_Interface::setAllowed(bool allowed) Sets whether or not a DMA operation is allowed to begin. Sets whether or not a DMA operation is allowed to begin. Used in single-buffering to avoid changing the frame buffer while display is being updated.
Read more...
getAllowed() const
@fn bool DMA_Interface::getAllowed() const Gets whether a DMA operation is allowed to begin. Gets whether a DMA operation is allowed to begin. Used in single-buffering to avoid changing the frame buffer while display is being updated.
Read more...
start()
@fn virtual void DMA_Interface::start(); Signals that DMA transfers can start. Signals that DMA transfers can start. If any elements are in the queue, start it.
Read more...
signalDMAInterrupt()
@fn virtual void DMA_Interface::signalDMAInterrupt() = 0; This function is called automatically by the framework when a DMA interrupt has been received. This function is called automatically by the framework when a DMA interrupt has been received.
Read more...
waitForFrameBufferSemaphore()
@fn virtual void DMA_Interface::waitForFrameBufferSemaphore(); Waits until frame buffer semaphore is available. Waits until frame buffer semaphore is available (i.e. neither DMA or application is accessing the frame buffer).
Read more...
isDmaQueueEmpty()
@fn uint8_t DMA_Interface::isDmaQueueEmpty(); Query if the DMA queue is empty. Query if the DMA queue is empty.
Read more...
isDmaQueueFull()
@fn uint8_t DMA_Interface::isDmaQueueFull(); Query if the DMA queue is full. Query if the DMA queue is full.
Read more...
execute()
@fn virtual void DMA_Interface::execute(); Performs a queued blit-op. Performs a queued blit-op.
Read more...
executeCompleted()
@fn virtual void DMA_Interface::executeCompleted(); To be called when blit-op has been performed. To be called when blit-op has been performed.
Read more...
seedExecution()
@fn virtual void DMA_Interface::seedExecution(); Called when elements are added to the DMA-queue. Called when elements are added to the DMA-queue.
Read more...
setupDataCopy()
@fn virtual void DMA_Interface::setupDataCopy(const BlitOp& blitOp) = 0; Configures blit-op hardware for a 2D copy as specified by blitOp. Configures blit-op hardware for a 2D copy as specified by blitOp.
Read more...
setupDataFill()
@fn virtual void DMA_Interface::setupDataFill(const BlitOp& blitOp) = 0; Configures blit-op hardware for a 2D fill as specified by blitOp. Configures blit-op hardware for a 2D fill as specified by blitOp.
Read more...
enableAlpha()
@fn virtual void DMA_Interface::enableAlpha(uint8_t alpha); Configures blit-op hardware for alpha-blending. Configures blit-op hardware for alpha-blending.
Read more...
disableAlpha()
@fn virtual void DMA_Interface::disableAlpha(); Configures blit-op hardware for solid operation (no alpha-blending). Configures blit-op hardware for solid operation (no alpha-blending).
Read more...
enableCopyWithTransparentPixels()
@fn virtual void DMA_Interface::enableCopyWithTransparentPixels(uint8_t alpha); Configures blit-op hardware for alpha-blending while simultaneously skipping transparent pixels. Configures blit-op hardware for alpha-blending while simultaneously skipping transparent pixels.
Read more...