_csl_ccdcoptblackclampen.c

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

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

#include <csl_ccdc_aux.h>

#pragma CODE_SECTION (CSL_ccdcOptBlackClampEn, ".text:csl_section:ccdc");

/** @brief Enables/Disables the optical black clamp
 *	
 */
CSL_Status  CSL_ccdcOptBlackClampEn(
    /** Pointer to the object that holds reference to the
     *  instance of CCDC requested after the call 
	 */
    CSL_CcdcHandle                         hCcdc,
    /** Enables the Optical Black clamp
	 */
    Uint16 								   enable
	){

	CSL_FINS(hCcdc->regs->CLAMP, CCDC_CLAMP_CLAMPEN, enable);

    return (CSL_SOK);
}

⌨️ 快捷键说明

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