📄 csr_types.h
字号:
/*=============================================================================
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -