📄 _csl_histsetsdramoffset.c
字号:
/** @file _csl_histSetSdramOffset.c
*
* @brief File for functional layer of CSL API @a CSL_histSetSdramOffset()
*
* Description
* - The @a CSL_histSetSdramOffset() function definition & it's associated
* functions
*
* @date 31st May, 2005
* @author Jesse Villarreal
*/
#include <csl_hist_aux.h>
#pragma CODE_SECTION (CSL_histSetSdramOffset, ".text:csl_section:hist");
/** @brief Sets the sdram read line offset
*
*/
CSL_Status CSL_histSetSdramOffset(
/** Pointer to the object that holds reference to the
* instance of HIST requested after the call
*/
CSL_HistHandle hHist,
/** Sets the sdram read line offset
*/
Uint16 offset
){
CSL_FINS(hHist->regs->RADD_OFF,HIST_RADD_OFF_OFFSET,offset);
if(((Uint32)offset)%32)
return (CSL_ESYS_INVPARAMS);
else
return (CSL_SOK);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -