📄 rmp_cntl.h
字号:
/* =================================================================================
File name: RMP_CNTL.H (IQ version)
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
------------------------------------------------------------------------------*/
#ifndef __RMP_CNTL_H__
#define __RMP_CNTL_H__
typedef struct { _iq TargetValue; // Input: Target input (pu)
Uint32 RampDelayMax; // Parameter: Maximum delay rate (Q0) - independently with global Q
_iq RampLowLimit; // Parameter: Minimum limit (pu)
_iq RampHighLimit; // Parameter: Maximum limit (pu)
Uint32 RampDelayCount; // Variable: Incremental delay (Q0) - independently with global Q
_iq SetpointValue; // Output: Target output (pu)
Uint32 EqualFlag; // Output: Flag output (Q0) - independently with global Q
void (*calc)(); // Pointer to calculation function
} RMPCNTL;
typedef RMPCNTL *RMPCNTL_handle;
/*-----------------------------------------------------------------------------
Default initalizer for the RMPCNTL object.
-----------------------------------------------------------------------------*/
#define RMPCNTL_DEFAULTS { 0, \
40, \
_IQ(-1), \
_IQ(1), \
0, \
0, \
0, \
(void (*)(Uint32))rmp_cntl_calc }
/*------------------------------------------------------------------------------
Prototypes for the functions in RMP_CNTL.C
------------------------------------------------------------------------------*/
void rmp_cntl_calc(RMPCNTL_handle);
#endif // __RMP_CNTL_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -