DMA descriptor.

The LDMA DMA controller supports three different DMA descriptors. Each consists of four WORDs which map directly onto HW control registers for a given DMA channel. The three descriptor types are XFER, SYNC and WRI. Refer to the reference manual for further information.

Public Attributes#

uint32_t

Set to 0 to select XFER descriptor type.

uint32_t

Reserved.

uint32_t

DMA transfer trigger during LINKLOAD.

uint32_t

Transfer count minus one.

uint32_t

Enable byte swapping transfers.

uint32_t

Number of unit transfers per arbitration cycle.

uint32_t

Generate interrupt when done.

uint32_t

Block or cycle transfer selector.

uint32_t

Enable looped transfers.

uint32_t

Ignore single requests.

uint32_t

Source address increment unit size.

uint32_t

DMA transfer unit size.

uint32_t

Destination address increment unit size.

uint32_t

Source addressing mode.

uint32_t

Destination addressing mode.

uint32_t

DMA source address.

uint32_t

DMA destination address.

uint32_t

Select absolute or relative link address.

uint32_t

Enable LINKLOAD when transfer is done.

int32_t

Address of next (linked) descriptor.

struct LDMA_Descriptor_t::@2

TRANSFER DMA descriptor, this is the only descriptor type which can be used to start a DMA transfer.

uint32_t

Set bits in LDMA_CTRL.SYNCTRIG register.

uint32_t

Clear bits in LDMA_CTRL.SYNCTRIG register.

uint32_t

Reserved.

uint32_t

Sync trigger match enable.

uint32_t

Sync trigger match value.

uint32_t

Reserved.

struct LDMA_Descriptor_t::@3

SYNCHRONIZE DMA descriptor, used for intra channel transfer synchronization.

uint32_t

Data to be written at dstAddr.

struct LDMA_Descriptor_t::@4

WRITE DMA descriptor, used for write immediate operations.

Public Attribute Documentation#

structType#

uint32_t LDMA_Descriptor_t::structType

Set to 0 to select XFER descriptor type.

Set to 2 to select WRITE descriptor type.

Set to 1 to select SYNC descriptor type.



Definition at line 904 of file platform/emlib/inc/em_ldma.h

reserved0#

uint32_t LDMA_Descriptor_t::reserved0

Reserved.



Definition at line 905 of file platform/emlib/inc/em_ldma.h

structReq#

uint32_t LDMA_Descriptor_t::structReq

DMA transfer trigger during LINKLOAD.



Definition at line 906 of file platform/emlib/inc/em_ldma.h

xferCnt#

uint32_t LDMA_Descriptor_t::xferCnt

Transfer count minus one.



Definition at line 907 of file platform/emlib/inc/em_ldma.h

byteSwap#

uint32_t LDMA_Descriptor_t::byteSwap

Enable byte swapping transfers.



Definition at line 908 of file platform/emlib/inc/em_ldma.h

blockSize#

uint32_t LDMA_Descriptor_t::blockSize

Number of unit transfers per arbitration cycle.


Definition at line 909 of file platform/emlib/inc/em_ldma.h

doneIfs#

uint32_t LDMA_Descriptor_t::doneIfs

Generate interrupt when done.



Definition at line 910 of file platform/emlib/inc/em_ldma.h

reqMode#

uint32_t LDMA_Descriptor_t::reqMode

Block or cycle transfer selector.



Definition at line 911 of file platform/emlib/inc/em_ldma.h

decLoopCnt#

uint32_t LDMA_Descriptor_t::decLoopCnt

Enable looped transfers.



Definition at line 912 of file platform/emlib/inc/em_ldma.h

ignoreSrec#

uint32_t LDMA_Descriptor_t::ignoreSrec

Ignore single requests.



Definition at line 913 of file platform/emlib/inc/em_ldma.h

srcInc#

uint32_t LDMA_Descriptor_t::srcInc

Source address increment unit size.



Definition at line 914 of file platform/emlib/inc/em_ldma.h

size#

uint32_t LDMA_Descriptor_t::size

DMA transfer unit size.



Definition at line 915 of file platform/emlib/inc/em_ldma.h

dstInc#

uint32_t LDMA_Descriptor_t::dstInc

Destination address increment unit size.



Definition at line 916 of file platform/emlib/inc/em_ldma.h

srcAddrMode#

uint32_t LDMA_Descriptor_t::srcAddrMode

Source addressing mode.



Definition at line 917 of file platform/emlib/inc/em_ldma.h

dstAddrMode#

uint32_t LDMA_Descriptor_t::dstAddrMode

Destination addressing mode.



Definition at line 918 of file platform/emlib/inc/em_ldma.h

srcAddr#

uint32_t LDMA_Descriptor_t::srcAddr

DMA source address.



Definition at line 920 of file platform/emlib/inc/em_ldma.h

dstAddr#

uint32_t LDMA_Descriptor_t::dstAddr

DMA destination address.

DMA write destination address.



Definition at line 921 of file platform/emlib/inc/em_ldma.h

linkMode#

uint32_t LDMA_Descriptor_t::linkMode

Select absolute or relative link address.



Definition at line 923 of file platform/emlib/inc/em_ldma.h

link#

uint32_t LDMA_Descriptor_t::link

Enable LINKLOAD when transfer is done.



Definition at line 924 of file platform/emlib/inc/em_ldma.h

linkAddr#

int32_t LDMA_Descriptor_t::linkAddr

Address of next (linked) descriptor.



Definition at line 925 of file platform/emlib/inc/em_ldma.h

xfer#

struct LDMA_Descriptor_t::@2 LDMA_Descriptor_t::xfer

TRANSFER DMA descriptor, this is the only descriptor type which can be used to start a DMA transfer.


Definition at line 926 of file platform/emlib/inc/em_ldma.h

syncSet#

uint32_t LDMA_Descriptor_t::syncSet

Set bits in LDMA_CTRL.SYNCTRIG register.



Definition at line 948 of file platform/emlib/inc/em_ldma.h

syncClr#

uint32_t LDMA_Descriptor_t::syncClr

Clear bits in LDMA_CTRL.SYNCTRIG register.



Definition at line 949 of file platform/emlib/inc/em_ldma.h

reserved1#

uint32_t LDMA_Descriptor_t::reserved1

Reserved.



Definition at line 950 of file platform/emlib/inc/em_ldma.h

matchEn#

uint32_t LDMA_Descriptor_t::matchEn

Sync trigger match enable.



Definition at line 952 of file platform/emlib/inc/em_ldma.h

matchVal#

uint32_t LDMA_Descriptor_t::matchVal

Sync trigger match value.



Definition at line 953 of file platform/emlib/inc/em_ldma.h

reserved2#

uint32_t LDMA_Descriptor_t::reserved2

Reserved.



Definition at line 958 of file platform/emlib/inc/em_ldma.h

sync#

struct LDMA_Descriptor_t::@3 LDMA_Descriptor_t::sync

SYNCHRONIZE DMA descriptor, used for intra channel transfer synchronization.


Definition at line 963 of file platform/emlib/inc/em_ldma.h

immVal#

uint32_t LDMA_Descriptor_t::immVal

Data to be written at dstAddr.



Definition at line 983 of file platform/emlib/inc/em_ldma.h

wri#

struct LDMA_Descriptor_t::@4 LDMA_Descriptor_t::wri

WRITE DMA descriptor, used for write immediate operations.



Definition at line 989 of file platform/emlib/inc/em_ldma.h