LDMA_Descriptor_t Union ReferenceEMLIB > LDMA
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.
Definition at line
606
of file
em_ldma.h
.
#include <
em_ldma.h
>
Data Fields |
|
struct { | |
uint32_t blockSize : 4 | |
uint32_t byteSwap : 1 | |
uint32_t decLoopCnt : 1 | |
uint32_t doneIfs : 1 | |
uint32_t dstAddrMode : 1 | |
uint32_t dstInc : 2 | |
uint32_t ignoreSrec : 1 | |
uint32_t link : 1 | |
int32_t linkAddr : 30 | |
uint32_t linkMode : 1 | |
uint32_t matchEn : 8 | |
uint32_t matchVal : 8 | |
uint32_t reqMode : 1 | |
uint32_t reserved0 : 1 | |
uint32_t reserved3 : 16 | |
uint32_t reserved4 : 16 | |
uint32_t size : 2 | |
uint32_t srcAddrMode : 1 | |
uint32_t srcInc : 2 | |
uint32_t structReq : 1 | |
uint32_t structType : 2 | |
uint32_t syncClr : 8 | |
uint32_t syncSet : 8 | |
uint32_t xferCnt : 11 | |
} | sync |
struct { | |
uint32_t blockSize : 4 | |
uint32_t byteSwap : 1 | |
uint32_t decLoopCnt : 1 | |
uint32_t doneIfs : 1 | |
uint32_t dstAddr | |
uint32_t dstAddrMode : 1 | |
uint32_t dstInc : 2 | |
uint32_t ignoreSrec : 1 | |
uint32_t immVal | |
uint32_t link : 1 | |
int32_t linkAddr : 30 | |
uint32_t linkMode : 1 | |
uint32_t reqMode : 1 | |
uint32_t reserved0 : 1 | |
uint32_t size : 2 | |
uint32_t srcAddrMode : 1 | |
uint32_t srcInc : 2 | |
uint32_t structReq : 1 | |
uint32_t structType : 2 | |
uint32_t xferCnt : 11 | |
} | wri |
struct { | |
uint32_t blockSize : 4 | |
uint32_t byteSwap : 1 | |
uint32_t decLoopCnt : 1 | |
uint32_t doneIfs : 1 | |
uint32_t dstAddr | |
uint32_t dstAddrMode : 1 | |
uint32_t dstInc : 2 | |
uint32_t ignoreSrec : 1 | |
uint32_t link : 1 | |
int32_t linkAddr : 30 | |
uint32_t linkMode : 1 | |
uint32_t reqMode : 1 | |
uint32_t reserved0 : 1 | |
uint32_t size : 2 | |
uint32_t srcAddr | |
uint32_t srcAddrMode : 1 | |
uint32_t srcInc : 2 | |
uint32_t structReq : 1 | |
uint32_t structType : 2 | |
uint32_t xferCnt : 11 | |
} | xfer |
Field Documentation
uint32_t LDMA_Descriptor_t::blockSize |
Number of unit transfers per arbitration cycle.
Definition at line
617
of file
em_ldma.h
.
uint32_t LDMA_Descriptor_t::byteSwap |
Enable byte swapping transfers.
Definition at line
616
of file
em_ldma.h
.
uint32_t LDMA_Descriptor_t::decLoopCnt |
Enable looped transfers.
Definition at line
620
of file
em_ldma.h
.
uint32_t LDMA_Descriptor_t::doneIfs |
Generate interrupt when done.
Definition at line
618
of file
em_ldma.h
.
uint32_t LDMA_Descriptor_t::dstAddr |
DMA destination address.
DMA write destination address.
Definition at line
629
of file
em_ldma.h
.
uint32_t LDMA_Descriptor_t::dstAddrMode |
Destination addressing mode.
Definition at line
626
of file
em_ldma.h
.
uint32_t LDMA_Descriptor_t::dstInc |
Destination address increment unit size.
Definition at line
624
of file
em_ldma.h
.
Referenced by MIC_init() .
uint32_t LDMA_Descriptor_t::ignoreSrec |
Ignore single requests.
Definition at line
621
of file
em_ldma.h
.
uint32_t LDMA_Descriptor_t::immVal |
Data to be written at dstAddr.
Definition at line
686
of file
em_ldma.h
.
uint32_t LDMA_Descriptor_t::link |
Enable LINKLOAD when transfer is done.
Definition at line
632
of file
em_ldma.h
.
int32_t LDMA_Descriptor_t::linkAddr |
Address of next (linked) descriptor.
Definition at line
633
of file
em_ldma.h
.
uint32_t LDMA_Descriptor_t::linkMode |
Select absolute or relative link address.
Definition at line
631
of file
em_ldma.h
.
uint32_t LDMA_Descriptor_t::matchEn |
Sync trigger match enable.
Definition at line
660
of file
em_ldma.h
.
uint32_t LDMA_Descriptor_t::matchVal |
Sync trigger match value.
Definition at line
659
of file
em_ldma.h
.
uint32_t LDMA_Descriptor_t::reqMode |
Block or cycle transfer selector.
Definition at line
619
of file
em_ldma.h
.
uint32_t LDMA_Descriptor_t::size |
uint32_t LDMA_Descriptor_t::srcAddr |
DMA source address.
Definition at line
628
of file
em_ldma.h
.
uint32_t LDMA_Descriptor_t::srcAddrMode |
Source addressing mode.
Definition at line
625
of file
em_ldma.h
.
uint32_t LDMA_Descriptor_t::srcInc |
Source address increment unit size.
Definition at line
622
of file
em_ldma.h
.
uint32_t LDMA_Descriptor_t::structReq |
DMA transfer trigger during LINKLOAD.
Definition at line
614
of file
em_ldma.h
.
uint32_t LDMA_Descriptor_t::structType |
Set to 0 to select XFER descriptor type.
Set to 1 to select SYNC descriptor type.
Set to 2 to select WRITE descriptor type.
Definition at line
612
of file
em_ldma.h
.
struct { ... } LDMA_Descriptor_t::sync |
SYNCHRONIZE DMA descriptor, used for intra channel transfer synchronization.
uint32_t LDMA_Descriptor_t::syncClr |
Clear bits in LDMA_CTRL.SYNCTRIG register.
Definition at line
657
of file
em_ldma.h
.
uint32_t LDMA_Descriptor_t::syncSet |
Set bits in LDMA_CTRL.SYNCTRIG register.
Definition at line
656
of file
em_ldma.h
.
struct { ... } LDMA_Descriptor_t::wri |
WRITE DMA descriptor, used for write immediate operations.
struct { ... } LDMA_Descriptor_t::xfer |
TRANSFER DMA descriptor, this is the only descriptor type which can be used to start a DMA transfer.
Referenced by MIC_init() .
uint32_t LDMA_Descriptor_t::xferCnt |
Transfer count minus one.
Definition at line
615
of file
em_ldma.h
.
The documentation for this union was generated from the following file:
-
C:/repos/embsw_super_h1/platform/emlib/inc/
em_ldma.h