tmwtypes.h

来自「matlab连接ccs的例子」· C头文件 代码 · 共 25 行

H
25
字号
/*-------------------------------------------------------------------*
 * Matlab datatype conversion for Texas Instruments(tm) DSP processors
 *-------------------------------------------------------------------*/
/*Copyright 2001-2002 The MathWorks, Inc.
 * $Revision: 1.5 $ $Date: 2002/06/12 15:31:01 $ */
#ifdef _TMS320C6X	
typedef unsigned char  uint8;
typedef unsigned short uint16;
typedef unsigned int   uint32;
typedef char           int8;
typedef short          int16;
typedef int            int32;
typedef float          single;
#elif _TMS320C5XX
typedef unsigned short uint16;
typedef unsigned long  uint32;
typedef short          int16;
typedef long           int32;
typedef float          single;
#endif
 /*-------------------------------------------------------------------*
  * Define a boolean type
  *-------------------------------------------------------------------*/
typedef enum {NO=0,YES} bool;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?