📄 _csl_ccdcsetvp.c
字号:
/** @file _csl_ccdcSetVp.c
*
* @brief File for functional layer of CSL API @a CSL_ccdcSetVp()
*
* Description
* - The @a CSL_ccdcSetVp() function definition & it's associated
* functions
*
* @date 4th May, 2005
* @author Jesse Villarreal.
*/
#include <csl_ccdc_aux.h>
#pragma CODE_SECTION (CSL_ccdcSetVp, ".text:csl_section:ccdc");
/** @brief Sets the formatter/video port input sizes
*
*/
CSL_Status CSL_ccdcSetVp(
/** Pointer to the object that holds reference to the
* instance of CCDC requested after the call
*/
CSL_CcdcHandle hCcdc,
/** Pointer to structure holding the data
*/
CSL_CcdcVpConfig *data
){
CSL_CcdcRegsOvly ccdcRegs = hCcdc->regs;
if(data == NULL) return (CSL_ESYS_INVPARAMS);
CSL_FINS(ccdcRegs->FMTCFG, CCDC_FMTCFG_VPIF_FRQ, data->vpifFreq);
CSL_FINS(ccdcRegs->FMTCFG, CCDC_FMTCFG_VPIN, data->vpin);
return (CSL_SOK);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -