sine.h

来自「基于DSP2000的例程」· C头文件 代码 · 共 30 行

H
30
字号
/*
 *  Copyright (c) 2001-2002, Texas Instruments Incorporated.
 *  All rights reserved. Property of Texas Instruments Incorporated.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
*/

/*
 *  Description: This application uses ProbePoints to obtain input
 *  (a sine wave). It then takes this signal, and applies a gain
 *  factor to it.
*/

// define boolean TRUE
#ifndef TRUE
#define TRUE 1
#endif

// buffer constants 
#define BUFFSIZE 0x64
#define INITIALGAIN 5

// IO buffer structure
typedef struct IOBuffer {				
	int input[BUFFSIZE]; 			
	int output[BUFFSIZE];	
} BufferContents;

                  	

⌨️ 快捷键说明

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