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