📄 _csl_h3asetafaddr.c
字号:
/** @file _csl_h3aSetAfAddr.c
*
* @brief File for functional layer of CSL API @a CSL_h3aSetAfAddr()
*
* Description
* - The @a CSL_h3aSetAfAddr() function definition & it's associated
* functions
*
* @date 26th May, 2005
* @author Jesse Villarreal
*/
#include <csl_h3a_aux.h>
#pragma CODE_SECTION (CSL_h3aSetAfAddr, ".text:csl_section:h3a");
/** @brief Sets the AF output address
*
*/
CSL_Status CSL_h3aSetAfAddr(
/** Pointer to the object that holds reference to the
* instance of H3A requested after the call
*/
CSL_H3aHandle hH3a,
/** Sets the AF output address
*/
Uint32 *addr
){
hH3a->regs->AFBUFST = CSL_FMK(H3A_AFBUFST_AFBUFST, (Uint32)addr);
if(((Uint32)addr)%64)
return (CSL_ESYS_INVPARAMS);
else
return (CSL_SOK);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -