Descriptor for a channel granted with a SDMA_IOCREQUESTDMA ioctl(). More...
#include <sdma.h>
Data Fields | |
int | chanNum |
unsigned int * | addr |
struct SDMA_transferState | transferState |
Descriptor for a channel granted with a SDMA_IOCREQUESTDMA ioctl().
SDMA_IOCREQUESTDMA
ioctl(). The SDMAK module maps this address and queries and writes to it during the completion ISR activity. It is therefore vital that the address of the descriptor passed to SDMA_getChannels()
is in persistent memory that is live for the duration of SDMA channel usage.channel number
unsigned int* SDMA_ChannelDescriptor::addr |
user virtual address of granted DMA registers
struct SDMA_transferState SDMA_ChannelDescriptor::transferState [read] |
used for completion checking, whose address is passed down to sdmak kernel driver