_csl_histsetsdramaddr.c
来自「ccs下对dm6446的测试程序」· C语言 代码 · 共 38 行
C
38 行
/** @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 + =
减小字号Ctrl + -
显示快捷键?