csr_types.h

来自「GSM手机设计软件代码」· C头文件 代码 · 共 60 行

H
60
字号
/*=============================================================================
 * File:    csr_types.h
 * Author:  Ian Glover ian.glover@cursor-systems.co.uk
 * Created: Fri Oct  5 2001
 *===========================================================================*/

#ifndef _H_CSR_TYPES
#define _H_CSR_TYPES

#define FALSE 0
#define TRUE  1

typedef unsigned char  UInt8;
typedef signed char    Int8;
typedef unsigned short UInt16;
typedef signed short   Int16;
typedef unsigned long	 UInt32;
typedef signed long	   Int32;
typedef UInt8		       Boolean;

/* Complex numbers */
typedef struct Complex8Tag
{
  Int8 real;
  Int8 imag;
} Complex8;

typedef struct ComplexU8Tag
{
  UInt8 real;
  UInt8 imag;
} ComplexU8;

typedef struct Complex16Tag
{
  Int16 real;
  Int16 imag;
} Complex16;

typedef struct ComplexU16Tag
{
  UInt16 real;
  UInt16 imag;
} ComplexU16;

typedef struct Complex32Tag
{
  Int32 real;
  Int32 imag;
} Complex32;

typedef struct ComplexU32Tag
{
  UInt32 real;
  UInt32 imag;
} ComplexU32;

#endif

⌨️ 快捷键说明

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