📄 csl_pscclose.c
字号:
/* ==========================================================================
* Copyright (c) Texas Instruments Inc , 2005
*
* Use of this software is controlled by the terms and conditions found
* in the license agreement under which this software has been supplied
* provided
* ==========================================================================
*/
/** @file csl_pscClose.c
*
* @brief File for functional layer of CSL API @a CSL_pscClose()
*
* Description
* - The @a CSL_pscClose() function definition & it's associated functions
*
* @date 5-June-2005
* @author Lawrence Ronk
*/
#include <csl_psc.h>
#pragma CODE_SECTION (CSL_pscClose, ".text:csl_section:psc");
/**
\brief Close PSC module
\param hPsc Pointer to the object that holds reference to the instance
of PSC requested
\return if success, \c CSL_SOK, else error code
\see
*/
CSL_Status CSL_pscClose ( CSL_PscHandle hPsc ) {
CSL_Status status;
if (hPsc != NULL) {
hPsc->regs = (CSL_PscRegsOvly)NULL;
hPsc->perNum = (CSL_InstNum)-1;
status = CSL_SOK;
}
else {
status = CSL_ESYS_BADHANDLE;
}
return status;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -