⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 acpy2_setnumframes.c

📁 The DSPLIB is a collection of 39 high-level optimized DSP functions for the TMS320C64x device. This
💻 C
字号:
/*
 *  Copyright 2002 by Texas Instruments Incorporated.
 *  All rights reserved. Property of Texas Instruments Incorporated.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
 *  
 */
/* "@(#) XDAS 2.5.11 10-11-02 (xdas-d15)" */
#pragma CODE_SECTION(ACPY2_setNumFrames, ".text:ACPY2_setNumFrames")

#include <std.h>

#include <csl_edma.h>

#include <idma2_priv.h>

/*
 *  ======== ACPY2_setNumFrames ======== 
 *  Rapidly configure the numFrames parameter of an IDMA2 channel
 */
 
Void ACPY2_setNumFrames(IDMA2_Handle handle, Uns numFrames)
{
    handle->params.numFrames = numFrames;
    handle->config.cnt = EDMA_FMK(CNT,FRMCNT,
        ((handle->params.numFrames) - 1));  
}


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -