📄 _csl_reszsetoutaddr.c
字号:
/** @file _csl_reszSetOutAddr.c
*
* @brief File for functional layer of CSL API @a CSL_reszSetOutAddr()
*
* Description
* - The @a CSL_reszSetOutAddr() function definition & it's associated
* functions
*
* @date 10th May, 2005
* @author Jesse Villarreal.
*/
#include <csl_resz_aux.h>
#pragma CODE_SECTION (CSL_reszSetOutAddr, ".text:csl_section:resz");
/** @brief Sets the output Address
*
*/
CSL_Status CSL_reszSetOutAddr(
/** Pointer to the object that holds reference to the
* instance of RESZ requested after the call
*/
CSL_ReszHandle hResz,
/** Sets the output Address
*/
Uint32 *addr
){
CSL_FINS(hResz->regs->SDR_OUTADD,RESZ_SDR_OUTADD_SDR_OUTADD,(Uint32)addr);
if(((Uint32)addr)%32)
return (CSL_ESYS_INVPARAMS);
else
return (CSL_SOK);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -