📄 filter.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 + -