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

📄 _csl_vfocwritelut.c

📁 TI的DM6446的硬件平台搭建的相关例子
💻 C
字号:
/** @file _csl_vfocWriteLut.c
 *
 *  @brief    File for functional layer of CSL API @a CSL_vfocWriteLut()
 *
 *  Description
 *    - The @a CSL_vfocWriteLut() function definition & it's associated
 *      functions
 *
 *  @date 31st May, 2005
 *  @author Jesse Villarreal
 */

#include <csl_vfoc_aux.h>

#pragma CODE_SECTION (CSL_vfocWriteLut, ".text:csl_section:vfoc");

/** @brief Populates the lookup table
 * 
 */
CSL_Status  CSL_vfocWriteLut(
    /** Pointer to the object that holds reference to the
     *  instance of VFOC requested after the call 
	 */
    CSL_VfocHandle                         hVfoc,
	/** Populates the lookup table
	 */ 
	Uint32							*data

	){
    
	CSL_VfocRegsOvly vfocRegs =  hVfoc->regs; 
	Uint16 i;

	for( i=0;i<64;i++) {
		vfocRegs->LUT[i] = data[i];
	}

    return (CSL_SOK);
}

⌨️ 快捷键说明

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