_csl_vfocselabs.c

来自「TI达芬奇dm644x各硬件模块测试代码」· C语言 代码 · 共 35 行

C
35
字号
/** @file _csl_vfocSelAbs.c
 *
 *  @brief    File for functional layer of CSL API @a CSL_vfocSelAbs()
 *
 *  Description
 *    - The @a CSL_vfocSelAbs() function definition & it's associated
 *      functions
 *
 *  @date 31st May, 2005
 *  @author Jesse Villarreal
 */

#include <csl_vfoc_aux.h>

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

/** @brief Selects the ABS line difference
 * 
 */
CSL_Status  CSL_vfocSelAbs(
    /** Pointer to the object that holds reference to the
     *  instance of VFOC requested after the call 
	 */
    CSL_VfocHandle                         hVfoc,
	/** Selects the ABS line difference
	 */ 
	Uint16									abs
	){
    
	CSL_FINS(hVfoc->regs->VFOCUS_CNT,VFOC_VFOCUS_CNT_PDIF,abs);
	
    return (CSL_SOK);
}

⌨️ 快捷键说明

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