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

📄 _csl_prevsetshadingcomp.c

📁 TI达芬奇dm644x各硬件模块测试代码
💻 C
字号:
/** @file _csl_prevSetShadingComp.c
 *
 *  @brief    File for functional layer of CSL API @a CSL_prevSetShadingComp()
 *
 *  Description
 *    - The @a CSL_prevSetShadingComp() function definition & it's associated
 *      functions
 *
 *  @date 18th October, 2004
 *  @author Vignesh LA.
 */

#include <csl_prev_aux.h>

#pragma CODE_SECTION (CSL_prevSetShadingComp, ".text:csl_section:prev");

/** @brief Configures the Shading compensation right shift after multiplication
 *  value 
 */
CSL_Status  CSL_prevSetShadingComp(
    /** Pointer to the object that holds reference to the
     *  instance of PREV requested after the call 
	 */
    CSL_PrevHandle                         hPrev,
    /** Shading compensation right shift after multiplication 
	 *
	 */
    Uint8			                        shadingShift
	){
	
	CSL_FINS(hPrev->regs->PCR, PREV_PCR_SHADE_SFT, shadingShift);

    return (CSL_SOK);
}

⌨️ 快捷键说明

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