ADSP-BF50x Blackfin Processor Hardware Reference
7-97
Direct Memory Access
} dma_desc_arr;
typedef struct {
void
*pNext;
void
*pStart;
short dConfig;
short dXCount;
short dXModify;
short dYCount;
short dYModify;
} dma_desc_list;
#endif // _LANGUAGE_C
#endif // __INCLUDE_DESCRIPTORS__
Note that near pointers are not natively supported by the C language and,
thus, pointers are always 32 bits wide. Therefore, the scheme above cannot
be used directly for small list mode without giving up pointer syntax. The
variable definition file is required to import the C-style header file and can
finally take advantage of the structures. See
Listing 7-6
.
Listing 7-6. Using Descriptor Structures
#include "descriptors.h"
.import "descriptors.h";
.section L1_data_a;
.align 4;
.var arrBlock3[N];
.var arrBlock4[N];
.struct dma_desc_list descBlock3 = {
descBlock4, arrBlock3,
FLOW_LARGE | NDSIZE_7 | WDSIZE_32 | DMAEN,
length(arrBlock3), 4,
Summary of Contents for EZ-KIT Lite ADSP-BF506F
Page 50: ...Contents l ADSP BF50x Blackfin Processor Hardware Reference ...
Page 92: ...Development Tools 1 30 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 110: ...Interface Overview 3 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 236: ...Internal Flash Memory Control Registers 6 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 650: ...Programming Examples 15 56 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 804: ...Programming Examples 17 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1194: ...Programming Examples 24 90 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1256: ...ACM Registers A 50 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1264: ...Boundary Scan Architecture B 8 ADSP BF50x Blackfin Processor Hardware Reference ...