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