📄 csl_cfgclose.c
字号:
/* ============================================================================
* Copyright (c) Texas Instruments Inc 2002, 2003, 2004, 2005
*
* Use of this software is controlled by the terms and conditions found in the
* license agreement under which this software has been supplied.
* ===========================================================================
*/
/** @file csl_cfgClose.c
*
* @brief File for functional layer of CSL API @a CSL_cfgClose()
*
* Description
* - The @a CSL_cfgClose() function definition & it's associated functions
*
* PATH \\(CSLPATH)\\ipmodules\\cfg\\src
*
* @date 3rd June, 2004
* @author Chad Courtney
*/
/* =============================================================================
* Revision History
* ===============
* 11-Apr-2005 Brn updated the file for doxygen compatibiliy
*
* =============================================================================
*/
#include <csl_cfg.h>
/** ============================================================================
* @n@b CSL_cfgClose
*
* @b Description
* @n This function closes the specified instance of CFG.
*
* <b> Usage Constraints: </b>
* Both @a CSL_cfgInit() and @a CSL_cfgOpen() must be called successfully
* in that order before @a CSL_cfgClose() can be called.
*
* @arg hCfg Handle to the CFG instance
*
* <b> Return Value </b> CSL_Status
* CSL_SOK - Close successful
* CSL_ESYS_BADHANDLE - Invalid handle
* <b> Pre Condition </b>
* @n None
*
* <b> Post Condition </b>
* @n None
*
* @b Modifies
* @n None
* @b Example
* @verbatim
* CSL_cfgClose (hCfg);
*
* @endverbatim
* =============================================================================
*/
#pragma CODE_SECTION (CSL_cfgClose, ".text:csl_section:cfg");
CSL_Status CSL_cfgClose(
/** Pointer to the object that holds reference to the
* instance of cfg requested after the call
*/
CSL_CfgHandle hCfg
)
{
/* indicate in the CSL global data structure that the peripheral
* has been unreserved
*/
return CSL_SOK;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -