Data Fields

SDMA_ChannelDescriptor Struct Reference
[SDMA Manager]

Descriptor for a channel granted with a SDMA_IOCREQUESTDMA ioctl(). More...

#include <sdma.h>

Collaboration diagram for SDMA_ChannelDescriptor:
Collaboration graph
[legend]

Data Fields

int chanNum
unsigned int * addr
struct SDMA_transferState transferState

Detailed Description

Descriptor for a channel granted with a SDMA_IOCREQUESTDMA ioctl().

Remarks:
The address of the transferState member is passed down to the SDMAK module during the 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.
See also:
SDMA_getChannels()
SDMA_freeChannels()
SDMA_wait()
SDMA_check()

Field Documentation

channel number

user virtual address of granted DMA registers

used for completion checking, whose address is passed down to sdmak kernel driver


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Copyright 2011, Texas Instruments Incorporated