📄 rmp_cntl.h
字号:
/*=====================================================================================
File name: RMP_CNTL.H
Originator: Digital Control Systems Group
Texas Instruments
Description: Header file containing constants, data type definitions, and
function prototypes for the RMPCNTL module.
=====================================================================================
History:
-------------------------------------------------------------------------------------
04-15-2005 Version 3.20
-------------------------------------------------------------------------------------*/
typedef struct { float32 TargetValue; // Input: Target input (pu)
float32 RampDelayMax; // Parameter: Maximum delay rate (Q0)
float32 RampLowLimit; // Parameter: Minimum limit (pu)
float32 RampHighLimit; // Parameter: Maximum limit (pu)
float32 RampDelayCount; // Variable: Incremental delay (Q0)
float32 SetpointValue; // Output: Target output (pu)
float32 EqualFlag; // Output: Flag output (Q0)
void (*calc)(); // Pofloater to calculation function
} RMPCNTL;
typedef RMPCNTL *RMPCNTL_handle;
/*-----------------------------------------------------------------------------
Default initalizer for the RMPCNTL object.
-----------------------------------------------------------------------------*/
#define RMPCNTL_DEFAULTS { 0, \
5, \
-1, \
1, \
0, \
0, \
0, \
(void (*)(Uint32))rmp_cntl_calc }
/*------------------------------------------------------------------------------
Prototypes for the functions in RMP_CNTL.C
------------------------------------------------------------------------------*/
void rmp_cntl_calc(RMPCNTL_handle);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -