📄 _csl_vfoccleardata.c
字号:
/** @file _csl_vfocClearData.c
*
* @brief File for functional layer of CSL API @a CSL_vfocClearData()
*
* Description
* - The @a CSL_vfocClearData() function definition & it's associated
* functions
*
* @date 31st May, 2005
* @author Jesse Villarreal
*/
#include <csl_vfoc_aux.h>
#pragma CODE_SECTION (CSL_vfocClearData, ".text:csl_section:vfoc");
/** @brief Clears the VFOC data to 0
*
*/
CSL_Status CSL_vfocClearData(
/** Pointer to the object that holds reference to the
* instance of VFOC requested after the call
*/
CSL_VfocHandle hVfoc
){
CSL_VfocRegsOvly vfocRegs = hVfoc->regs;
Uint16 i;
volatile Uint32 *data = &vfocRegs->WACCUM[0].ACCL_R;
for( i=0;i<36;i++) {
data[i] = 0;
}
return (CSL_SOK);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -