⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 filter.h

📁 在ccs编程环境下
💻 H
字号:


typedef struct {  	_iq	x;				/* Input:Input of the low pass filter (PU) */
					_iq	Tc;				/* Parameter:Sampling period (PU) */
					_iq wc;				/* Parameter:Cut off frequency for low pass filter (PU) */
					_iq	y_old;			/* Variable:Output of the last cycle (PU) */
					_iq	y;				/* Output:Output of the low pass filter (PU) */
					void  (*calc)();	/* Po_iqer to calculation function */ 
				 } LPF;

typedef LPF *LPF_handle;

//-----------------------------------------------------------------------------*/                     
#define LPF_DEFAULTS {0,    /*  x  */  \
	                      0,    /*  Tc  */  \
	                      0,    /*  wc  */  \
	                      0,    /*  y_old */   \
	                      0,    /*  y  */ \
	                      (void (*)(long))lpf_calc }
/*------------------------------------------------------------------------------
Prototypes for the functions in TIME_LPF.C
------------------------------------------------------------------------------*/
void lpf_calc(LPF_handle);
/*******************************************************************************/


⌨️ 快捷键说明

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