📄 _csl_prevgammaen.c
字号:
/** @file _csl_prevGammaEn.c
*
* @brief File for functional layer of CSL API @a CSL_prevGammaEn()
*
* Description
* - The @a CSL_prevGammaEn() function definition & it's associated
* functions
*
* @date 18th October, 2004
* @author Vignesh LA.
*/
#include <csl_prev_aux.h>
#pragma CODE_SECTION (CSL_prevGammaEn, ".text:csl_section:prev");
/** @brief Enables/Disables the gamma correction function
*
*/
CSL_Status CSL_prevGammaEn(
/** Pointer to the object that holds reference to the
* instance of PREV requested after the call
*/
CSL_PrevHandle hPrev,
/** Gamma Correction enable
*/
Uint16 enable
){
CSL_FINSFNR(hPrev->regs->PCR,PREV_PCR_GAMMA_BYPASS,PREV_PCR_DRK_FAIL,enable);
return (CSL_SOK);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -