icc_lineardelete.c
来自「使用CCS信息DSP编程,适用于6713B的启动程序。」· C语言 代码 · 共 41 行
C
41 行
/*
* Copyright 2003 by Texas Instruments Incorporated.
* All rights reserved. Property of Texas Instruments Incorporated.
* Restricted rights to use, duplicate or disclose this code are
* granted through contract.
*
*/
/* "@(#) ReferenceFrameworks 2.20.00.08 07-18-03 (swat-f02)" */
/*
* ======== icc_linearDelete.c ========
* Functions for the deletion of the linear ICC object.
*/
#pragma CODE_SECTION(ICC_linearDelete, ".text:ICC_linearDelete")
#include <std.h>
#include <mem.h>
#include <icc_linear.h>
#include <utl.h>
/*
* ======== ICC_linearDelete ========
* Delete the linear ICC object.
* The object is always created from the segment that contains
* DSP/BIOS objects.
*/
Bool ICC_linearDelete(ICC_LinearHandle linearIccHandle)
{
/* Check parameters. Make sure it is a linear ICC. */
UTL_assert(linearIccHandle != NULL);
UTL_assert(linearIccHandle->obj.objType == ICC_LINEAROBJ);
/* Delete the object from the DSP/BIOS segment */
return (MEM_free(0, linearIccHandle, sizeof(ICC_LinearObj)));
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?