ETB Library
|
DMA status structure. More...
#include <C:/git/ctoolslib/ETBLib/include/ETBInterface.h>
Public Attributes | |
uint32_t | startAddr |
uint32_t | availableWords |
uint32_t | isWrapped |
uint32_t | dbufAddress |
uint32_t | dbufWords |
uint32_t | flushRequired |
This structure is populated in the ETB_flush_dma function to provide the address for the beginning of the circular buffer and the number of words that have been transferred into it. The buffer address and size that are provided in the DMA configuration structure is duplicated here to provide all of the information required to manage reading the circular buffer.
uint32_t _DMAStatus::startAddr |
Current starting lcoation address in DMA drain buffer.
uint32_t _DMAStatus::availableWords |
Total number of 32-bit words that have been written into the DMA drain buffer.
uint32_t _DMAStatus::isWrapped |
DMA Drain buffer is full and has started writing over previously written words.
uint32_t _DMAStatus::dbufAddress |
DMA Drain buffer address
uint32_t _DMAStatus::dbufWords |
DMA Drain buffer size in 32-bit words
uint32_t _DMAStatus::flushRequired |
Only allow flushing ETB once related to DMA