rampgen.h
来自「在ccs编程环境下」· C头文件 代码 · 共 25 行
H
25 行
typedef struct { _iq rmp_freq; /* Input: Ramp frequency (pu) */
_iq step_angle_max; /* Parameter: Maximum step angle (pu) */
_iq angle_rg; /* Variable: Step angle (pu) */
_iq rmp_gain; /* Input: Ramp gain (pu) */
_iq rmp_out; /* Output: Ramp signal (pu) */
_iq rmp_offset; /* Input: Ramp offset (pu) */
void (*calc)(); /* Pointer to calculation function */
} RAMPGEN;
typedef RAMPGEN *RAMPGEN_handle;
/*------------------------------------------------------------------------------
Object Initializers
------------------------------------------------------------------------------*/
#define RAMPGEN_DEFAULTS {0,0,0,_IQ(1),0,_IQ(1), \
(void (*)(long))rampgen_calc }
/*------------------------------------------------------------------------------
Funtion prototypes
------------------------------------------------------------------------------*/
void rampgen_calc(RAMPGEN_handle);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?