📄 rmp_cntl.h
字号:
/* =================================================================================
File name: RMP_CNTL.H
Description:
Header file containing constants, data type definitions, and
function prototypes for the RMPCNTL module.
=====================================================================================
History:
-------------------------------------------------------------------------------------
5-15-2007 Release Rev2.00
------------------------------------------------------------------------------*/
typedef struct { int TargetValue; /* Input: Target input (Q15) */
int RampDelayMax; /* Parameter: Maximum delay rate */
int RampLowLimit; /* Parameter: Minimum limit (Q15) */
int RampHighLimit; /* Parameter: Maximum limit (Q15) */
int RampDelayCount; /* Variable: Incremental delay */
int SetpointValue; /* Output: Target output (Q15) */
int EqualFlag; /* Output: Flag output */
int (*calc)(); /* Pointer to calculation function */
} RMPCNTL;
typedef RMPCNTL *RMPCNTL_handle;/*-----------------------------------------------------------------------------
Default initalizer for the RMPCNTL object.
-----------------------------------------------------------------------------*/
#define RMPCNTL_DEFAULTS { 0x0000, \
0x05, \
0x8000, \
0x7FFF, \
0x0000, \
0x0000, \
0x0000, \
(int (*)(int))rmp_cntl_calc }
/*------------------------------------------------------------------------------
Prototypes for the functions in RMP_CNTL.ASM
------------------------------------------------------------------------------*/
void rmp_cntl_calc(RMPCNTL_handle);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -