Texas-instruments TMS320C64x DSP Manual de usuario Pagina 296

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 306
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 295
Example 2: Noncontinuous Frame Display for 525/60 Format
Video Port Configuration ExamplesA-20 SPRU629
/* Configure EDMA parameters */
EDMA_configArgs(
*edmaHandle,
EDMA_OPT_RMK(
EDMA_OPT_PRI_MEDIUM, /* medium priority */
EDMA_OPT_ESIZE_32BIT, /* Element size 32 bits */
EDMA_OPT_2DS_YES, /* 2dimensional source */
EDMA_OPT_SUM_INC, /* source address auto increment */
EDMA_OPT_2DD_NO, /* 1dimensional destination(FIFO) */
EDMA_OPT_DUM_NONE, /* fixed dest address mode(FIFO) */
EDMA_OPT_TCINT_YES, /* Enable transfer complete */
/* indication */
EDMA_OPT_TCC_OF(tcc & 0xF),
EDMA_OPT_TCCM_OF(((tcc & 0x30) >> 4)),
EDMA_OPT_ATCINT_NO, /* Disable Alternate Transfer */
/* Complete Interrupt */
EDMA_OPT_ATCC_OF(0),
EDMA_OPT_PDTS_DISABLE, /* disable PDT(peripheral device */
/* transfer) mode for source */
EDMA_OPT_PDTD_DISABLE, /* disable PDT mode for dest */
EDMA_OPT_LINK_NO, /* Disable linking */
EDMA_OPT_FS_NO /* Array synchronization */
),
EDMA_SRC_RMK(srcAddr),
EDMA_CNT_RMK(EDMA_CNT_FRMCNT_OF((frameCount 1)),
EDMA_CNT_ELECNT_OF(elementCount)),
EDMA_DST_RMK(dstAddr),
EDMA_IDX_RMK(EDMA_IDX_FRMIDX_OF((elementCount * 4)),
EDMA_IDX_ELEIDX_OF(0)), /* note: 32bit element size */
/* no RLD in 2D and no linking */
EDMA_RLD_RMK(EDMA_RLD_ELERLD_OF(0), EDMA_RLD_LINK_OF(0))
);
*tccNum = tcc;
}
Vista de pagina 295
1 2 ... 291 292 293 294 295 296 297 298 299 300 301 ... 305 306

Comentarios a estos manuales

Sin comentarios